001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.imagegallery.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.imagegallery.model.IGImage;
020    
021    /**
022     * The persistence interface for the i g image service.
023     *
024     * <p>
025     * Never modify this interface directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regnerate this interface.
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see IGImagePersistenceImpl
030     * @see IGImageUtil
031     * @generated
032     */
033    public interface IGImagePersistence extends BasePersistence<IGImage> {
034            /**
035            * Caches the i g image in the entity cache if it is enabled.
036            *
037            * @param igImage the i g image to cache
038            */
039            public void cacheResult(
040                    com.liferay.portlet.imagegallery.model.IGImage igImage);
041    
042            /**
043            * Caches the i g images in the entity cache if it is enabled.
044            *
045            * @param igImages the i g images to cache
046            */
047            public void cacheResult(
048                    java.util.List<com.liferay.portlet.imagegallery.model.IGImage> igImages);
049    
050            /**
051            * Creates a new i g image with the primary key.
052            *
053            * @param imageId the primary key for the new i g image
054            * @return the new i g image
055            */
056            public com.liferay.portlet.imagegallery.model.IGImage create(long imageId);
057    
058            /**
059            * Removes the i g image with the primary key from the database. Also notifies the appropriate model listeners.
060            *
061            * @param imageId the primary key of the i g image to remove
062            * @return the i g image that was removed
063            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a i g image with the primary key could not be found
064            * @throws SystemException if a system exception occurred
065            */
066            public com.liferay.portlet.imagegallery.model.IGImage remove(long imageId)
067                    throws com.liferay.portal.kernel.exception.SystemException,
068                            com.liferay.portlet.imagegallery.NoSuchImageException;
069    
070            public com.liferay.portlet.imagegallery.model.IGImage updateImpl(
071                    com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
072                    throws com.liferay.portal.kernel.exception.SystemException;
073    
074            /**
075            * Finds the i g image with the primary key or throws a {@link com.liferay.portlet.imagegallery.NoSuchImageException} if it could not be found.
076            *
077            * @param imageId the primary key of the i g image to find
078            * @return the i g image
079            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a i g image with the primary key could not be found
080            * @throws SystemException if a system exception occurred
081            */
082            public com.liferay.portlet.imagegallery.model.IGImage findByPrimaryKey(
083                    long imageId)
084                    throws com.liferay.portal.kernel.exception.SystemException,
085                            com.liferay.portlet.imagegallery.NoSuchImageException;
086    
087            /**
088            * Finds the i g image with the primary key or returns <code>null</code> if it could not be found.
089            *
090            * @param imageId the primary key of the i g image to find
091            * @return the i g image, or <code>null</code> if a i g image with the primary key could not be found
092            * @throws SystemException if a system exception occurred
093            */
094            public com.liferay.portlet.imagegallery.model.IGImage fetchByPrimaryKey(
095                    long imageId)
096                    throws com.liferay.portal.kernel.exception.SystemException;
097    
098            /**
099            * Finds all the i g images where uuid = &#63;.
100            *
101            * @param uuid the uuid to search with
102            * @return the matching i g images
103            * @throws SystemException if a system exception occurred
104            */
105            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
106                    java.lang.String uuid)
107                    throws com.liferay.portal.kernel.exception.SystemException;
108    
109            /**
110            * Finds a range of all the i g images where uuid = &#63;.
111            *
112            * <p>
113            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
114            * </p>
115            *
116            * @param uuid the uuid to search with
117            * @param start the lower bound of the range of i g images to return
118            * @param end the upper bound of the range of i g images to return (not inclusive)
119            * @return the range of matching i g images
120            * @throws SystemException if a system exception occurred
121            */
122            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
123                    java.lang.String uuid, int start, int end)
124                    throws com.liferay.portal.kernel.exception.SystemException;
125    
126            /**
127            * Finds an ordered range of all the i g images where uuid = &#63;.
128            *
129            * <p>
130            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
131            * </p>
132            *
133            * @param uuid the uuid to search with
134            * @param start the lower bound of the range of i g images to return
135            * @param end the upper bound of the range of i g images to return (not inclusive)
136            * @param orderByComparator the comparator to order the results by
137            * @return the ordered range of matching i g images
138            * @throws SystemException if a system exception occurred
139            */
140            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
141                    java.lang.String uuid, int start, int end,
142                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143                    throws com.liferay.portal.kernel.exception.SystemException;
144    
145            /**
146            * Finds the first i g image in the ordered set where uuid = &#63;.
147            *
148            * <p>
149            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
150            * </p>
151            *
152            * @param uuid the uuid to search with
153            * @param orderByComparator the comparator to order the set by
154            * @return the first matching i g image
155            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
156            * @throws SystemException if a system exception occurred
157            */
158            public com.liferay.portlet.imagegallery.model.IGImage findByUuid_First(
159                    java.lang.String uuid,
160                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
161                    throws com.liferay.portal.kernel.exception.SystemException,
162                            com.liferay.portlet.imagegallery.NoSuchImageException;
163    
164            /**
165            * Finds the last i g image in the ordered set where uuid = &#63;.
166            *
167            * <p>
168            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
169            * </p>
170            *
171            * @param uuid the uuid to search with
172            * @param orderByComparator the comparator to order the set by
173            * @return the last matching i g image
174            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
175            * @throws SystemException if a system exception occurred
176            */
177            public com.liferay.portlet.imagegallery.model.IGImage findByUuid_Last(
178                    java.lang.String uuid,
179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180                    throws com.liferay.portal.kernel.exception.SystemException,
181                            com.liferay.portlet.imagegallery.NoSuchImageException;
182    
183            /**
184            * Finds the i g images before and after the current i g image in the ordered set where uuid = &#63;.
185            *
186            * <p>
187            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
188            * </p>
189            *
190            * @param imageId the primary key of the current i g image
191            * @param uuid the uuid to search with
192            * @param orderByComparator the comparator to order the set by
193            * @return the previous, current, and next i g image
194            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a i g image with the primary key could not be found
195            * @throws SystemException if a system exception occurred
196            */
197            public com.liferay.portlet.imagegallery.model.IGImage[] findByUuid_PrevAndNext(
198                    long imageId, java.lang.String uuid,
199                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
200                    throws com.liferay.portal.kernel.exception.SystemException,
201                            com.liferay.portlet.imagegallery.NoSuchImageException;
202    
203            /**
204            * Finds the i g image where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.imagegallery.NoSuchImageException} if it could not be found.
205            *
206            * @param uuid the uuid to search with
207            * @param groupId the group id to search with
208            * @return the matching i g image
209            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
210            * @throws SystemException if a system exception occurred
211            */
212            public com.liferay.portlet.imagegallery.model.IGImage findByUUID_G(
213                    java.lang.String uuid, long groupId)
214                    throws com.liferay.portal.kernel.exception.SystemException,
215                            com.liferay.portlet.imagegallery.NoSuchImageException;
216    
217            /**
218            * Finds the i g image where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
219            *
220            * @param uuid the uuid to search with
221            * @param groupId the group id to search with
222            * @return the matching i g image, or <code>null</code> if a matching i g image could not be found
223            * @throws SystemException if a system exception occurred
224            */
225            public com.liferay.portlet.imagegallery.model.IGImage fetchByUUID_G(
226                    java.lang.String uuid, long groupId)
227                    throws com.liferay.portal.kernel.exception.SystemException;
228    
229            /**
230            * Finds the i g image where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
231            *
232            * @param uuid the uuid to search with
233            * @param groupId the group id to search with
234            * @return the matching i g image, or <code>null</code> if a matching i g image could not be found
235            * @throws SystemException if a system exception occurred
236            */
237            public com.liferay.portlet.imagegallery.model.IGImage fetchByUUID_G(
238                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
239                    throws com.liferay.portal.kernel.exception.SystemException;
240    
241            /**
242            * Finds all the i g images where groupId = &#63;.
243            *
244            * @param groupId the group id to search with
245            * @return the matching i g images
246            * @throws SystemException if a system exception occurred
247            */
248            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
249                    long groupId)
250                    throws com.liferay.portal.kernel.exception.SystemException;
251    
252            /**
253            * Finds a range of all the i g images where groupId = &#63;.
254            *
255            * <p>
256            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
257            * </p>
258            *
259            * @param groupId the group id to search with
260            * @param start the lower bound of the range of i g images to return
261            * @param end the upper bound of the range of i g images to return (not inclusive)
262            * @return the range of matching i g images
263            * @throws SystemException if a system exception occurred
264            */
265            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
266                    long groupId, int start, int end)
267                    throws com.liferay.portal.kernel.exception.SystemException;
268    
269            /**
270            * Finds an ordered range of all the i g images where groupId = &#63;.
271            *
272            * <p>
273            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
274            * </p>
275            *
276            * @param groupId the group id to search with
277            * @param start the lower bound of the range of i g images to return
278            * @param end the upper bound of the range of i g images to return (not inclusive)
279            * @param orderByComparator the comparator to order the results by
280            * @return the ordered range of matching i g images
281            * @throws SystemException if a system exception occurred
282            */
283            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
284                    long groupId, int start, int end,
285                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
286                    throws com.liferay.portal.kernel.exception.SystemException;
287    
288            /**
289            * Finds the first i g image in the ordered set where groupId = &#63;.
290            *
291            * <p>
292            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
293            * </p>
294            *
295            * @param groupId the group id to search with
296            * @param orderByComparator the comparator to order the set by
297            * @return the first matching i g image
298            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
299            * @throws SystemException if a system exception occurred
300            */
301            public com.liferay.portlet.imagegallery.model.IGImage findByGroupId_First(
302                    long groupId,
303                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
304                    throws com.liferay.portal.kernel.exception.SystemException,
305                            com.liferay.portlet.imagegallery.NoSuchImageException;
306    
307            /**
308            * Finds the last i g image in the ordered set where groupId = &#63;.
309            *
310            * <p>
311            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
312            * </p>
313            *
314            * @param groupId the group id to search with
315            * @param orderByComparator the comparator to order the set by
316            * @return the last matching i g image
317            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
318            * @throws SystemException if a system exception occurred
319            */
320            public com.liferay.portlet.imagegallery.model.IGImage findByGroupId_Last(
321                    long groupId,
322                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
323                    throws com.liferay.portal.kernel.exception.SystemException,
324                            com.liferay.portlet.imagegallery.NoSuchImageException;
325    
326            /**
327            * Finds the i g images before and after the current i g image in the ordered set where groupId = &#63;.
328            *
329            * <p>
330            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
331            * </p>
332            *
333            * @param imageId the primary key of the current i g image
334            * @param groupId the group id to search with
335            * @param orderByComparator the comparator to order the set by
336            * @return the previous, current, and next i g image
337            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a i g image with the primary key could not be found
338            * @throws SystemException if a system exception occurred
339            */
340            public com.liferay.portlet.imagegallery.model.IGImage[] findByGroupId_PrevAndNext(
341                    long imageId, long groupId,
342                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
343                    throws com.liferay.portal.kernel.exception.SystemException,
344                            com.liferay.portlet.imagegallery.NoSuchImageException;
345    
346            /**
347            * Filters by the user's permissions and finds all the i g images where groupId = &#63;.
348            *
349            * @param groupId the group id to search with
350            * @return the matching i g images that the user has permission to view
351            * @throws SystemException if a system exception occurred
352            */
353            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByGroupId(
354                    long groupId)
355                    throws com.liferay.portal.kernel.exception.SystemException;
356    
357            /**
358            * Filters by the user's permissions and finds a range of all the i g images where groupId = &#63;.
359            *
360            * <p>
361            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
362            * </p>
363            *
364            * @param groupId the group id to search with
365            * @param start the lower bound of the range of i g images to return
366            * @param end the upper bound of the range of i g images to return (not inclusive)
367            * @return the range of matching i g images that the user has permission to view
368            * @throws SystemException if a system exception occurred
369            */
370            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByGroupId(
371                    long groupId, int start, int end)
372                    throws com.liferay.portal.kernel.exception.SystemException;
373    
374            /**
375            * Filters by the user's permissions and finds an ordered range of all the i g images where groupId = &#63;.
376            *
377            * <p>
378            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
379            * </p>
380            *
381            * @param groupId the group id to search with
382            * @param start the lower bound of the range of i g images to return
383            * @param end the upper bound of the range of i g images to return (not inclusive)
384            * @param orderByComparator the comparator to order the results by
385            * @return the ordered range of matching i g images that the user has permission to view
386            * @throws SystemException if a system exception occurred
387            */
388            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByGroupId(
389                    long groupId, int start, int end,
390                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
391                    throws com.liferay.portal.kernel.exception.SystemException;
392    
393            /**
394            * Finds the i g image where smallImageId = &#63; or throws a {@link com.liferay.portlet.imagegallery.NoSuchImageException} if it could not be found.
395            *
396            * @param smallImageId the small image id to search with
397            * @return the matching i g image
398            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
399            * @throws SystemException if a system exception occurred
400            */
401            public com.liferay.portlet.imagegallery.model.IGImage findBySmallImageId(
402                    long smallImageId)
403                    throws com.liferay.portal.kernel.exception.SystemException,
404                            com.liferay.portlet.imagegallery.NoSuchImageException;
405    
406            /**
407            * Finds the i g image where smallImageId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
408            *
409            * @param smallImageId the small image id to search with
410            * @return the matching i g image, or <code>null</code> if a matching i g image could not be found
411            * @throws SystemException if a system exception occurred
412            */
413            public com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(
414                    long smallImageId)
415                    throws com.liferay.portal.kernel.exception.SystemException;
416    
417            /**
418            * Finds the i g image where smallImageId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
419            *
420            * @param smallImageId the small image id to search with
421            * @return the matching i g image, or <code>null</code> if a matching i g image could not be found
422            * @throws SystemException if a system exception occurred
423            */
424            public com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(
425                    long smallImageId, boolean retrieveFromCache)
426                    throws com.liferay.portal.kernel.exception.SystemException;
427    
428            /**
429            * Finds the i g image where largeImageId = &#63; or throws a {@link com.liferay.portlet.imagegallery.NoSuchImageException} if it could not be found.
430            *
431            * @param largeImageId the large image id to search with
432            * @return the matching i g image
433            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
434            * @throws SystemException if a system exception occurred
435            */
436            public com.liferay.portlet.imagegallery.model.IGImage findByLargeImageId(
437                    long largeImageId)
438                    throws com.liferay.portal.kernel.exception.SystemException,
439                            com.liferay.portlet.imagegallery.NoSuchImageException;
440    
441            /**
442            * Finds the i g image where largeImageId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
443            *
444            * @param largeImageId the large image id to search with
445            * @return the matching i g image, or <code>null</code> if a matching i g image could not be found
446            * @throws SystemException if a system exception occurred
447            */
448            public com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(
449                    long largeImageId)
450                    throws com.liferay.portal.kernel.exception.SystemException;
451    
452            /**
453            * Finds the i g image where largeImageId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
454            *
455            * @param largeImageId the large image id to search with
456            * @return the matching i g image, or <code>null</code> if a matching i g image could not be found
457            * @throws SystemException if a system exception occurred
458            */
459            public com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(
460                    long largeImageId, boolean retrieveFromCache)
461                    throws com.liferay.portal.kernel.exception.SystemException;
462    
463            /**
464            * Finds the i g image where custom1ImageId = &#63; or throws a {@link com.liferay.portlet.imagegallery.NoSuchImageException} if it could not be found.
465            *
466            * @param custom1ImageId the custom1 image id to search with
467            * @return the matching i g image
468            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
469            * @throws SystemException if a system exception occurred
470            */
471            public com.liferay.portlet.imagegallery.model.IGImage findByCustom1ImageId(
472                    long custom1ImageId)
473                    throws com.liferay.portal.kernel.exception.SystemException,
474                            com.liferay.portlet.imagegallery.NoSuchImageException;
475    
476            /**
477            * Finds the i g image where custom1ImageId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
478            *
479            * @param custom1ImageId the custom1 image id to search with
480            * @return the matching i g image, or <code>null</code> if a matching i g image could not be found
481            * @throws SystemException if a system exception occurred
482            */
483            public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(
484                    long custom1ImageId)
485                    throws com.liferay.portal.kernel.exception.SystemException;
486    
487            /**
488            * Finds the i g image where custom1ImageId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
489            *
490            * @param custom1ImageId the custom1 image id to search with
491            * @return the matching i g image, or <code>null</code> if a matching i g image could not be found
492            * @throws SystemException if a system exception occurred
493            */
494            public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(
495                    long custom1ImageId, boolean retrieveFromCache)
496                    throws com.liferay.portal.kernel.exception.SystemException;
497    
498            /**
499            * Finds the i g image where custom2ImageId = &#63; or throws a {@link com.liferay.portlet.imagegallery.NoSuchImageException} if it could not be found.
500            *
501            * @param custom2ImageId the custom2 image id to search with
502            * @return the matching i g image
503            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
504            * @throws SystemException if a system exception occurred
505            */
506            public com.liferay.portlet.imagegallery.model.IGImage findByCustom2ImageId(
507                    long custom2ImageId)
508                    throws com.liferay.portal.kernel.exception.SystemException,
509                            com.liferay.portlet.imagegallery.NoSuchImageException;
510    
511            /**
512            * Finds the i g image where custom2ImageId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
513            *
514            * @param custom2ImageId the custom2 image id to search with
515            * @return the matching i g image, or <code>null</code> if a matching i g image could not be found
516            * @throws SystemException if a system exception occurred
517            */
518            public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(
519                    long custom2ImageId)
520                    throws com.liferay.portal.kernel.exception.SystemException;
521    
522            /**
523            * Finds the i g image where custom2ImageId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
524            *
525            * @param custom2ImageId the custom2 image id to search with
526            * @return the matching i g image, or <code>null</code> if a matching i g image could not be found
527            * @throws SystemException if a system exception occurred
528            */
529            public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(
530                    long custom2ImageId, boolean retrieveFromCache)
531                    throws com.liferay.portal.kernel.exception.SystemException;
532    
533            /**
534            * Finds all the i g images where groupId = &#63; and userId = &#63;.
535            *
536            * @param groupId the group id to search with
537            * @param userId the user id to search with
538            * @return the matching i g images
539            * @throws SystemException if a system exception occurred
540            */
541            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
542                    long groupId, long userId)
543                    throws com.liferay.portal.kernel.exception.SystemException;
544    
545            /**
546            * Finds a range of all the i g images where groupId = &#63; and userId = &#63;.
547            *
548            * <p>
549            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
550            * </p>
551            *
552            * @param groupId the group id to search with
553            * @param userId the user id to search with
554            * @param start the lower bound of the range of i g images to return
555            * @param end the upper bound of the range of i g images to return (not inclusive)
556            * @return the range of matching i g images
557            * @throws SystemException if a system exception occurred
558            */
559            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
560                    long groupId, long userId, int start, int end)
561                    throws com.liferay.portal.kernel.exception.SystemException;
562    
563            /**
564            * Finds an ordered range of all the i g images where groupId = &#63; and userId = &#63;.
565            *
566            * <p>
567            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
568            * </p>
569            *
570            * @param groupId the group id to search with
571            * @param userId the user id to search with
572            * @param start the lower bound of the range of i g images to return
573            * @param end the upper bound of the range of i g images to return (not inclusive)
574            * @param orderByComparator the comparator to order the results by
575            * @return the ordered range of matching i g images
576            * @throws SystemException if a system exception occurred
577            */
578            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
579                    long groupId, long userId, int start, int end,
580                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
581                    throws com.liferay.portal.kernel.exception.SystemException;
582    
583            /**
584            * Finds the first i g image in the ordered set where groupId = &#63; and userId = &#63;.
585            *
586            * <p>
587            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
588            * </p>
589            *
590            * @param groupId the group id to search with
591            * @param userId the user id to search with
592            * @param orderByComparator the comparator to order the set by
593            * @return the first matching i g image
594            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
595            * @throws SystemException if a system exception occurred
596            */
597            public com.liferay.portlet.imagegallery.model.IGImage findByG_U_First(
598                    long groupId, long userId,
599                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
600                    throws com.liferay.portal.kernel.exception.SystemException,
601                            com.liferay.portlet.imagegallery.NoSuchImageException;
602    
603            /**
604            * Finds the last i g image in the ordered set where groupId = &#63; and userId = &#63;.
605            *
606            * <p>
607            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
608            * </p>
609            *
610            * @param groupId the group id to search with
611            * @param userId the user id to search with
612            * @param orderByComparator the comparator to order the set by
613            * @return the last matching i g image
614            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
615            * @throws SystemException if a system exception occurred
616            */
617            public com.liferay.portlet.imagegallery.model.IGImage findByG_U_Last(
618                    long groupId, long userId,
619                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
620                    throws com.liferay.portal.kernel.exception.SystemException,
621                            com.liferay.portlet.imagegallery.NoSuchImageException;
622    
623            /**
624            * Finds the i g images before and after the current i g image in the ordered set where groupId = &#63; and userId = &#63;.
625            *
626            * <p>
627            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
628            * </p>
629            *
630            * @param imageId the primary key of the current i g image
631            * @param groupId the group id to search with
632            * @param userId the user id to search with
633            * @param orderByComparator the comparator to order the set by
634            * @return the previous, current, and next i g image
635            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a i g image with the primary key could not be found
636            * @throws SystemException if a system exception occurred
637            */
638            public com.liferay.portlet.imagegallery.model.IGImage[] findByG_U_PrevAndNext(
639                    long imageId, long groupId, long userId,
640                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
641                    throws com.liferay.portal.kernel.exception.SystemException,
642                            com.liferay.portlet.imagegallery.NoSuchImageException;
643    
644            /**
645            * Filters by the user's permissions and finds all the i g images where groupId = &#63; and userId = &#63;.
646            *
647            * @param groupId the group id to search with
648            * @param userId the user id to search with
649            * @return the matching i g images that the user has permission to view
650            * @throws SystemException if a system exception occurred
651            */
652            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_U(
653                    long groupId, long userId)
654                    throws com.liferay.portal.kernel.exception.SystemException;
655    
656            /**
657            * Filters by the user's permissions and finds a range of all the i g images where groupId = &#63; and userId = &#63;.
658            *
659            * <p>
660            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
661            * </p>
662            *
663            * @param groupId the group id to search with
664            * @param userId the user id to search with
665            * @param start the lower bound of the range of i g images to return
666            * @param end the upper bound of the range of i g images to return (not inclusive)
667            * @return the range of matching i g images that the user has permission to view
668            * @throws SystemException if a system exception occurred
669            */
670            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_U(
671                    long groupId, long userId, int start, int end)
672                    throws com.liferay.portal.kernel.exception.SystemException;
673    
674            /**
675            * Filters by the user's permissions and finds an ordered range of all the i g images where groupId = &#63; and userId = &#63;.
676            *
677            * <p>
678            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
679            * </p>
680            *
681            * @param groupId the group id to search with
682            * @param userId the user id to search with
683            * @param start the lower bound of the range of i g images to return
684            * @param end the upper bound of the range of i g images to return (not inclusive)
685            * @param orderByComparator the comparator to order the results by
686            * @return the ordered range of matching i g images that the user has permission to view
687            * @throws SystemException if a system exception occurred
688            */
689            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_U(
690                    long groupId, long userId, int start, int end,
691                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
692                    throws com.liferay.portal.kernel.exception.SystemException;
693    
694            /**
695            * Finds all the i g images where groupId = &#63; and folderId = &#63;.
696            *
697            * @param groupId the group id to search with
698            * @param folderId the folder id to search with
699            * @return the matching i g images
700            * @throws SystemException if a system exception occurred
701            */
702            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
703                    long groupId, long folderId)
704                    throws com.liferay.portal.kernel.exception.SystemException;
705    
706            /**
707            * Finds a range of all the i g images where groupId = &#63; and folderId = &#63;.
708            *
709            * <p>
710            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
711            * </p>
712            *
713            * @param groupId the group id to search with
714            * @param folderId the folder id to search with
715            * @param start the lower bound of the range of i g images to return
716            * @param end the upper bound of the range of i g images to return (not inclusive)
717            * @return the range of matching i g images
718            * @throws SystemException if a system exception occurred
719            */
720            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
721                    long groupId, long folderId, int start, int end)
722                    throws com.liferay.portal.kernel.exception.SystemException;
723    
724            /**
725            * Finds an ordered range of all the i g images where groupId = &#63; and folderId = &#63;.
726            *
727            * <p>
728            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
729            * </p>
730            *
731            * @param groupId the group id to search with
732            * @param folderId the folder id to search with
733            * @param start the lower bound of the range of i g images to return
734            * @param end the upper bound of the range of i g images to return (not inclusive)
735            * @param orderByComparator the comparator to order the results by
736            * @return the ordered range of matching i g images
737            * @throws SystemException if a system exception occurred
738            */
739            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
740                    long groupId, long folderId, int start, int end,
741                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
742                    throws com.liferay.portal.kernel.exception.SystemException;
743    
744            /**
745            * Finds the first i g image in the ordered set where groupId = &#63; and folderId = &#63;.
746            *
747            * <p>
748            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
749            * </p>
750            *
751            * @param groupId the group id to search with
752            * @param folderId the folder id to search with
753            * @param orderByComparator the comparator to order the set by
754            * @return the first matching i g image
755            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
756            * @throws SystemException if a system exception occurred
757            */
758            public com.liferay.portlet.imagegallery.model.IGImage findByG_F_First(
759                    long groupId, long folderId,
760                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
761                    throws com.liferay.portal.kernel.exception.SystemException,
762                            com.liferay.portlet.imagegallery.NoSuchImageException;
763    
764            /**
765            * Finds the last i g image in the ordered set where groupId = &#63; and folderId = &#63;.
766            *
767            * <p>
768            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
769            * </p>
770            *
771            * @param groupId the group id to search with
772            * @param folderId the folder id to search with
773            * @param orderByComparator the comparator to order the set by
774            * @return the last matching i g image
775            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
776            * @throws SystemException if a system exception occurred
777            */
778            public com.liferay.portlet.imagegallery.model.IGImage findByG_F_Last(
779                    long groupId, long folderId,
780                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
781                    throws com.liferay.portal.kernel.exception.SystemException,
782                            com.liferay.portlet.imagegallery.NoSuchImageException;
783    
784            /**
785            * Finds the i g images before and after the current i g image in the ordered set where groupId = &#63; and folderId = &#63;.
786            *
787            * <p>
788            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
789            * </p>
790            *
791            * @param imageId the primary key of the current i g image
792            * @param groupId the group id to search with
793            * @param folderId the folder id to search with
794            * @param orderByComparator the comparator to order the set by
795            * @return the previous, current, and next i g image
796            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a i g image with the primary key could not be found
797            * @throws SystemException if a system exception occurred
798            */
799            public com.liferay.portlet.imagegallery.model.IGImage[] findByG_F_PrevAndNext(
800                    long imageId, long groupId, long folderId,
801                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
802                    throws com.liferay.portal.kernel.exception.SystemException,
803                            com.liferay.portlet.imagegallery.NoSuchImageException;
804    
805            /**
806            * Finds all the i g images where groupId = &#63; and folderId = any &#63;.
807            *
808            * <p>
809            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
810            * </p>
811            *
812            * @param groupId the group id to search with
813            * @param folderIds the folder ids to search with
814            * @return the matching i g images
815            * @throws SystemException if a system exception occurred
816            */
817            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
818                    long groupId, long[] folderIds)
819                    throws com.liferay.portal.kernel.exception.SystemException;
820    
821            /**
822            * Finds a range of all the i g images where groupId = &#63; and folderId = any &#63;.
823            *
824            * <p>
825            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
826            * </p>
827            *
828            * @param groupId the group id to search with
829            * @param folderIds the folder ids to search with
830            * @param start the lower bound of the range of i g images to return
831            * @param end the upper bound of the range of i g images to return (not inclusive)
832            * @return the range of matching i g images
833            * @throws SystemException if a system exception occurred
834            */
835            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
836                    long groupId, long[] folderIds, int start, int end)
837                    throws com.liferay.portal.kernel.exception.SystemException;
838    
839            /**
840            * Finds an ordered range of all the i g images where groupId = &#63; and folderId = any &#63;.
841            *
842            * <p>
843            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
844            * </p>
845            *
846            * @param groupId the group id to search with
847            * @param folderIds the folder ids to search with
848            * @param start the lower bound of the range of i g images to return
849            * @param end the upper bound of the range of i g images to return (not inclusive)
850            * @param orderByComparator the comparator to order the results by
851            * @return the ordered range of matching i g images
852            * @throws SystemException if a system exception occurred
853            */
854            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
855                    long groupId, long[] folderIds, int start, int end,
856                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
857                    throws com.liferay.portal.kernel.exception.SystemException;
858    
859            /**
860            * Filters by the user's permissions and finds all the i g images where groupId = &#63; and folderId = &#63;.
861            *
862            * @param groupId the group id to search with
863            * @param folderId the folder id to search with
864            * @return the matching i g images that the user has permission to view
865            * @throws SystemException if a system exception occurred
866            */
867            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
868                    long groupId, long folderId)
869                    throws com.liferay.portal.kernel.exception.SystemException;
870    
871            /**
872            * Filters by the user's permissions and finds a range of all the i g images where groupId = &#63; and folderId = &#63;.
873            *
874            * <p>
875            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
876            * </p>
877            *
878            * @param groupId the group id to search with
879            * @param folderId the folder id to search with
880            * @param start the lower bound of the range of i g images to return
881            * @param end the upper bound of the range of i g images to return (not inclusive)
882            * @return the range of matching i g images that the user has permission to view
883            * @throws SystemException if a system exception occurred
884            */
885            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
886                    long groupId, long folderId, int start, int end)
887                    throws com.liferay.portal.kernel.exception.SystemException;
888    
889            /**
890            * Filters by the user's permissions and finds an ordered range of all the i g images where groupId = &#63; and folderId = &#63;.
891            *
892            * <p>
893            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
894            * </p>
895            *
896            * @param groupId the group id to search with
897            * @param folderId the folder id to search with
898            * @param start the lower bound of the range of i g images to return
899            * @param end the upper bound of the range of i g images to return (not inclusive)
900            * @param orderByComparator the comparator to order the results by
901            * @return the ordered range of matching i g images that the user has permission to view
902            * @throws SystemException if a system exception occurred
903            */
904            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
905                    long groupId, long folderId, int start, int end,
906                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
907                    throws com.liferay.portal.kernel.exception.SystemException;
908    
909            /**
910            * Filters by the user's permissions and finds all the i g images where groupId = &#63; and folderId = any &#63;.
911            *
912            * <p>
913            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
914            * </p>
915            *
916            * @param groupId the group id to search with
917            * @param folderIds the folder ids to search with
918            * @return the matching i g images that the user has permission to view
919            * @throws SystemException if a system exception occurred
920            */
921            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
922                    long groupId, long[] folderIds)
923                    throws com.liferay.portal.kernel.exception.SystemException;
924    
925            /**
926            * Filters by the user's permissions and finds a range of all the i g images where groupId = &#63; and folderId = any &#63;.
927            *
928            * <p>
929            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
930            * </p>
931            *
932            * @param groupId the group id to search with
933            * @param folderIds the folder ids to search with
934            * @param start the lower bound of the range of i g images to return
935            * @param end the upper bound of the range of i g images to return (not inclusive)
936            * @return the range of matching i g images that the user has permission to view
937            * @throws SystemException if a system exception occurred
938            */
939            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
940                    long groupId, long[] folderIds, int start, int end)
941                    throws com.liferay.portal.kernel.exception.SystemException;
942    
943            /**
944            * Filters by the user's permissions and finds an ordered range of all the i g images where groupId = &#63; and folderId = any &#63;.
945            *
946            * <p>
947            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
948            * </p>
949            *
950            * @param groupId the group id to search with
951            * @param folderIds the folder ids to search with
952            * @param start the lower bound of the range of i g images to return
953            * @param end the upper bound of the range of i g images to return (not inclusive)
954            * @param orderByComparator the comparator to order the results by
955            * @return the ordered range of matching i g images that the user has permission to view
956            * @throws SystemException if a system exception occurred
957            */
958            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
959                    long groupId, long[] folderIds, int start, int end,
960                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
961                    throws com.liferay.portal.kernel.exception.SystemException;
962    
963            /**
964            * Finds all the i g images where groupId = &#63; and folderId = &#63; and name = &#63;.
965            *
966            * @param groupId the group id to search with
967            * @param folderId the folder id to search with
968            * @param name the name to search with
969            * @return the matching i g images
970            * @throws SystemException if a system exception occurred
971            */
972            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F_N(
973                    long groupId, long folderId, java.lang.String name)
974                    throws com.liferay.portal.kernel.exception.SystemException;
975    
976            /**
977            * Finds a range of all the i g images where groupId = &#63; and folderId = &#63; and name = &#63;.
978            *
979            * <p>
980            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
981            * </p>
982            *
983            * @param groupId the group id to search with
984            * @param folderId the folder id to search with
985            * @param name the name to search with
986            * @param start the lower bound of the range of i g images to return
987            * @param end the upper bound of the range of i g images to return (not inclusive)
988            * @return the range of matching i g images
989            * @throws SystemException if a system exception occurred
990            */
991            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F_N(
992                    long groupId, long folderId, java.lang.String name, int start, int end)
993                    throws com.liferay.portal.kernel.exception.SystemException;
994    
995            /**
996            * Finds an ordered range of all the i g images where groupId = &#63; and folderId = &#63; and name = &#63;.
997            *
998            * <p>
999            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1000            * </p>
1001            *
1002            * @param groupId the group id to search with
1003            * @param folderId the folder id to search with
1004            * @param name the name to search with
1005            * @param start the lower bound of the range of i g images to return
1006            * @param end the upper bound of the range of i g images to return (not inclusive)
1007            * @param orderByComparator the comparator to order the results by
1008            * @return the ordered range of matching i g images
1009            * @throws SystemException if a system exception occurred
1010            */
1011            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F_N(
1012                    long groupId, long folderId, java.lang.String name, int start, int end,
1013                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1014                    throws com.liferay.portal.kernel.exception.SystemException;
1015    
1016            /**
1017            * Finds the first i g image in the ordered set where groupId = &#63; and folderId = &#63; and name = &#63;.
1018            *
1019            * <p>
1020            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1021            * </p>
1022            *
1023            * @param groupId the group id to search with
1024            * @param folderId the folder id to search with
1025            * @param name the name to search with
1026            * @param orderByComparator the comparator to order the set by
1027            * @return the first matching i g image
1028            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
1029            * @throws SystemException if a system exception occurred
1030            */
1031            public com.liferay.portlet.imagegallery.model.IGImage findByG_F_N_First(
1032                    long groupId, long folderId, java.lang.String name,
1033                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1034                    throws com.liferay.portal.kernel.exception.SystemException,
1035                            com.liferay.portlet.imagegallery.NoSuchImageException;
1036    
1037            /**
1038            * Finds the last i g image in the ordered set where groupId = &#63; and folderId = &#63; and name = &#63;.
1039            *
1040            * <p>
1041            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1042            * </p>
1043            *
1044            * @param groupId the group id to search with
1045            * @param folderId the folder id to search with
1046            * @param name the name to search with
1047            * @param orderByComparator the comparator to order the set by
1048            * @return the last matching i g image
1049            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a matching i g image could not be found
1050            * @throws SystemException if a system exception occurred
1051            */
1052            public com.liferay.portlet.imagegallery.model.IGImage findByG_F_N_Last(
1053                    long groupId, long folderId, java.lang.String name,
1054                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1055                    throws com.liferay.portal.kernel.exception.SystemException,
1056                            com.liferay.portlet.imagegallery.NoSuchImageException;
1057    
1058            /**
1059            * Finds the i g images before and after the current i g image in the ordered set where groupId = &#63; and folderId = &#63; and name = &#63;.
1060            *
1061            * <p>
1062            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1063            * </p>
1064            *
1065            * @param imageId the primary key of the current i g image
1066            * @param groupId the group id to search with
1067            * @param folderId the folder id to search with
1068            * @param name the name to search with
1069            * @param orderByComparator the comparator to order the set by
1070            * @return the previous, current, and next i g image
1071            * @throws com.liferay.portlet.imagegallery.NoSuchImageException if a i g image with the primary key could not be found
1072            * @throws SystemException if a system exception occurred
1073            */
1074            public com.liferay.portlet.imagegallery.model.IGImage[] findByG_F_N_PrevAndNext(
1075                    long imageId, long groupId, long folderId, java.lang.String name,
1076                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1077                    throws com.liferay.portal.kernel.exception.SystemException,
1078                            com.liferay.portlet.imagegallery.NoSuchImageException;
1079    
1080            /**
1081            * Filters by the user's permissions and finds all the i g images where groupId = &#63; and folderId = &#63; and name = &#63;.
1082            *
1083            * @param groupId the group id to search with
1084            * @param folderId the folder id to search with
1085            * @param name the name to search with
1086            * @return the matching i g images that the user has permission to view
1087            * @throws SystemException if a system exception occurred
1088            */
1089            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F_N(
1090                    long groupId, long folderId, java.lang.String name)
1091                    throws com.liferay.portal.kernel.exception.SystemException;
1092    
1093            /**
1094            * Filters by the user's permissions and finds a range of all the i g images where groupId = &#63; and folderId = &#63; and name = &#63;.
1095            *
1096            * <p>
1097            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1098            * </p>
1099            *
1100            * @param groupId the group id to search with
1101            * @param folderId the folder id to search with
1102            * @param name the name to search with
1103            * @param start the lower bound of the range of i g images to return
1104            * @param end the upper bound of the range of i g images to return (not inclusive)
1105            * @return the range of matching i g images that the user has permission to view
1106            * @throws SystemException if a system exception occurred
1107            */
1108            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F_N(
1109                    long groupId, long folderId, java.lang.String name, int start, int end)
1110                    throws com.liferay.portal.kernel.exception.SystemException;
1111    
1112            /**
1113            * Filters by the user's permissions and finds an ordered range of all the i g images where groupId = &#63; and folderId = &#63; and name = &#63;.
1114            *
1115            * <p>
1116            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1117            * </p>
1118            *
1119            * @param groupId the group id to search with
1120            * @param folderId the folder id to search with
1121            * @param name the name to search with
1122            * @param start the lower bound of the range of i g images to return
1123            * @param end the upper bound of the range of i g images to return (not inclusive)
1124            * @param orderByComparator the comparator to order the results by
1125            * @return the ordered range of matching i g images that the user has permission to view
1126            * @throws SystemException if a system exception occurred
1127            */
1128            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F_N(
1129                    long groupId, long folderId, java.lang.String name, int start, int end,
1130                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1131                    throws com.liferay.portal.kernel.exception.SystemException;
1132    
1133            /**
1134            * Finds all the i g images.
1135            *
1136            * @return the i g images
1137            * @throws SystemException if a system exception occurred
1138            */
1139            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll()
1140                    throws com.liferay.portal.kernel.exception.SystemException;
1141    
1142            /**
1143            * Finds a range of all the i g images.
1144            *
1145            * <p>
1146            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1147            * </p>
1148            *
1149            * @param start the lower bound of the range of i g images to return
1150            * @param end the upper bound of the range of i g images to return (not inclusive)
1151            * @return the range of i g images
1152            * @throws SystemException if a system exception occurred
1153            */
1154            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(
1155                    int start, int end)
1156                    throws com.liferay.portal.kernel.exception.SystemException;
1157    
1158            /**
1159            * Finds an ordered range of all the i g images.
1160            *
1161            * <p>
1162            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1163            * </p>
1164            *
1165            * @param start the lower bound of the range of i g images to return
1166            * @param end the upper bound of the range of i g images to return (not inclusive)
1167            * @param orderByComparator the comparator to order the results by
1168            * @return the ordered range of i g images
1169            * @throws SystemException if a system exception occurred
1170            */
1171            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(
1172                    int start, int end,
1173                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1174                    throws com.liferay.portal.kernel.exception.SystemException;
1175    
1176            /**
1177            * Removes all the i g images where uuid = &#63; from the database.
1178            *
1179            * @param uuid the uuid to search with
1180            * @throws SystemException if a system exception occurred
1181            */
1182            public void removeByUuid(java.lang.String uuid)
1183                    throws com.liferay.portal.kernel.exception.SystemException;
1184    
1185            /**
1186            * Removes the i g image where uuid = &#63; and groupId = &#63; from the database.
1187            *
1188            * @param uuid the uuid to search with
1189            * @param groupId the group id to search with
1190            * @throws SystemException if a system exception occurred
1191            */
1192            public void removeByUUID_G(java.lang.String uuid, long groupId)
1193                    throws com.liferay.portal.kernel.exception.SystemException,
1194                            com.liferay.portlet.imagegallery.NoSuchImageException;
1195    
1196            /**
1197            * Removes all the i g images where groupId = &#63; from the database.
1198            *
1199            * @param groupId the group id to search with
1200            * @throws SystemException if a system exception occurred
1201            */
1202            public void removeByGroupId(long groupId)
1203                    throws com.liferay.portal.kernel.exception.SystemException;
1204    
1205            /**
1206            * Removes the i g image where smallImageId = &#63; from the database.
1207            *
1208            * @param smallImageId the small image id to search with
1209            * @throws SystemException if a system exception occurred
1210            */
1211            public void removeBySmallImageId(long smallImageId)
1212                    throws com.liferay.portal.kernel.exception.SystemException,
1213                            com.liferay.portlet.imagegallery.NoSuchImageException;
1214    
1215            /**
1216            * Removes the i g image where largeImageId = &#63; from the database.
1217            *
1218            * @param largeImageId the large image id to search with
1219            * @throws SystemException if a system exception occurred
1220            */
1221            public void removeByLargeImageId(long largeImageId)
1222                    throws com.liferay.portal.kernel.exception.SystemException,
1223                            com.liferay.portlet.imagegallery.NoSuchImageException;
1224    
1225            /**
1226            * Removes the i g image where custom1ImageId = &#63; from the database.
1227            *
1228            * @param custom1ImageId the custom1 image id to search with
1229            * @throws SystemException if a system exception occurred
1230            */
1231            public void removeByCustom1ImageId(long custom1ImageId)
1232                    throws com.liferay.portal.kernel.exception.SystemException,
1233                            com.liferay.portlet.imagegallery.NoSuchImageException;
1234    
1235            /**
1236            * Removes the i g image where custom2ImageId = &#63; from the database.
1237            *
1238            * @param custom2ImageId the custom2 image id to search with
1239            * @throws SystemException if a system exception occurred
1240            */
1241            public void removeByCustom2ImageId(long custom2ImageId)
1242                    throws com.liferay.portal.kernel.exception.SystemException,
1243                            com.liferay.portlet.imagegallery.NoSuchImageException;
1244    
1245            /**
1246            * Removes all the i g images where groupId = &#63; and userId = &#63; from the database.
1247            *
1248            * @param groupId the group id to search with
1249            * @param userId the user id to search with
1250            * @throws SystemException if a system exception occurred
1251            */
1252            public void removeByG_U(long groupId, long userId)
1253                    throws com.liferay.portal.kernel.exception.SystemException;
1254    
1255            /**
1256            * Removes all the i g images where groupId = &#63; and folderId = &#63; from the database.
1257            *
1258            * @param groupId the group id to search with
1259            * @param folderId the folder id to search with
1260            * @throws SystemException if a system exception occurred
1261            */
1262            public void removeByG_F(long groupId, long folderId)
1263                    throws com.liferay.portal.kernel.exception.SystemException;
1264    
1265            /**
1266            * Removes all the i g images where groupId = &#63; and folderId = &#63; and name = &#63; from the database.
1267            *
1268            * @param groupId the group id to search with
1269            * @param folderId the folder id to search with
1270            * @param name the name to search with
1271            * @throws SystemException if a system exception occurred
1272            */
1273            public void removeByG_F_N(long groupId, long folderId, java.lang.String name)
1274                    throws com.liferay.portal.kernel.exception.SystemException;
1275    
1276            /**
1277            * Removes all the i g images from the database.
1278            *
1279            * @throws SystemException if a system exception occurred
1280            */
1281            public void removeAll()
1282                    throws com.liferay.portal.kernel.exception.SystemException;
1283    
1284            /**
1285            * Counts all the i g images where uuid = &#63;.
1286            *
1287            * @param uuid the uuid to search with
1288            * @return the number of matching i g images
1289            * @throws SystemException if a system exception occurred
1290            */
1291            public int countByUuid(java.lang.String uuid)
1292                    throws com.liferay.portal.kernel.exception.SystemException;
1293    
1294            /**
1295            * Counts all the i g images where uuid = &#63; and groupId = &#63;.
1296            *
1297            * @param uuid the uuid to search with
1298            * @param groupId the group id to search with
1299            * @return the number of matching i g images
1300            * @throws SystemException if a system exception occurred
1301            */
1302            public int countByUUID_G(java.lang.String uuid, long groupId)
1303                    throws com.liferay.portal.kernel.exception.SystemException;
1304    
1305            /**
1306            * Counts all the i g images where groupId = &#63;.
1307            *
1308            * @param groupId the group id to search with
1309            * @return the number of matching i g images
1310            * @throws SystemException if a system exception occurred
1311            */
1312            public int countByGroupId(long groupId)
1313                    throws com.liferay.portal.kernel.exception.SystemException;
1314    
1315            /**
1316            * Filters by the user's permissions and counts all the i g images where groupId = &#63;.
1317            *
1318            * @param groupId the group id to search with
1319            * @return the number of matching i g images that the user has permission to view
1320            * @throws SystemException if a system exception occurred
1321            */
1322            public int filterCountByGroupId(long groupId)
1323                    throws com.liferay.portal.kernel.exception.SystemException;
1324    
1325            /**
1326            * Counts all the i g images where smallImageId = &#63;.
1327            *
1328            * @param smallImageId the small image id to search with
1329            * @return the number of matching i g images
1330            * @throws SystemException if a system exception occurred
1331            */
1332            public int countBySmallImageId(long smallImageId)
1333                    throws com.liferay.portal.kernel.exception.SystemException;
1334    
1335            /**
1336            * Counts all the i g images where largeImageId = &#63;.
1337            *
1338            * @param largeImageId the large image id to search with
1339            * @return the number of matching i g images
1340            * @throws SystemException if a system exception occurred
1341            */
1342            public int countByLargeImageId(long largeImageId)
1343                    throws com.liferay.portal.kernel.exception.SystemException;
1344    
1345            /**
1346            * Counts all the i g images where custom1ImageId = &#63;.
1347            *
1348            * @param custom1ImageId the custom1 image id to search with
1349            * @return the number of matching i g images
1350            * @throws SystemException if a system exception occurred
1351            */
1352            public int countByCustom1ImageId(long custom1ImageId)
1353                    throws com.liferay.portal.kernel.exception.SystemException;
1354    
1355            /**
1356            * Counts all the i g images where custom2ImageId = &#63;.
1357            *
1358            * @param custom2ImageId the custom2 image id to search with
1359            * @return the number of matching i g images
1360            * @throws SystemException if a system exception occurred
1361            */
1362            public int countByCustom2ImageId(long custom2ImageId)
1363                    throws com.liferay.portal.kernel.exception.SystemException;
1364    
1365            /**
1366            * Counts all the i g images where groupId = &#63; and userId = &#63;.
1367            *
1368            * @param groupId the group id to search with
1369            * @param userId the user id to search with
1370            * @return the number of matching i g images
1371            * @throws SystemException if a system exception occurred
1372            */
1373            public int countByG_U(long groupId, long userId)
1374                    throws com.liferay.portal.kernel.exception.SystemException;
1375    
1376            /**
1377            * Filters by the user's permissions and counts all the i g images where groupId = &#63; and userId = &#63;.
1378            *
1379            * @param groupId the group id to search with
1380            * @param userId the user id to search with
1381            * @return the number of matching i g images that the user has permission to view
1382            * @throws SystemException if a system exception occurred
1383            */
1384            public int filterCountByG_U(long groupId, long userId)
1385                    throws com.liferay.portal.kernel.exception.SystemException;
1386    
1387            /**
1388            * Counts all the i g images where groupId = &#63; and folderId = &#63;.
1389            *
1390            * @param groupId the group id to search with
1391            * @param folderId the folder id to search with
1392            * @return the number of matching i g images
1393            * @throws SystemException if a system exception occurred
1394            */
1395            public int countByG_F(long groupId, long folderId)
1396                    throws com.liferay.portal.kernel.exception.SystemException;
1397    
1398            /**
1399            * Counts all the i g images where groupId = &#63; and folderId = any &#63;.
1400            *
1401            * @param groupId the group id to search with
1402            * @param folderIds the folder ids to search with
1403            * @return the number of matching i g images
1404            * @throws SystemException if a system exception occurred
1405            */
1406            public int countByG_F(long groupId, long[] folderIds)
1407                    throws com.liferay.portal.kernel.exception.SystemException;
1408    
1409            /**
1410            * Filters by the user's permissions and counts all the i g images where groupId = &#63; and folderId = &#63;.
1411            *
1412            * @param groupId the group id to search with
1413            * @param folderId the folder id to search with
1414            * @return the number of matching i g images that the user has permission to view
1415            * @throws SystemException if a system exception occurred
1416            */
1417            public int filterCountByG_F(long groupId, long folderId)
1418                    throws com.liferay.portal.kernel.exception.SystemException;
1419    
1420            /**
1421            * Filters by the user's permissions and counts all the i g images where groupId = &#63; and folderId = any &#63;.
1422            *
1423            * @param groupId the group id to search with
1424            * @param folderIds the folder ids to search with
1425            * @return the number of matching i g images that the user has permission to view
1426            * @throws SystemException if a system exception occurred
1427            */
1428            public int filterCountByG_F(long groupId, long[] folderIds)
1429                    throws com.liferay.portal.kernel.exception.SystemException;
1430    
1431            /**
1432            * Counts all the i g images where groupId = &#63; and folderId = &#63; and name = &#63;.
1433            *
1434            * @param groupId the group id to search with
1435            * @param folderId the folder id to search with
1436            * @param name the name to search with
1437            * @return the number of matching i g images
1438            * @throws SystemException if a system exception occurred
1439            */
1440            public int countByG_F_N(long groupId, long folderId, java.lang.String name)
1441                    throws com.liferay.portal.kernel.exception.SystemException;
1442    
1443            /**
1444            * Filters by the user's permissions and counts all the i g images where groupId = &#63; and folderId = &#63; and name = &#63;.
1445            *
1446            * @param groupId the group id to search with
1447            * @param folderId the folder id to search with
1448            * @param name the name to search with
1449            * @return the number of matching i g images that the user has permission to view
1450            * @throws SystemException if a system exception occurred
1451            */
1452            public int filterCountByG_F_N(long groupId, long folderId,
1453                    java.lang.String name)
1454                    throws com.liferay.portal.kernel.exception.SystemException;
1455    
1456            /**
1457            * Counts all the i g images.
1458            *
1459            * @return the number of i g images
1460            * @throws SystemException if a system exception occurred
1461            */
1462            public int countAll()
1463                    throws com.liferay.portal.kernel.exception.SystemException;
1464    }