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