001
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
027 public interface IGImagePersistence extends BasePersistence<IGImage> {
028 public void cacheResult(
029 com.liferay.portlet.imagegallery.model.IGImage igImage);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> igImages);
033
034 public com.liferay.portlet.imagegallery.model.IGImage create(long imageId);
035
036 public com.liferay.portlet.imagegallery.model.IGImage remove(long imageId)
037 throws com.liferay.portal.kernel.exception.SystemException,
038 com.liferay.portlet.imagegallery.NoSuchImageException;
039
040 public com.liferay.portlet.imagegallery.model.IGImage updateImpl(
041 com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
042 throws com.liferay.portal.kernel.exception.SystemException;
043
044 public com.liferay.portlet.imagegallery.model.IGImage findByPrimaryKey(
045 long imageId)
046 throws com.liferay.portal.kernel.exception.SystemException,
047 com.liferay.portlet.imagegallery.NoSuchImageException;
048
049 public com.liferay.portlet.imagegallery.model.IGImage fetchByPrimaryKey(
050 long imageId)
051 throws com.liferay.portal.kernel.exception.SystemException;
052
053 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
054 java.lang.String uuid)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
058 java.lang.String uuid, int start, int end)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
062 java.lang.String uuid, int start, int end,
063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
064 throws com.liferay.portal.kernel.exception.SystemException;
065
066 public com.liferay.portlet.imagegallery.model.IGImage findByUuid_First(
067 java.lang.String uuid,
068 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
069 throws com.liferay.portal.kernel.exception.SystemException,
070 com.liferay.portlet.imagegallery.NoSuchImageException;
071
072 public com.liferay.portlet.imagegallery.model.IGImage findByUuid_Last(
073 java.lang.String uuid,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.kernel.exception.SystemException,
076 com.liferay.portlet.imagegallery.NoSuchImageException;
077
078 public com.liferay.portlet.imagegallery.model.IGImage[] findByUuid_PrevAndNext(
079 long imageId, java.lang.String uuid,
080 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
081 throws com.liferay.portal.kernel.exception.SystemException,
082 com.liferay.portlet.imagegallery.NoSuchImageException;
083
084 public com.liferay.portlet.imagegallery.model.IGImage findByUUID_G(
085 java.lang.String uuid, long groupId)
086 throws com.liferay.portal.kernel.exception.SystemException,
087 com.liferay.portlet.imagegallery.NoSuchImageException;
088
089 public com.liferay.portlet.imagegallery.model.IGImage fetchByUUID_G(
090 java.lang.String uuid, long groupId)
091 throws com.liferay.portal.kernel.exception.SystemException;
092
093 public com.liferay.portlet.imagegallery.model.IGImage fetchByUUID_G(
094 java.lang.String uuid, long groupId, boolean retrieveFromCache)
095 throws com.liferay.portal.kernel.exception.SystemException;
096
097 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
098 long groupId)
099 throws com.liferay.portal.kernel.exception.SystemException;
100
101 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
102 long groupId, int start, int end)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
106 long groupId, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.kernel.exception.SystemException;
109
110 public com.liferay.portlet.imagegallery.model.IGImage findByGroupId_First(
111 long groupId,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.kernel.exception.SystemException,
114 com.liferay.portlet.imagegallery.NoSuchImageException;
115
116 public com.liferay.portlet.imagegallery.model.IGImage findByGroupId_Last(
117 long groupId,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.kernel.exception.SystemException,
120 com.liferay.portlet.imagegallery.NoSuchImageException;
121
122 public com.liferay.portlet.imagegallery.model.IGImage[] findByGroupId_PrevAndNext(
123 long imageId, long groupId,
124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125 throws com.liferay.portal.kernel.exception.SystemException,
126 com.liferay.portlet.imagegallery.NoSuchImageException;
127
128 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByGroupId(
129 long groupId)
130 throws com.liferay.portal.kernel.exception.SystemException;
131
132 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByGroupId(
133 long groupId, int start, int end)
134 throws com.liferay.portal.kernel.exception.SystemException;
135
136 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByGroupId(
137 long groupId, int start, int end,
138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139 throws com.liferay.portal.kernel.exception.SystemException;
140
141 public com.liferay.portlet.imagegallery.model.IGImage findBySmallImageId(
142 long smallImageId)
143 throws com.liferay.portal.kernel.exception.SystemException,
144 com.liferay.portlet.imagegallery.NoSuchImageException;
145
146 public com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(
147 long smallImageId)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150 public com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(
151 long smallImageId, boolean retrieveFromCache)
152 throws com.liferay.portal.kernel.exception.SystemException;
153
154 public com.liferay.portlet.imagegallery.model.IGImage findByLargeImageId(
155 long largeImageId)
156 throws com.liferay.portal.kernel.exception.SystemException,
157 com.liferay.portlet.imagegallery.NoSuchImageException;
158
159 public com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(
160 long largeImageId)
161 throws com.liferay.portal.kernel.exception.SystemException;
162
163 public com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(
164 long largeImageId, boolean retrieveFromCache)
165 throws com.liferay.portal.kernel.exception.SystemException;
166
167 public com.liferay.portlet.imagegallery.model.IGImage findByCustom1ImageId(
168 long custom1ImageId)
169 throws com.liferay.portal.kernel.exception.SystemException,
170 com.liferay.portlet.imagegallery.NoSuchImageException;
171
172 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(
173 long custom1ImageId)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(
177 long custom1ImageId, boolean retrieveFromCache)
178 throws com.liferay.portal.kernel.exception.SystemException;
179
180 public com.liferay.portlet.imagegallery.model.IGImage findByCustom2ImageId(
181 long custom2ImageId)
182 throws com.liferay.portal.kernel.exception.SystemException,
183 com.liferay.portlet.imagegallery.NoSuchImageException;
184
185 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(
186 long custom2ImageId)
187 throws com.liferay.portal.kernel.exception.SystemException;
188
189 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(
190 long custom2ImageId, boolean retrieveFromCache)
191 throws com.liferay.portal.kernel.exception.SystemException;
192
193 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
194 long groupId, long userId)
195 throws com.liferay.portal.kernel.exception.SystemException;
196
197 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
198 long groupId, long userId, int start, int end)
199 throws com.liferay.portal.kernel.exception.SystemException;
200
201 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
202 long groupId, long userId, int start, int end,
203 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
204 throws com.liferay.portal.kernel.exception.SystemException;
205
206 public com.liferay.portlet.imagegallery.model.IGImage findByG_U_First(
207 long groupId, long userId,
208 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
209 throws com.liferay.portal.kernel.exception.SystemException,
210 com.liferay.portlet.imagegallery.NoSuchImageException;
211
212 public com.liferay.portlet.imagegallery.model.IGImage findByG_U_Last(
213 long groupId, long userId,
214 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
215 throws com.liferay.portal.kernel.exception.SystemException,
216 com.liferay.portlet.imagegallery.NoSuchImageException;
217
218 public com.liferay.portlet.imagegallery.model.IGImage[] findByG_U_PrevAndNext(
219 long imageId, long groupId, long userId,
220 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
221 throws com.liferay.portal.kernel.exception.SystemException,
222 com.liferay.portlet.imagegallery.NoSuchImageException;
223
224 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_U(
225 long groupId, long userId)
226 throws com.liferay.portal.kernel.exception.SystemException;
227
228 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_U(
229 long groupId, long userId, int start, int end)
230 throws com.liferay.portal.kernel.exception.SystemException;
231
232 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_U(
233 long groupId, long userId, int start, int end,
234 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
235 throws com.liferay.portal.kernel.exception.SystemException;
236
237 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
238 long groupId, long folderId)
239 throws com.liferay.portal.kernel.exception.SystemException;
240
241 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
242 long groupId, long folderId, int start, int end)
243 throws com.liferay.portal.kernel.exception.SystemException;
244
245 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
246 long groupId, long folderId, int start, int end,
247 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
248 throws com.liferay.portal.kernel.exception.SystemException;
249
250 public com.liferay.portlet.imagegallery.model.IGImage findByG_F_First(
251 long groupId, long folderId,
252 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
253 throws com.liferay.portal.kernel.exception.SystemException,
254 com.liferay.portlet.imagegallery.NoSuchImageException;
255
256 public com.liferay.portlet.imagegallery.model.IGImage findByG_F_Last(
257 long groupId, long folderId,
258 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
259 throws com.liferay.portal.kernel.exception.SystemException,
260 com.liferay.portlet.imagegallery.NoSuchImageException;
261
262 public com.liferay.portlet.imagegallery.model.IGImage[] findByG_F_PrevAndNext(
263 long imageId, long groupId, long folderId,
264 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
265 throws com.liferay.portal.kernel.exception.SystemException,
266 com.liferay.portlet.imagegallery.NoSuchImageException;
267
268 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
269 long groupId, long[] folderIds)
270 throws com.liferay.portal.kernel.exception.SystemException;
271
272 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
273 long groupId, long[] folderIds, int start, int end)
274 throws com.liferay.portal.kernel.exception.SystemException;
275
276 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
277 long groupId, long[] folderIds, int start, int end,
278 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
279 throws com.liferay.portal.kernel.exception.SystemException;
280
281 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
282 long groupId, long folderId)
283 throws com.liferay.portal.kernel.exception.SystemException;
284
285 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
286 long groupId, long folderId, int start, int end)
287 throws com.liferay.portal.kernel.exception.SystemException;
288
289 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
290 long groupId, long folderId, int start, int end,
291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
292 throws com.liferay.portal.kernel.exception.SystemException;
293
294 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
295 long groupId, long[] folderIds)
296 throws com.liferay.portal.kernel.exception.SystemException;
297
298 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
299 long groupId, long[] folderIds, int start, int end)
300 throws com.liferay.portal.kernel.exception.SystemException;
301
302 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
303 long groupId, long[] folderIds, int start, int end,
304 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
305 throws com.liferay.portal.kernel.exception.SystemException;
306
307 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F_N(
308 long groupId, long folderId, java.lang.String name)
309 throws com.liferay.portal.kernel.exception.SystemException;
310
311 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F_N(
312 long groupId, long folderId, java.lang.String name, int start, int end)
313 throws com.liferay.portal.kernel.exception.SystemException;
314
315 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F_N(
316 long groupId, long folderId, java.lang.String name, int start, int end,
317 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
318 throws com.liferay.portal.kernel.exception.SystemException;
319
320 public com.liferay.portlet.imagegallery.model.IGImage findByG_F_N_First(
321 long groupId, long folderId, java.lang.String name,
322 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
323 throws com.liferay.portal.kernel.exception.SystemException,
324 com.liferay.portlet.imagegallery.NoSuchImageException;
325
326 public com.liferay.portlet.imagegallery.model.IGImage findByG_F_N_Last(
327 long groupId, long folderId, java.lang.String name,
328 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
329 throws com.liferay.portal.kernel.exception.SystemException,
330 com.liferay.portlet.imagegallery.NoSuchImageException;
331
332 public com.liferay.portlet.imagegallery.model.IGImage[] findByG_F_N_PrevAndNext(
333 long imageId, long groupId, long folderId, java.lang.String name,
334 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
335 throws com.liferay.portal.kernel.exception.SystemException,
336 com.liferay.portlet.imagegallery.NoSuchImageException;
337
338 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F_N(
339 long groupId, long folderId, java.lang.String name)
340 throws com.liferay.portal.kernel.exception.SystemException;
341
342 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F_N(
343 long groupId, long folderId, java.lang.String name, int start, int end)
344 throws com.liferay.portal.kernel.exception.SystemException;
345
346 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F_N(
347 long groupId, long folderId, java.lang.String name, int start, int end,
348 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
349 throws com.liferay.portal.kernel.exception.SystemException;
350
351 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll()
352 throws com.liferay.portal.kernel.exception.SystemException;
353
354 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(
355 int start, int end)
356 throws com.liferay.portal.kernel.exception.SystemException;
357
358 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(
359 int start, int end,
360 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
361 throws com.liferay.portal.kernel.exception.SystemException;
362
363 public void removeByUuid(java.lang.String uuid)
364 throws com.liferay.portal.kernel.exception.SystemException;
365
366 public void removeByUUID_G(java.lang.String uuid, long groupId)
367 throws com.liferay.portal.kernel.exception.SystemException,
368 com.liferay.portlet.imagegallery.NoSuchImageException;
369
370 public void removeByGroupId(long groupId)
371 throws com.liferay.portal.kernel.exception.SystemException;
372
373 public void removeBySmallImageId(long smallImageId)
374 throws com.liferay.portal.kernel.exception.SystemException,
375 com.liferay.portlet.imagegallery.NoSuchImageException;
376
377 public void removeByLargeImageId(long largeImageId)
378 throws com.liferay.portal.kernel.exception.SystemException,
379 com.liferay.portlet.imagegallery.NoSuchImageException;
380
381 public void removeByCustom1ImageId(long custom1ImageId)
382 throws com.liferay.portal.kernel.exception.SystemException,
383 com.liferay.portlet.imagegallery.NoSuchImageException;
384
385 public void removeByCustom2ImageId(long custom2ImageId)
386 throws com.liferay.portal.kernel.exception.SystemException,
387 com.liferay.portlet.imagegallery.NoSuchImageException;
388
389 public void removeByG_U(long groupId, long userId)
390 throws com.liferay.portal.kernel.exception.SystemException;
391
392 public void removeByG_F(long groupId, long folderId)
393 throws com.liferay.portal.kernel.exception.SystemException;
394
395 public void removeByG_F_N(long groupId, long folderId, java.lang.String name)
396 throws com.liferay.portal.kernel.exception.SystemException;
397
398 public void removeAll()
399 throws com.liferay.portal.kernel.exception.SystemException;
400
401 public int countByUuid(java.lang.String uuid)
402 throws com.liferay.portal.kernel.exception.SystemException;
403
404 public int countByUUID_G(java.lang.String uuid, long groupId)
405 throws com.liferay.portal.kernel.exception.SystemException;
406
407 public int countByGroupId(long groupId)
408 throws com.liferay.portal.kernel.exception.SystemException;
409
410 public int filterCountByGroupId(long groupId)
411 throws com.liferay.portal.kernel.exception.SystemException;
412
413 public int countBySmallImageId(long smallImageId)
414 throws com.liferay.portal.kernel.exception.SystemException;
415
416 public int countByLargeImageId(long largeImageId)
417 throws com.liferay.portal.kernel.exception.SystemException;
418
419 public int countByCustom1ImageId(long custom1ImageId)
420 throws com.liferay.portal.kernel.exception.SystemException;
421
422 public int countByCustom2ImageId(long custom2ImageId)
423 throws com.liferay.portal.kernel.exception.SystemException;
424
425 public int countByG_U(long groupId, long userId)
426 throws com.liferay.portal.kernel.exception.SystemException;
427
428 public int filterCountByG_U(long groupId, long userId)
429 throws com.liferay.portal.kernel.exception.SystemException;
430
431 public int countByG_F(long groupId, long folderId)
432 throws com.liferay.portal.kernel.exception.SystemException;
433
434 public int countByG_F(long groupId, long[] folderIds)
435 throws com.liferay.portal.kernel.exception.SystemException;
436
437 public int filterCountByG_F(long groupId, long folderId)
438 throws com.liferay.portal.kernel.exception.SystemException;
439
440 public int filterCountByG_F(long groupId, long[] folderIds)
441 throws com.liferay.portal.kernel.exception.SystemException;
442
443 public int countByG_F_N(long groupId, long folderId, java.lang.String name)
444 throws com.liferay.portal.kernel.exception.SystemException;
445
446 public int filterCountByG_F_N(long groupId, long folderId,
447 java.lang.String name)
448 throws com.liferay.portal.kernel.exception.SystemException;
449
450 public int countAll()
451 throws com.liferay.portal.kernel.exception.SystemException;
452 }