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