1
14
15 package com.liferay.portlet.imagegallery.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.imagegallery.model.IGImage;
20
21
34 public interface IGImagePersistence extends BasePersistence<IGImage> {
35 public void cacheResult(
36 com.liferay.portlet.imagegallery.model.IGImage igImage);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> igImages);
40
41 public com.liferay.portlet.imagegallery.model.IGImage create(long imageId);
42
43 public com.liferay.portlet.imagegallery.model.IGImage remove(long imageId)
44 throws com.liferay.portal.kernel.exception.SystemException,
45 com.liferay.portlet.imagegallery.NoSuchImageException;
46
47 public com.liferay.portlet.imagegallery.model.IGImage updateImpl(
48 com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
49 throws com.liferay.portal.kernel.exception.SystemException;
50
51 public com.liferay.portlet.imagegallery.model.IGImage findByPrimaryKey(
52 long imageId)
53 throws com.liferay.portal.kernel.exception.SystemException,
54 com.liferay.portlet.imagegallery.NoSuchImageException;
55
56 public com.liferay.portlet.imagegallery.model.IGImage fetchByPrimaryKey(
57 long imageId)
58 throws com.liferay.portal.kernel.exception.SystemException;
59
60 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
61 java.lang.String uuid)
62 throws com.liferay.portal.kernel.exception.SystemException;
63
64 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
65 java.lang.String uuid, int start, int end)
66 throws com.liferay.portal.kernel.exception.SystemException;
67
68 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
69 java.lang.String uuid, int start, int end,
70 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
71 throws com.liferay.portal.kernel.exception.SystemException;
72
73 public com.liferay.portlet.imagegallery.model.IGImage findByUuid_First(
74 java.lang.String uuid,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.kernel.exception.SystemException,
77 com.liferay.portlet.imagegallery.NoSuchImageException;
78
79 public com.liferay.portlet.imagegallery.model.IGImage findByUuid_Last(
80 java.lang.String uuid,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.kernel.exception.SystemException,
83 com.liferay.portlet.imagegallery.NoSuchImageException;
84
85 public com.liferay.portlet.imagegallery.model.IGImage[] findByUuid_PrevAndNext(
86 long imageId, java.lang.String uuid,
87 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
88 throws com.liferay.portal.kernel.exception.SystemException,
89 com.liferay.portlet.imagegallery.NoSuchImageException;
90
91 public com.liferay.portlet.imagegallery.model.IGImage findByUUID_G(
92 java.lang.String uuid, long groupId)
93 throws com.liferay.portal.kernel.exception.SystemException,
94 com.liferay.portlet.imagegallery.NoSuchImageException;
95
96 public com.liferay.portlet.imagegallery.model.IGImage fetchByUUID_G(
97 java.lang.String uuid, long groupId)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public com.liferay.portlet.imagegallery.model.IGImage fetchByUUID_G(
101 java.lang.String uuid, long groupId, boolean retrieveFromCache)
102 throws com.liferay.portal.kernel.exception.SystemException;
103
104 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
105 long groupId)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
109 long groupId, int start, int end)
110 throws com.liferay.portal.kernel.exception.SystemException;
111
112 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
113 long groupId, int start, int end,
114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
115 throws com.liferay.portal.kernel.exception.SystemException;
116
117 public com.liferay.portlet.imagegallery.model.IGImage findByGroupId_First(
118 long groupId,
119 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
120 throws com.liferay.portal.kernel.exception.SystemException,
121 com.liferay.portlet.imagegallery.NoSuchImageException;
122
123 public com.liferay.portlet.imagegallery.model.IGImage findByGroupId_Last(
124 long groupId,
125 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
126 throws com.liferay.portal.kernel.exception.SystemException,
127 com.liferay.portlet.imagegallery.NoSuchImageException;
128
129 public com.liferay.portlet.imagegallery.model.IGImage[] findByGroupId_PrevAndNext(
130 long imageId, long groupId,
131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
132 throws com.liferay.portal.kernel.exception.SystemException,
133 com.liferay.portlet.imagegallery.NoSuchImageException;
134
135 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByGroupId(
136 long groupId)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByGroupId(
140 long groupId, int start, int end)
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByGroupId(
144 long groupId, int start, int end,
145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146 throws com.liferay.portal.kernel.exception.SystemException;
147
148 public com.liferay.portlet.imagegallery.model.IGImage findBySmallImageId(
149 long smallImageId)
150 throws com.liferay.portal.kernel.exception.SystemException,
151 com.liferay.portlet.imagegallery.NoSuchImageException;
152
153 public com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(
154 long smallImageId)
155 throws com.liferay.portal.kernel.exception.SystemException;
156
157 public com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(
158 long smallImageId, boolean retrieveFromCache)
159 throws com.liferay.portal.kernel.exception.SystemException;
160
161 public com.liferay.portlet.imagegallery.model.IGImage findByLargeImageId(
162 long largeImageId)
163 throws com.liferay.portal.kernel.exception.SystemException,
164 com.liferay.portlet.imagegallery.NoSuchImageException;
165
166 public com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(
167 long largeImageId)
168 throws com.liferay.portal.kernel.exception.SystemException;
169
170 public com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(
171 long largeImageId, boolean retrieveFromCache)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 public com.liferay.portlet.imagegallery.model.IGImage findByCustom1ImageId(
175 long custom1ImageId)
176 throws com.liferay.portal.kernel.exception.SystemException,
177 com.liferay.portlet.imagegallery.NoSuchImageException;
178
179 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(
180 long custom1ImageId)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(
184 long custom1ImageId, boolean retrieveFromCache)
185 throws com.liferay.portal.kernel.exception.SystemException;
186
187 public com.liferay.portlet.imagegallery.model.IGImage findByCustom2ImageId(
188 long custom2ImageId)
189 throws com.liferay.portal.kernel.exception.SystemException,
190 com.liferay.portlet.imagegallery.NoSuchImageException;
191
192 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(
193 long custom2ImageId)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(
197 long custom2ImageId, boolean retrieveFromCache)
198 throws com.liferay.portal.kernel.exception.SystemException;
199
200 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
201 long groupId, long userId)
202 throws com.liferay.portal.kernel.exception.SystemException;
203
204 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
205 long groupId, long userId, int start, int end)
206 throws com.liferay.portal.kernel.exception.SystemException;
207
208 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
209 long groupId, long userId, int start, int end,
210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
211 throws com.liferay.portal.kernel.exception.SystemException;
212
213 public com.liferay.portlet.imagegallery.model.IGImage findByG_U_First(
214 long groupId, long userId,
215 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
216 throws com.liferay.portal.kernel.exception.SystemException,
217 com.liferay.portlet.imagegallery.NoSuchImageException;
218
219 public com.liferay.portlet.imagegallery.model.IGImage findByG_U_Last(
220 long groupId, long userId,
221 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222 throws com.liferay.portal.kernel.exception.SystemException,
223 com.liferay.portlet.imagegallery.NoSuchImageException;
224
225 public com.liferay.portlet.imagegallery.model.IGImage[] findByG_U_PrevAndNext(
226 long imageId, long groupId, long userId,
227 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
228 throws com.liferay.portal.kernel.exception.SystemException,
229 com.liferay.portlet.imagegallery.NoSuchImageException;
230
231 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_U(
232 long groupId, long userId)
233 throws com.liferay.portal.kernel.exception.SystemException;
234
235 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_U(
236 long groupId, long userId, int start, int end)
237 throws com.liferay.portal.kernel.exception.SystemException;
238
239 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_U(
240 long groupId, long userId, int start, int end,
241 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
242 throws com.liferay.portal.kernel.exception.SystemException;
243
244 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
245 long groupId, long folderId)
246 throws com.liferay.portal.kernel.exception.SystemException;
247
248 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
249 long groupId, long folderId, int start, int end)
250 throws com.liferay.portal.kernel.exception.SystemException;
251
252 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F(
253 long groupId, long folderId, int start, int end,
254 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
255 throws com.liferay.portal.kernel.exception.SystemException;
256
257 public com.liferay.portlet.imagegallery.model.IGImage findByG_F_First(
258 long groupId, long folderId,
259 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
260 throws com.liferay.portal.kernel.exception.SystemException,
261 com.liferay.portlet.imagegallery.NoSuchImageException;
262
263 public com.liferay.portlet.imagegallery.model.IGImage findByG_F_Last(
264 long groupId, long folderId,
265 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
266 throws com.liferay.portal.kernel.exception.SystemException,
267 com.liferay.portlet.imagegallery.NoSuchImageException;
268
269 public com.liferay.portlet.imagegallery.model.IGImage[] findByG_F_PrevAndNext(
270 long imageId, long groupId, long folderId,
271 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
272 throws com.liferay.portal.kernel.exception.SystemException,
273 com.liferay.portlet.imagegallery.NoSuchImageException;
274
275 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
276 long groupId, long folderId)
277 throws com.liferay.portal.kernel.exception.SystemException;
278
279 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
280 long groupId, long folderId, int start, int end)
281 throws com.liferay.portal.kernel.exception.SystemException;
282
283 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F(
284 long groupId, long folderId, int start, int end,
285 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
286 throws com.liferay.portal.kernel.exception.SystemException;
287
288 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F_N(
289 long groupId, long folderId, java.lang.String name)
290 throws com.liferay.portal.kernel.exception.SystemException;
291
292 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F_N(
293 long groupId, long folderId, java.lang.String name, int start, int end)
294 throws com.liferay.portal.kernel.exception.SystemException;
295
296 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_F_N(
297 long groupId, long folderId, java.lang.String name, int start, int end,
298 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
299 throws com.liferay.portal.kernel.exception.SystemException;
300
301 public com.liferay.portlet.imagegallery.model.IGImage findByG_F_N_First(
302 long groupId, long folderId, java.lang.String name,
303 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
304 throws com.liferay.portal.kernel.exception.SystemException,
305 com.liferay.portlet.imagegallery.NoSuchImageException;
306
307 public com.liferay.portlet.imagegallery.model.IGImage findByG_F_N_Last(
308 long groupId, long folderId, java.lang.String name,
309 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
310 throws com.liferay.portal.kernel.exception.SystemException,
311 com.liferay.portlet.imagegallery.NoSuchImageException;
312
313 public com.liferay.portlet.imagegallery.model.IGImage[] findByG_F_N_PrevAndNext(
314 long imageId, long groupId, long folderId, java.lang.String name,
315 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
316 throws com.liferay.portal.kernel.exception.SystemException,
317 com.liferay.portlet.imagegallery.NoSuchImageException;
318
319 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F_N(
320 long groupId, long folderId, java.lang.String name)
321 throws com.liferay.portal.kernel.exception.SystemException;
322
323 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F_N(
324 long groupId, long folderId, java.lang.String name, int start, int end)
325 throws com.liferay.portal.kernel.exception.SystemException;
326
327 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> filterFindByG_F_N(
328 long groupId, long folderId, java.lang.String name, int start, int end,
329 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
330 throws com.liferay.portal.kernel.exception.SystemException;
331
332 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll()
333 throws com.liferay.portal.kernel.exception.SystemException;
334
335 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(
336 int start, int end)
337 throws com.liferay.portal.kernel.exception.SystemException;
338
339 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(
340 int start, int end,
341 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
342 throws com.liferay.portal.kernel.exception.SystemException;
343
344 public void removeByUuid(java.lang.String uuid)
345 throws com.liferay.portal.kernel.exception.SystemException;
346
347 public void removeByUUID_G(java.lang.String uuid, long groupId)
348 throws com.liferay.portal.kernel.exception.SystemException,
349 com.liferay.portlet.imagegallery.NoSuchImageException;
350
351 public void removeByGroupId(long groupId)
352 throws com.liferay.portal.kernel.exception.SystemException;
353
354 public void removeBySmallImageId(long smallImageId)
355 throws com.liferay.portal.kernel.exception.SystemException,
356 com.liferay.portlet.imagegallery.NoSuchImageException;
357
358 public void removeByLargeImageId(long largeImageId)
359 throws com.liferay.portal.kernel.exception.SystemException,
360 com.liferay.portlet.imagegallery.NoSuchImageException;
361
362 public void removeByCustom1ImageId(long custom1ImageId)
363 throws com.liferay.portal.kernel.exception.SystemException,
364 com.liferay.portlet.imagegallery.NoSuchImageException;
365
366 public void removeByCustom2ImageId(long custom2ImageId)
367 throws com.liferay.portal.kernel.exception.SystemException,
368 com.liferay.portlet.imagegallery.NoSuchImageException;
369
370 public void removeByG_U(long groupId, long userId)
371 throws com.liferay.portal.kernel.exception.SystemException;
372
373 public void removeByG_F(long groupId, long folderId)
374 throws com.liferay.portal.kernel.exception.SystemException;
375
376 public void removeByG_F_N(long groupId, long folderId, java.lang.String name)
377 throws com.liferay.portal.kernel.exception.SystemException;
378
379 public void removeAll()
380 throws com.liferay.portal.kernel.exception.SystemException;
381
382 public int countByUuid(java.lang.String uuid)
383 throws com.liferay.portal.kernel.exception.SystemException;
384
385 public int countByUUID_G(java.lang.String uuid, long groupId)
386 throws com.liferay.portal.kernel.exception.SystemException;
387
388 public int countByGroupId(long groupId)
389 throws com.liferay.portal.kernel.exception.SystemException;
390
391 public int filterCountByGroupId(long groupId)
392 throws com.liferay.portal.kernel.exception.SystemException;
393
394 public int countBySmallImageId(long smallImageId)
395 throws com.liferay.portal.kernel.exception.SystemException;
396
397 public int countByLargeImageId(long largeImageId)
398 throws com.liferay.portal.kernel.exception.SystemException;
399
400 public int countByCustom1ImageId(long custom1ImageId)
401 throws com.liferay.portal.kernel.exception.SystemException;
402
403 public int countByCustom2ImageId(long custom2ImageId)
404 throws com.liferay.portal.kernel.exception.SystemException;
405
406 public int countByG_U(long groupId, long userId)
407 throws com.liferay.portal.kernel.exception.SystemException;
408
409 public int filterCountByG_U(long groupId, long userId)
410 throws com.liferay.portal.kernel.exception.SystemException;
411
412 public int countByG_F(long groupId, long folderId)
413 throws com.liferay.portal.kernel.exception.SystemException;
414
415 public int filterCountByG_F(long groupId, long folderId)
416 throws com.liferay.portal.kernel.exception.SystemException;
417
418 public int countByG_F_N(long groupId, long folderId, java.lang.String name)
419 throws com.liferay.portal.kernel.exception.SystemException;
420
421 public int filterCountByG_F_N(long groupId, long folderId,
422 java.lang.String name)
423 throws com.liferay.portal.kernel.exception.SystemException;
424
425 public int countAll()
426 throws com.liferay.portal.kernel.exception.SystemException;
427 }