1
19
20 package com.liferay.portlet.imagegallery.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface IGImagePersistence extends BasePersistence {
31 public void cacheResult(
32 com.liferay.portlet.imagegallery.model.IGImage igImage);
33
34 public void cacheResult(
35 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> igImages);
36
37 public void clearCache();
38
39 public com.liferay.portlet.imagegallery.model.IGImage create(long imageId);
40
41 public com.liferay.portlet.imagegallery.model.IGImage remove(long imageId)
42 throws com.liferay.portal.SystemException,
43 com.liferay.portlet.imagegallery.NoSuchImageException;
44
45 public com.liferay.portlet.imagegallery.model.IGImage remove(
46 com.liferay.portlet.imagegallery.model.IGImage igImage)
47 throws com.liferay.portal.SystemException;
48
49
52 public com.liferay.portlet.imagegallery.model.IGImage update(
53 com.liferay.portlet.imagegallery.model.IGImage igImage)
54 throws com.liferay.portal.SystemException;
55
56
69 public com.liferay.portlet.imagegallery.model.IGImage update(
70 com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
71 throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.imagegallery.model.IGImage updateImpl(
74 com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
75 throws com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.imagegallery.model.IGImage findByPrimaryKey(
78 long imageId)
79 throws com.liferay.portal.SystemException,
80 com.liferay.portlet.imagegallery.NoSuchImageException;
81
82 public com.liferay.portlet.imagegallery.model.IGImage fetchByPrimaryKey(
83 long imageId) throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
86 java.lang.String uuid) throws com.liferay.portal.SystemException;
87
88 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
89 java.lang.String uuid, int start, int end)
90 throws com.liferay.portal.SystemException;
91
92 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(
93 java.lang.String uuid, int start, int end,
94 com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException;
96
97 public com.liferay.portlet.imagegallery.model.IGImage findByUuid_First(
98 java.lang.String uuid,
99 com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.imagegallery.NoSuchImageException;
102
103 public com.liferay.portlet.imagegallery.model.IGImage findByUuid_Last(
104 java.lang.String uuid,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portlet.imagegallery.NoSuchImageException;
108
109 public com.liferay.portlet.imagegallery.model.IGImage[] findByUuid_PrevAndNext(
110 long imageId, java.lang.String uuid,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.imagegallery.NoSuchImageException;
114
115 public com.liferay.portlet.imagegallery.model.IGImage findByUUID_G(
116 java.lang.String uuid, long groupId)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.imagegallery.NoSuchImageException;
119
120 public com.liferay.portlet.imagegallery.model.IGImage fetchByUUID_G(
121 java.lang.String uuid, long groupId)
122 throws com.liferay.portal.SystemException;
123
124 public com.liferay.portlet.imagegallery.model.IGImage fetchByUUID_G(
125 java.lang.String uuid, long groupId, boolean retrieveFromCache)
126 throws com.liferay.portal.SystemException;
127
128 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
129 long groupId) throws com.liferay.portal.SystemException;
130
131 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
132 long groupId, int start, int end)
133 throws com.liferay.portal.SystemException;
134
135 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(
136 long groupId, int start, int end,
137 com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException;
139
140 public com.liferay.portlet.imagegallery.model.IGImage findByGroupId_First(
141 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.imagegallery.NoSuchImageException;
144
145 public com.liferay.portlet.imagegallery.model.IGImage findByGroupId_Last(
146 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException,
148 com.liferay.portlet.imagegallery.NoSuchImageException;
149
150 public com.liferay.portlet.imagegallery.model.IGImage[] findByGroupId_PrevAndNext(
151 long imageId, long groupId,
152 com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.SystemException,
154 com.liferay.portlet.imagegallery.NoSuchImageException;
155
156 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(
157 long folderId) throws com.liferay.portal.SystemException;
158
159 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(
160 long folderId, int start, int end)
161 throws com.liferay.portal.SystemException;
162
163 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(
164 long folderId, int start, int end,
165 com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException;
167
168 public com.liferay.portlet.imagegallery.model.IGImage findByFolderId_First(
169 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portlet.imagegallery.NoSuchImageException;
172
173 public com.liferay.portlet.imagegallery.model.IGImage findByFolderId_Last(
174 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.imagegallery.NoSuchImageException;
177
178 public com.liferay.portlet.imagegallery.model.IGImage[] findByFolderId_PrevAndNext(
179 long imageId, long folderId,
180 com.liferay.portal.kernel.util.OrderByComparator obc)
181 throws com.liferay.portal.SystemException,
182 com.liferay.portlet.imagegallery.NoSuchImageException;
183
184 public com.liferay.portlet.imagegallery.model.IGImage findBySmallImageId(
185 long smallImageId)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portlet.imagegallery.NoSuchImageException;
188
189 public com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(
190 long smallImageId) throws com.liferay.portal.SystemException;
191
192 public com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(
193 long smallImageId, boolean retrieveFromCache)
194 throws com.liferay.portal.SystemException;
195
196 public com.liferay.portlet.imagegallery.model.IGImage findByLargeImageId(
197 long largeImageId)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portlet.imagegallery.NoSuchImageException;
200
201 public com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(
202 long largeImageId) throws com.liferay.portal.SystemException;
203
204 public com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(
205 long largeImageId, boolean retrieveFromCache)
206 throws com.liferay.portal.SystemException;
207
208 public com.liferay.portlet.imagegallery.model.IGImage findByCustom1ImageId(
209 long custom1ImageId)
210 throws com.liferay.portal.SystemException,
211 com.liferay.portlet.imagegallery.NoSuchImageException;
212
213 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(
214 long custom1ImageId) throws com.liferay.portal.SystemException;
215
216 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(
217 long custom1ImageId, boolean retrieveFromCache)
218 throws com.liferay.portal.SystemException;
219
220 public com.liferay.portlet.imagegallery.model.IGImage findByCustom2ImageId(
221 long custom2ImageId)
222 throws com.liferay.portal.SystemException,
223 com.liferay.portlet.imagegallery.NoSuchImageException;
224
225 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(
226 long custom2ImageId) throws com.liferay.portal.SystemException;
227
228 public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(
229 long custom2ImageId, boolean retrieveFromCache)
230 throws com.liferay.portal.SystemException;
231
232 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
233 long groupId, long userId) throws com.liferay.portal.SystemException;
234
235 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
236 long groupId, long userId, int start, int end)
237 throws com.liferay.portal.SystemException;
238
239 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(
240 long groupId, long userId, int start, int end,
241 com.liferay.portal.kernel.util.OrderByComparator obc)
242 throws com.liferay.portal.SystemException;
243
244 public com.liferay.portlet.imagegallery.model.IGImage findByG_U_First(
245 long groupId, long userId,
246 com.liferay.portal.kernel.util.OrderByComparator obc)
247 throws com.liferay.portal.SystemException,
248 com.liferay.portlet.imagegallery.NoSuchImageException;
249
250 public com.liferay.portlet.imagegallery.model.IGImage findByG_U_Last(
251 long groupId, long userId,
252 com.liferay.portal.kernel.util.OrderByComparator obc)
253 throws com.liferay.portal.SystemException,
254 com.liferay.portlet.imagegallery.NoSuchImageException;
255
256 public com.liferay.portlet.imagegallery.model.IGImage[] findByG_U_PrevAndNext(
257 long imageId, long groupId, long userId,
258 com.liferay.portal.kernel.util.OrderByComparator obc)
259 throws com.liferay.portal.SystemException,
260 com.liferay.portlet.imagegallery.NoSuchImageException;
261
262 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(
263 long folderId, java.lang.String name)
264 throws com.liferay.portal.SystemException;
265
266 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(
267 long folderId, java.lang.String name, int start, int end)
268 throws com.liferay.portal.SystemException;
269
270 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(
271 long folderId, java.lang.String name, int start, int end,
272 com.liferay.portal.kernel.util.OrderByComparator obc)
273 throws com.liferay.portal.SystemException;
274
275 public com.liferay.portlet.imagegallery.model.IGImage findByF_N_First(
276 long folderId, java.lang.String name,
277 com.liferay.portal.kernel.util.OrderByComparator obc)
278 throws com.liferay.portal.SystemException,
279 com.liferay.portlet.imagegallery.NoSuchImageException;
280
281 public com.liferay.portlet.imagegallery.model.IGImage findByF_N_Last(
282 long folderId, java.lang.String name,
283 com.liferay.portal.kernel.util.OrderByComparator obc)
284 throws com.liferay.portal.SystemException,
285 com.liferay.portlet.imagegallery.NoSuchImageException;
286
287 public com.liferay.portlet.imagegallery.model.IGImage[] findByF_N_PrevAndNext(
288 long imageId, long folderId, java.lang.String name,
289 com.liferay.portal.kernel.util.OrderByComparator obc)
290 throws com.liferay.portal.SystemException,
291 com.liferay.portlet.imagegallery.NoSuchImageException;
292
293 public java.util.List<Object> findWithDynamicQuery(
294 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
295 throws com.liferay.portal.SystemException;
296
297 public java.util.List<Object> findWithDynamicQuery(
298 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
299 int end) throws com.liferay.portal.SystemException;
300
301 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll()
302 throws com.liferay.portal.SystemException;
303
304 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(
305 int start, int end) throws com.liferay.portal.SystemException;
306
307 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(
308 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
309 throws com.liferay.portal.SystemException;
310
311 public void removeByUuid(java.lang.String uuid)
312 throws com.liferay.portal.SystemException;
313
314 public void removeByUUID_G(java.lang.String uuid, long groupId)
315 throws com.liferay.portal.SystemException,
316 com.liferay.portlet.imagegallery.NoSuchImageException;
317
318 public void removeByGroupId(long groupId)
319 throws com.liferay.portal.SystemException;
320
321 public void removeByFolderId(long folderId)
322 throws com.liferay.portal.SystemException;
323
324 public void removeBySmallImageId(long smallImageId)
325 throws com.liferay.portal.SystemException,
326 com.liferay.portlet.imagegallery.NoSuchImageException;
327
328 public void removeByLargeImageId(long largeImageId)
329 throws com.liferay.portal.SystemException,
330 com.liferay.portlet.imagegallery.NoSuchImageException;
331
332 public void removeByCustom1ImageId(long custom1ImageId)
333 throws com.liferay.portal.SystemException,
334 com.liferay.portlet.imagegallery.NoSuchImageException;
335
336 public void removeByCustom2ImageId(long custom2ImageId)
337 throws com.liferay.portal.SystemException,
338 com.liferay.portlet.imagegallery.NoSuchImageException;
339
340 public void removeByG_U(long groupId, long userId)
341 throws com.liferay.portal.SystemException;
342
343 public void removeByF_N(long folderId, java.lang.String name)
344 throws com.liferay.portal.SystemException;
345
346 public void removeAll() throws com.liferay.portal.SystemException;
347
348 public int countByUuid(java.lang.String uuid)
349 throws com.liferay.portal.SystemException;
350
351 public int countByUUID_G(java.lang.String uuid, long groupId)
352 throws com.liferay.portal.SystemException;
353
354 public int countByGroupId(long groupId)
355 throws com.liferay.portal.SystemException;
356
357 public int countByFolderId(long folderId)
358 throws com.liferay.portal.SystemException;
359
360 public int countBySmallImageId(long smallImageId)
361 throws com.liferay.portal.SystemException;
362
363 public int countByLargeImageId(long largeImageId)
364 throws com.liferay.portal.SystemException;
365
366 public int countByCustom1ImageId(long custom1ImageId)
367 throws com.liferay.portal.SystemException;
368
369 public int countByCustom2ImageId(long custom2ImageId)
370 throws com.liferay.portal.SystemException;
371
372 public int countByG_U(long groupId, long userId)
373 throws com.liferay.portal.SystemException;
374
375 public int countByF_N(long folderId, java.lang.String name)
376 throws com.liferay.portal.SystemException;
377
378 public int countAll() throws com.liferay.portal.SystemException;
379 }