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