1
19
20 package com.liferay.portlet.wiki.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface WikiPagePersistence extends BasePersistence {
31 public void cacheResult(com.liferay.portlet.wiki.model.WikiPage wikiPage);
32
33 public void cacheResult(
34 java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages);
35
36 public void clearCache();
37
38 public com.liferay.portlet.wiki.model.WikiPage create(long pageId);
39
40 public com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
41 throws com.liferay.portal.SystemException,
42 com.liferay.portlet.wiki.NoSuchPageException;
43
44 public com.liferay.portlet.wiki.model.WikiPage remove(
45 com.liferay.portlet.wiki.model.WikiPage wikiPage)
46 throws com.liferay.portal.SystemException;
47
48
51 public com.liferay.portlet.wiki.model.WikiPage update(
52 com.liferay.portlet.wiki.model.WikiPage wikiPage)
53 throws com.liferay.portal.SystemException;
54
55
68 public com.liferay.portlet.wiki.model.WikiPage update(
69 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
70 throws com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.wiki.model.WikiPage updateImpl(
73 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
74 throws com.liferay.portal.SystemException;
75
76 public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
77 throws com.liferay.portal.SystemException,
78 com.liferay.portlet.wiki.NoSuchPageException;
79
80 public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
81 long pageId) throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
84 java.lang.String uuid) throws com.liferay.portal.SystemException;
85
86 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
87 java.lang.String uuid, int start, int end)
88 throws com.liferay.portal.SystemException;
89
90 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
91 java.lang.String uuid, int start, int end,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException;
94
95 public com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
96 java.lang.String uuid,
97 com.liferay.portal.kernel.util.OrderByComparator obc)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.wiki.NoSuchPageException;
100
101 public com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
102 java.lang.String uuid,
103 com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.SystemException,
105 com.liferay.portlet.wiki.NoSuchPageException;
106
107 public com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
108 long pageId, java.lang.String uuid,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.wiki.NoSuchPageException;
112
113 public com.liferay.portlet.wiki.model.WikiPage findByUUID_G(
114 java.lang.String uuid, long groupId)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.wiki.NoSuchPageException;
117
118 public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
119 java.lang.String uuid, long groupId)
120 throws com.liferay.portal.SystemException;
121
122 public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
123 java.lang.String uuid, long groupId, boolean retrieveFromCache)
124 throws com.liferay.portal.SystemException;
125
126 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
127 long nodeId) throws com.liferay.portal.SystemException;
128
129 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
130 long nodeId, int start, int end)
131 throws com.liferay.portal.SystemException;
132
133 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
134 long nodeId, int start, int end,
135 com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException;
137
138 public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
139 long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portlet.wiki.NoSuchPageException;
142
143 public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
144 long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException,
146 com.liferay.portlet.wiki.NoSuchPageException;
147
148 public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
149 long pageId, long nodeId,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.wiki.NoSuchPageException;
153
154 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
155 java.lang.String format) throws com.liferay.portal.SystemException;
156
157 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
158 java.lang.String format, int start, int end)
159 throws com.liferay.portal.SystemException;
160
161 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
162 java.lang.String format, int start, int end,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException;
165
166 public com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
167 java.lang.String format,
168 com.liferay.portal.kernel.util.OrderByComparator obc)
169 throws com.liferay.portal.SystemException,
170 com.liferay.portlet.wiki.NoSuchPageException;
171
172 public com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
173 java.lang.String format,
174 com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.wiki.NoSuchPageException;
177
178 public com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
179 long pageId, java.lang.String format,
180 com.liferay.portal.kernel.util.OrderByComparator obc)
181 throws com.liferay.portal.SystemException,
182 com.liferay.portlet.wiki.NoSuchPageException;
183
184 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
185 long nodeId, java.lang.String title)
186 throws com.liferay.portal.SystemException;
187
188 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
189 long nodeId, java.lang.String title, int start, int end)
190 throws com.liferay.portal.SystemException;
191
192 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
193 long nodeId, java.lang.String title, int start, int end,
194 com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException;
196
197 public com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
198 long nodeId, java.lang.String title,
199 com.liferay.portal.kernel.util.OrderByComparator obc)
200 throws com.liferay.portal.SystemException,
201 com.liferay.portlet.wiki.NoSuchPageException;
202
203 public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId,
204 java.lang.String title,
205 com.liferay.portal.kernel.util.OrderByComparator obc)
206 throws com.liferay.portal.SystemException,
207 com.liferay.portlet.wiki.NoSuchPageException;
208
209 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
210 long pageId, long nodeId, java.lang.String title,
211 com.liferay.portal.kernel.util.OrderByComparator obc)
212 throws com.liferay.portal.SystemException,
213 com.liferay.portlet.wiki.NoSuchPageException;
214
215 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
216 long nodeId, boolean head) throws com.liferay.portal.SystemException;
217
218 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
219 long nodeId, boolean head, int start, int end)
220 throws com.liferay.portal.SystemException;
221
222 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
223 long nodeId, boolean head, int start, int end,
224 com.liferay.portal.kernel.util.OrderByComparator obc)
225 throws com.liferay.portal.SystemException;
226
227 public com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
228 long nodeId, boolean head,
229 com.liferay.portal.kernel.util.OrderByComparator obc)
230 throws com.liferay.portal.SystemException,
231 com.liferay.portlet.wiki.NoSuchPageException;
232
233 public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId,
234 boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
235 throws com.liferay.portal.SystemException,
236 com.liferay.portlet.wiki.NoSuchPageException;
237
238 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
239 long pageId, long nodeId, boolean head,
240 com.liferay.portal.kernel.util.OrderByComparator obc)
241 throws com.liferay.portal.SystemException,
242 com.liferay.portlet.wiki.NoSuchPageException;
243
244 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
245 long nodeId, java.lang.String parentTitle)
246 throws com.liferay.portal.SystemException;
247
248 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
249 long nodeId, java.lang.String parentTitle, int start, int end)
250 throws com.liferay.portal.SystemException;
251
252 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
253 long nodeId, java.lang.String parentTitle, int start, int end,
254 com.liferay.portal.kernel.util.OrderByComparator obc)
255 throws com.liferay.portal.SystemException;
256
257 public com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
258 long nodeId, java.lang.String parentTitle,
259 com.liferay.portal.kernel.util.OrderByComparator obc)
260 throws com.liferay.portal.SystemException,
261 com.liferay.portlet.wiki.NoSuchPageException;
262
263 public com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(long nodeId,
264 java.lang.String parentTitle,
265 com.liferay.portal.kernel.util.OrderByComparator obc)
266 throws com.liferay.portal.SystemException,
267 com.liferay.portlet.wiki.NoSuchPageException;
268
269 public com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
270 long pageId, long nodeId, java.lang.String parentTitle,
271 com.liferay.portal.kernel.util.OrderByComparator obc)
272 throws com.liferay.portal.SystemException,
273 com.liferay.portlet.wiki.NoSuchPageException;
274
275 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
276 long nodeId, java.lang.String redirectTitle)
277 throws com.liferay.portal.SystemException;
278
279 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
280 long nodeId, java.lang.String redirectTitle, int start, int end)
281 throws com.liferay.portal.SystemException;
282
283 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
284 long nodeId, java.lang.String redirectTitle, int start, int end,
285 com.liferay.portal.kernel.util.OrderByComparator obc)
286 throws com.liferay.portal.SystemException;
287
288 public com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
289 long nodeId, java.lang.String redirectTitle,
290 com.liferay.portal.kernel.util.OrderByComparator obc)
291 throws com.liferay.portal.SystemException,
292 com.liferay.portlet.wiki.NoSuchPageException;
293
294 public com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(long nodeId,
295 java.lang.String redirectTitle,
296 com.liferay.portal.kernel.util.OrderByComparator obc)
297 throws com.liferay.portal.SystemException,
298 com.liferay.portlet.wiki.NoSuchPageException;
299
300 public com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
301 long pageId, long nodeId, java.lang.String redirectTitle,
302 com.liferay.portal.kernel.util.OrderByComparator obc)
303 throws com.liferay.portal.SystemException,
304 com.liferay.portlet.wiki.NoSuchPageException;
305
306 public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId,
307 java.lang.String title, double version)
308 throws com.liferay.portal.SystemException,
309 com.liferay.portlet.wiki.NoSuchPageException;
310
311 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
312 java.lang.String title, double version)
313 throws com.liferay.portal.SystemException;
314
315 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
316 java.lang.String title, double version, boolean retrieveFromCache)
317 throws com.liferay.portal.SystemException;
318
319 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
320 long nodeId, java.lang.String title, boolean head)
321 throws com.liferay.portal.SystemException;
322
323 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
324 long nodeId, java.lang.String title, boolean head, int start, int end)
325 throws com.liferay.portal.SystemException;
326
327 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
328 long nodeId, java.lang.String title, boolean head, int start, int end,
329 com.liferay.portal.kernel.util.OrderByComparator obc)
330 throws com.liferay.portal.SystemException;
331
332 public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
333 long nodeId, java.lang.String title, boolean head,
334 com.liferay.portal.kernel.util.OrderByComparator obc)
335 throws com.liferay.portal.SystemException,
336 com.liferay.portlet.wiki.NoSuchPageException;
337
338 public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
339 long nodeId, java.lang.String title, boolean head,
340 com.liferay.portal.kernel.util.OrderByComparator obc)
341 throws com.liferay.portal.SystemException,
342 com.liferay.portlet.wiki.NoSuchPageException;
343
344 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
345 long pageId, long nodeId, java.lang.String title, boolean head,
346 com.liferay.portal.kernel.util.OrderByComparator obc)
347 throws com.liferay.portal.SystemException,
348 com.liferay.portlet.wiki.NoSuchPageException;
349
350 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
351 long nodeId, boolean head, java.lang.String parentTitle)
352 throws com.liferay.portal.SystemException;
353
354 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
355 long nodeId, boolean head, java.lang.String parentTitle, int start,
356 int end) throws com.liferay.portal.SystemException;
357
358 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
359 long nodeId, boolean head, java.lang.String parentTitle, int start,
360 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
361 throws com.liferay.portal.SystemException;
362
363 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
364 long nodeId, boolean head, java.lang.String parentTitle,
365 com.liferay.portal.kernel.util.OrderByComparator obc)
366 throws com.liferay.portal.SystemException,
367 com.liferay.portlet.wiki.NoSuchPageException;
368
369 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
370 long nodeId, boolean head, java.lang.String parentTitle,
371 com.liferay.portal.kernel.util.OrderByComparator obc)
372 throws com.liferay.portal.SystemException,
373 com.liferay.portlet.wiki.NoSuchPageException;
374
375 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
376 long pageId, long nodeId, boolean head, java.lang.String parentTitle,
377 com.liferay.portal.kernel.util.OrderByComparator obc)
378 throws com.liferay.portal.SystemException,
379 com.liferay.portlet.wiki.NoSuchPageException;
380
381 public java.util.List<Object> findWithDynamicQuery(
382 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
383 throws com.liferay.portal.SystemException;
384
385 public java.util.List<Object> findWithDynamicQuery(
386 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
387 int end) throws com.liferay.portal.SystemException;
388
389 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
390 throws com.liferay.portal.SystemException;
391
392 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
393 int start, int end) throws com.liferay.portal.SystemException;
394
395 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
396 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
397 throws com.liferay.portal.SystemException;
398
399 public void removeByUuid(java.lang.String uuid)
400 throws com.liferay.portal.SystemException;
401
402 public void removeByUUID_G(java.lang.String uuid, long groupId)
403 throws com.liferay.portal.SystemException,
404 com.liferay.portlet.wiki.NoSuchPageException;
405
406 public void removeByNodeId(long nodeId)
407 throws com.liferay.portal.SystemException;
408
409 public void removeByFormat(java.lang.String format)
410 throws com.liferay.portal.SystemException;
411
412 public void removeByN_T(long nodeId, java.lang.String title)
413 throws com.liferay.portal.SystemException;
414
415 public void removeByN_H(long nodeId, boolean head)
416 throws com.liferay.portal.SystemException;
417
418 public void removeByN_P(long nodeId, java.lang.String parentTitle)
419 throws com.liferay.portal.SystemException;
420
421 public void removeByN_R(long nodeId, java.lang.String redirectTitle)
422 throws com.liferay.portal.SystemException;
423
424 public void removeByN_T_V(long nodeId, java.lang.String title,
425 double version)
426 throws com.liferay.portal.SystemException,
427 com.liferay.portlet.wiki.NoSuchPageException;
428
429 public void removeByN_T_H(long nodeId, java.lang.String title, boolean head)
430 throws com.liferay.portal.SystemException;
431
432 public void removeByN_H_P(long nodeId, boolean head,
433 java.lang.String parentTitle) throws com.liferay.portal.SystemException;
434
435 public void removeAll() throws com.liferay.portal.SystemException;
436
437 public int countByUuid(java.lang.String uuid)
438 throws com.liferay.portal.SystemException;
439
440 public int countByUUID_G(java.lang.String uuid, long groupId)
441 throws com.liferay.portal.SystemException;
442
443 public int countByNodeId(long nodeId)
444 throws com.liferay.portal.SystemException;
445
446 public int countByFormat(java.lang.String format)
447 throws com.liferay.portal.SystemException;
448
449 public int countByN_T(long nodeId, java.lang.String title)
450 throws com.liferay.portal.SystemException;
451
452 public int countByN_H(long nodeId, boolean head)
453 throws com.liferay.portal.SystemException;
454
455 public int countByN_P(long nodeId, java.lang.String parentTitle)
456 throws com.liferay.portal.SystemException;
457
458 public int countByN_R(long nodeId, java.lang.String redirectTitle)
459 throws com.liferay.portal.SystemException;
460
461 public int countByN_T_V(long nodeId, java.lang.String title, double version)
462 throws com.liferay.portal.SystemException;
463
464 public int countByN_T_H(long nodeId, java.lang.String title, boolean head)
465 throws com.liferay.portal.SystemException;
466
467 public int countByN_H_P(long nodeId, boolean head,
468 java.lang.String parentTitle) throws com.liferay.portal.SystemException;
469
470 public int countAll() throws com.liferay.portal.SystemException;
471 }