1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.journal.model.JournalArticle;
28
29
42 public interface JournalArticlePersistence extends BasePersistence<JournalArticle> {
43 public void cacheResult(
44 com.liferay.portlet.journal.model.JournalArticle journalArticle);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles);
48
49 public com.liferay.portlet.journal.model.JournalArticle create(long id);
50
51 public com.liferay.portlet.journal.model.JournalArticle remove(long id)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.journal.NoSuchArticleException;
54
55
58 public com.liferay.portlet.journal.model.JournalArticle update(
59 com.liferay.portlet.journal.model.JournalArticle journalArticle)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portlet.journal.model.JournalArticle updateImpl(
63 com.liferay.portlet.journal.model.JournalArticle journalArticle,
64 boolean merge) throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
67 long id)
68 throws com.liferay.portal.SystemException,
69 com.liferay.portlet.journal.NoSuchArticleException;
70
71 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
72 long id) throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
75 java.lang.String uuid) throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
78 java.lang.String uuid, int start, int end)
79 throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
82 java.lang.String uuid, int start, int end,
83 com.liferay.portal.kernel.util.OrderByComparator obc)
84 throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.journal.model.JournalArticle findByUuid_First(
87 java.lang.String uuid,
88 com.liferay.portal.kernel.util.OrderByComparator obc)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.journal.NoSuchArticleException;
91
92 public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last(
93 java.lang.String uuid,
94 com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.journal.NoSuchArticleException;
97
98 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext(
99 long id, java.lang.String uuid,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.journal.NoSuchArticleException;
103
104 public com.liferay.portlet.journal.model.JournalArticle findByUUID_G(
105 java.lang.String uuid, long groupId)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portlet.journal.NoSuchArticleException;
108
109 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
110 java.lang.String uuid, long groupId)
111 throws com.liferay.portal.SystemException;
112
113 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
114 java.lang.String uuid, long groupId, boolean retrieveFromCache)
115 throws com.liferay.portal.SystemException;
116
117 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
118 long groupId) throws com.liferay.portal.SystemException;
119
120 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
121 long groupId, int start, int end)
122 throws com.liferay.portal.SystemException;
123
124 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
125 long groupId, int start, int end,
126 com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.SystemException;
128
129 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First(
130 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.journal.NoSuchArticleException;
133
134 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(
135 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.journal.NoSuchArticleException;
138
139 public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(
140 long id, long groupId,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.journal.NoSuchArticleException;
144
145 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
146 long companyId) throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
149 long companyId, int start, int end)
150 throws com.liferay.portal.SystemException;
151
152 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
153 long companyId, int start, int end,
154 com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.SystemException;
156
157 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First(
158 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException,
160 com.liferay.portlet.journal.NoSuchArticleException;
161
162 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(
163 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.journal.NoSuchArticleException;
166
167 public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(
168 long id, long companyId,
169 com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portlet.journal.NoSuchArticleException;
172
173 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
174 long smallImageId) throws com.liferay.portal.SystemException;
175
176 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
177 long smallImageId, int start, int end)
178 throws com.liferay.portal.SystemException;
179
180 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
181 long smallImageId, int start, int end,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException;
184
185 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
186 long smallImageId, com.liferay.portal.kernel.util.OrderByComparator obc)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portlet.journal.NoSuchArticleException;
189
190 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
191 long smallImageId, com.liferay.portal.kernel.util.OrderByComparator obc)
192 throws com.liferay.portal.SystemException,
193 com.liferay.portlet.journal.NoSuchArticleException;
194
195 public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
196 long id, long smallImageId,
197 com.liferay.portal.kernel.util.OrderByComparator obc)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portlet.journal.NoSuchArticleException;
200
201 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_A(
202 long resourcePrimKey, boolean approved)
203 throws com.liferay.portal.SystemException;
204
205 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_A(
206 long resourcePrimKey, boolean approved, int start, int end)
207 throws com.liferay.portal.SystemException;
208
209 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_A(
210 long resourcePrimKey, boolean approved, int start, int end,
211 com.liferay.portal.kernel.util.OrderByComparator obc)
212 throws com.liferay.portal.SystemException;
213
214 public com.liferay.portlet.journal.model.JournalArticle findByR_A_First(
215 long resourcePrimKey, boolean approved,
216 com.liferay.portal.kernel.util.OrderByComparator obc)
217 throws com.liferay.portal.SystemException,
218 com.liferay.portlet.journal.NoSuchArticleException;
219
220 public com.liferay.portlet.journal.model.JournalArticle findByR_A_Last(
221 long resourcePrimKey, boolean approved,
222 com.liferay.portal.kernel.util.OrderByComparator obc)
223 throws com.liferay.portal.SystemException,
224 com.liferay.portlet.journal.NoSuchArticleException;
225
226 public com.liferay.portlet.journal.model.JournalArticle[] findByR_A_PrevAndNext(
227 long id, long resourcePrimKey, boolean approved,
228 com.liferay.portal.kernel.util.OrderByComparator obc)
229 throws com.liferay.portal.SystemException,
230 com.liferay.portlet.journal.NoSuchArticleException;
231
232 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
233 long groupId, java.lang.String articleId)
234 throws com.liferay.portal.SystemException;
235
236 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
237 long groupId, java.lang.String articleId, int start, int end)
238 throws com.liferay.portal.SystemException;
239
240 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
241 long groupId, java.lang.String articleId, int start, int end,
242 com.liferay.portal.kernel.util.OrderByComparator obc)
243 throws com.liferay.portal.SystemException;
244
245 public com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
246 long groupId, java.lang.String articleId,
247 com.liferay.portal.kernel.util.OrderByComparator obc)
248 throws com.liferay.portal.SystemException,
249 com.liferay.portlet.journal.NoSuchArticleException;
250
251 public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(
252 long groupId, java.lang.String articleId,
253 com.liferay.portal.kernel.util.OrderByComparator obc)
254 throws com.liferay.portal.SystemException,
255 com.liferay.portlet.journal.NoSuchArticleException;
256
257 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
258 long id, long groupId, java.lang.String articleId,
259 com.liferay.portal.kernel.util.OrderByComparator obc)
260 throws com.liferay.portal.SystemException,
261 com.liferay.portlet.journal.NoSuchArticleException;
262
263 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
264 long groupId, java.lang.String structureId)
265 throws com.liferay.portal.SystemException;
266
267 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
268 long groupId, java.lang.String structureId, int start, int end)
269 throws com.liferay.portal.SystemException;
270
271 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
272 long groupId, java.lang.String structureId, int start, int end,
273 com.liferay.portal.kernel.util.OrderByComparator obc)
274 throws com.liferay.portal.SystemException;
275
276 public com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
277 long groupId, java.lang.String structureId,
278 com.liferay.portal.kernel.util.OrderByComparator obc)
279 throws com.liferay.portal.SystemException,
280 com.liferay.portlet.journal.NoSuchArticleException;
281
282 public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
283 long groupId, java.lang.String structureId,
284 com.liferay.portal.kernel.util.OrderByComparator obc)
285 throws com.liferay.portal.SystemException,
286 com.liferay.portlet.journal.NoSuchArticleException;
287
288 public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
289 long id, long groupId, java.lang.String structureId,
290 com.liferay.portal.kernel.util.OrderByComparator obc)
291 throws com.liferay.portal.SystemException,
292 com.liferay.portlet.journal.NoSuchArticleException;
293
294 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
295 long groupId, java.lang.String templateId)
296 throws com.liferay.portal.SystemException;
297
298 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
299 long groupId, java.lang.String templateId, int start, int end)
300 throws com.liferay.portal.SystemException;
301
302 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
303 long groupId, java.lang.String templateId, int start, int end,
304 com.liferay.portal.kernel.util.OrderByComparator obc)
305 throws com.liferay.portal.SystemException;
306
307 public com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
308 long groupId, java.lang.String templateId,
309 com.liferay.portal.kernel.util.OrderByComparator obc)
310 throws com.liferay.portal.SystemException,
311 com.liferay.portlet.journal.NoSuchArticleException;
312
313 public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
314 long groupId, java.lang.String templateId,
315 com.liferay.portal.kernel.util.OrderByComparator obc)
316 throws com.liferay.portal.SystemException,
317 com.liferay.portlet.journal.NoSuchArticleException;
318
319 public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
320 long id, long groupId, java.lang.String templateId,
321 com.liferay.portal.kernel.util.OrderByComparator obc)
322 throws com.liferay.portal.SystemException,
323 com.liferay.portlet.journal.NoSuchArticleException;
324
325 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
326 long groupId, java.lang.String urlTitle)
327 throws com.liferay.portal.SystemException;
328
329 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
330 long groupId, java.lang.String urlTitle, int start, int end)
331 throws com.liferay.portal.SystemException;
332
333 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
334 long groupId, java.lang.String urlTitle, int start, int end,
335 com.liferay.portal.kernel.util.OrderByComparator obc)
336 throws com.liferay.portal.SystemException;
337
338 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First(
339 long groupId, java.lang.String urlTitle,
340 com.liferay.portal.kernel.util.OrderByComparator obc)
341 throws com.liferay.portal.SystemException,
342 com.liferay.portlet.journal.NoSuchArticleException;
343
344 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last(
345 long groupId, java.lang.String urlTitle,
346 com.liferay.portal.kernel.util.OrderByComparator obc)
347 throws com.liferay.portal.SystemException,
348 com.liferay.portlet.journal.NoSuchArticleException;
349
350 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext(
351 long id, long groupId, java.lang.String urlTitle,
352 com.liferay.portal.kernel.util.OrderByComparator obc)
353 throws com.liferay.portal.SystemException,
354 com.liferay.portlet.journal.NoSuchArticleException;
355
356 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
357 long groupId, java.lang.String articleId, double version)
358 throws com.liferay.portal.SystemException,
359 com.liferay.portlet.journal.NoSuchArticleException;
360
361 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
362 long groupId, java.lang.String articleId, double version)
363 throws com.liferay.portal.SystemException;
364
365 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
366 long groupId, java.lang.String articleId, double version,
367 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
368
369 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_A(
370 long groupId, java.lang.String articleId, boolean approved)
371 throws com.liferay.portal.SystemException;
372
373 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_A(
374 long groupId, java.lang.String articleId, boolean approved, int start,
375 int end) throws com.liferay.portal.SystemException;
376
377 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_A(
378 long groupId, java.lang.String articleId, boolean approved, int start,
379 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
380 throws com.liferay.portal.SystemException;
381
382 public com.liferay.portlet.journal.model.JournalArticle findByG_A_A_First(
383 long groupId, java.lang.String articleId, boolean approved,
384 com.liferay.portal.kernel.util.OrderByComparator obc)
385 throws com.liferay.portal.SystemException,
386 com.liferay.portlet.journal.NoSuchArticleException;
387
388 public com.liferay.portlet.journal.model.JournalArticle findByG_A_A_Last(
389 long groupId, java.lang.String articleId, boolean approved,
390 com.liferay.portal.kernel.util.OrderByComparator obc)
391 throws com.liferay.portal.SystemException,
392 com.liferay.portlet.journal.NoSuchArticleException;
393
394 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_A_PrevAndNext(
395 long id, long groupId, java.lang.String articleId, boolean approved,
396 com.liferay.portal.kernel.util.OrderByComparator obc)
397 throws com.liferay.portal.SystemException,
398 com.liferay.portlet.journal.NoSuchArticleException;
399
400 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_A(
401 long groupId, java.lang.String urlTitle, boolean approved)
402 throws com.liferay.portal.SystemException;
403
404 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_A(
405 long groupId, java.lang.String urlTitle, boolean approved, int start,
406 int end) throws com.liferay.portal.SystemException;
407
408 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_A(
409 long groupId, java.lang.String urlTitle, boolean approved, int start,
410 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
411 throws com.liferay.portal.SystemException;
412
413 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_A_First(
414 long groupId, java.lang.String urlTitle, boolean approved,
415 com.liferay.portal.kernel.util.OrderByComparator obc)
416 throws com.liferay.portal.SystemException,
417 com.liferay.portlet.journal.NoSuchArticleException;
418
419 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_A_Last(
420 long groupId, java.lang.String urlTitle, boolean approved,
421 com.liferay.portal.kernel.util.OrderByComparator obc)
422 throws com.liferay.portal.SystemException,
423 com.liferay.portlet.journal.NoSuchArticleException;
424
425 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_A_PrevAndNext(
426 long id, long groupId, java.lang.String urlTitle, boolean approved,
427 com.liferay.portal.kernel.util.OrderByComparator obc)
428 throws com.liferay.portal.SystemException,
429 com.liferay.portlet.journal.NoSuchArticleException;
430
431 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
432 throws com.liferay.portal.SystemException;
433
434 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
435 int start, int end) throws com.liferay.portal.SystemException;
436
437 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
438 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
439 throws com.liferay.portal.SystemException;
440
441 public void removeByUuid(java.lang.String uuid)
442 throws com.liferay.portal.SystemException;
443
444 public void removeByUUID_G(java.lang.String uuid, long groupId)
445 throws com.liferay.portal.SystemException,
446 com.liferay.portlet.journal.NoSuchArticleException;
447
448 public void removeByGroupId(long groupId)
449 throws com.liferay.portal.SystemException;
450
451 public void removeByCompanyId(long companyId)
452 throws com.liferay.portal.SystemException;
453
454 public void removeBySmallImageId(long smallImageId)
455 throws com.liferay.portal.SystemException;
456
457 public void removeByR_A(long resourcePrimKey, boolean approved)
458 throws com.liferay.portal.SystemException;
459
460 public void removeByG_A(long groupId, java.lang.String articleId)
461 throws com.liferay.portal.SystemException;
462
463 public void removeByG_S(long groupId, java.lang.String structureId)
464 throws com.liferay.portal.SystemException;
465
466 public void removeByG_T(long groupId, java.lang.String templateId)
467 throws com.liferay.portal.SystemException;
468
469 public void removeByG_UT(long groupId, java.lang.String urlTitle)
470 throws com.liferay.portal.SystemException;
471
472 public void removeByG_A_V(long groupId, java.lang.String articleId,
473 double version)
474 throws com.liferay.portal.SystemException,
475 com.liferay.portlet.journal.NoSuchArticleException;
476
477 public void removeByG_A_A(long groupId, java.lang.String articleId,
478 boolean approved) throws com.liferay.portal.SystemException;
479
480 public void removeByG_UT_A(long groupId, java.lang.String urlTitle,
481 boolean approved) throws com.liferay.portal.SystemException;
482
483 public void removeAll() throws com.liferay.portal.SystemException;
484
485 public int countByUuid(java.lang.String uuid)
486 throws com.liferay.portal.SystemException;
487
488 public int countByUUID_G(java.lang.String uuid, long groupId)
489 throws com.liferay.portal.SystemException;
490
491 public int countByGroupId(long groupId)
492 throws com.liferay.portal.SystemException;
493
494 public int countByCompanyId(long companyId)
495 throws com.liferay.portal.SystemException;
496
497 public int countBySmallImageId(long smallImageId)
498 throws com.liferay.portal.SystemException;
499
500 public int countByR_A(long resourcePrimKey, boolean approved)
501 throws com.liferay.portal.SystemException;
502
503 public int countByG_A(long groupId, java.lang.String articleId)
504 throws com.liferay.portal.SystemException;
505
506 public int countByG_S(long groupId, java.lang.String structureId)
507 throws com.liferay.portal.SystemException;
508
509 public int countByG_T(long groupId, java.lang.String templateId)
510 throws com.liferay.portal.SystemException;
511
512 public int countByG_UT(long groupId, java.lang.String urlTitle)
513 throws com.liferay.portal.SystemException;
514
515 public int countByG_A_V(long groupId, java.lang.String articleId,
516 double version) throws com.liferay.portal.SystemException;
517
518 public int countByG_A_A(long groupId, java.lang.String articleId,
519 boolean approved) throws com.liferay.portal.SystemException;
520
521 public int countByG_UT_A(long groupId, java.lang.String urlTitle,
522 boolean approved) throws com.liferay.portal.SystemException;
523
524 public int countAll() throws com.liferay.portal.SystemException;
525 }