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