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