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