1
14
15 package com.liferay.portlet.wiki.service.persistence;
16
17 import com.liferay.portal.SystemException;
18 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
19 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
20
21 import com.liferay.portlet.wiki.model.WikiPage;
22
23 import java.util.List;
24
25
38 public class WikiPageUtil {
39
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46
49 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
50 throws SystemException {
51 return getPersistence().findWithDynamicQuery(dynamicQuery);
52 }
53
54
57 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
58 int start, int end) throws SystemException {
59 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
60 }
61
62
65 public static WikiPage remove(WikiPage wikiPage) throws SystemException {
66 return getPersistence().remove(wikiPage);
67 }
68
69
72 public static WikiPage update(WikiPage wikiPage, boolean merge)
73 throws SystemException {
74 return getPersistence().update(wikiPage, merge);
75 }
76
77 public static void cacheResult(
78 com.liferay.portlet.wiki.model.WikiPage wikiPage) {
79 getPersistence().cacheResult(wikiPage);
80 }
81
82 public static void cacheResult(
83 java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages) {
84 getPersistence().cacheResult(wikiPages);
85 }
86
87 public static com.liferay.portlet.wiki.model.WikiPage create(long pageId) {
88 return getPersistence().create(pageId);
89 }
90
91 public static com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
92 throws com.liferay.portal.SystemException,
93 com.liferay.portlet.wiki.NoSuchPageException {
94 return getPersistence().remove(pageId);
95 }
96
97
100 public static com.liferay.portlet.wiki.model.WikiPage update(
101 com.liferay.portlet.wiki.model.WikiPage wikiPage)
102 throws com.liferay.portal.SystemException {
103 return getPersistence().update(wikiPage);
104 }
105
106 public static com.liferay.portlet.wiki.model.WikiPage updateImpl(
107 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
108 throws com.liferay.portal.SystemException {
109 return getPersistence().updateImpl(wikiPage, merge);
110 }
111
112 public static com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(
113 long pageId)
114 throws com.liferay.portal.SystemException,
115 com.liferay.portlet.wiki.NoSuchPageException {
116 return getPersistence().findByPrimaryKey(pageId);
117 }
118
119 public static com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
120 long pageId) throws com.liferay.portal.SystemException {
121 return getPersistence().fetchByPrimaryKey(pageId);
122 }
123
124 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
125 java.lang.String uuid) throws com.liferay.portal.SystemException {
126 return getPersistence().findByUuid(uuid);
127 }
128
129 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
130 java.lang.String uuid, int start, int end)
131 throws com.liferay.portal.SystemException {
132 return getPersistence().findByUuid(uuid, start, end);
133 }
134
135 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
136 java.lang.String uuid, int start, int end,
137 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138 throws com.liferay.portal.SystemException {
139 return getPersistence().findByUuid(uuid, start, end, orderByComparator);
140 }
141
142 public static com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
143 java.lang.String uuid,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.SystemException,
146 com.liferay.portlet.wiki.NoSuchPageException {
147 return getPersistence().findByUuid_First(uuid, orderByComparator);
148 }
149
150 public static com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
151 java.lang.String uuid,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.SystemException,
154 com.liferay.portlet.wiki.NoSuchPageException {
155 return getPersistence().findByUuid_Last(uuid, orderByComparator);
156 }
157
158 public static com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
159 long pageId, java.lang.String uuid,
160 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.wiki.NoSuchPageException {
163 return getPersistence()
164 .findByUuid_PrevAndNext(pageId, uuid, orderByComparator);
165 }
166
167 public static com.liferay.portlet.wiki.model.WikiPage findByUUID_G(
168 java.lang.String uuid, long groupId)
169 throws com.liferay.portal.SystemException,
170 com.liferay.portlet.wiki.NoSuchPageException {
171 return getPersistence().findByUUID_G(uuid, groupId);
172 }
173
174 public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
175 java.lang.String uuid, long groupId)
176 throws com.liferay.portal.SystemException {
177 return getPersistence().fetchByUUID_G(uuid, groupId);
178 }
179
180 public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
181 java.lang.String uuid, long groupId, boolean retrieveFromCache)
182 throws com.liferay.portal.SystemException {
183 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
184 }
185
186 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
187 long nodeId) throws com.liferay.portal.SystemException {
188 return getPersistence().findByNodeId(nodeId);
189 }
190
191 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
192 long nodeId, int start, int end)
193 throws com.liferay.portal.SystemException {
194 return getPersistence().findByNodeId(nodeId, start, end);
195 }
196
197 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
198 long nodeId, int start, int end,
199 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
200 throws com.liferay.portal.SystemException {
201 return getPersistence()
202 .findByNodeId(nodeId, start, end, orderByComparator);
203 }
204
205 public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
206 long nodeId,
207 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
208 throws com.liferay.portal.SystemException,
209 com.liferay.portlet.wiki.NoSuchPageException {
210 return getPersistence().findByNodeId_First(nodeId, orderByComparator);
211 }
212
213 public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
214 long nodeId,
215 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
216 throws com.liferay.portal.SystemException,
217 com.liferay.portlet.wiki.NoSuchPageException {
218 return getPersistence().findByNodeId_Last(nodeId, orderByComparator);
219 }
220
221 public static com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
222 long pageId, long nodeId,
223 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
224 throws com.liferay.portal.SystemException,
225 com.liferay.portlet.wiki.NoSuchPageException {
226 return getPersistence()
227 .findByNodeId_PrevAndNext(pageId, nodeId, orderByComparator);
228 }
229
230 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
231 java.lang.String format) throws com.liferay.portal.SystemException {
232 return getPersistence().findByFormat(format);
233 }
234
235 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
236 java.lang.String format, int start, int end)
237 throws com.liferay.portal.SystemException {
238 return getPersistence().findByFormat(format, start, end);
239 }
240
241 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
242 java.lang.String format, int start, int end,
243 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
244 throws com.liferay.portal.SystemException {
245 return getPersistence()
246 .findByFormat(format, start, end, orderByComparator);
247 }
248
249 public static com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
250 java.lang.String format,
251 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
252 throws com.liferay.portal.SystemException,
253 com.liferay.portlet.wiki.NoSuchPageException {
254 return getPersistence().findByFormat_First(format, orderByComparator);
255 }
256
257 public static com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
258 java.lang.String format,
259 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
260 throws com.liferay.portal.SystemException,
261 com.liferay.portlet.wiki.NoSuchPageException {
262 return getPersistence().findByFormat_Last(format, orderByComparator);
263 }
264
265 public static com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
266 long pageId, java.lang.String format,
267 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
268 throws com.liferay.portal.SystemException,
269 com.liferay.portlet.wiki.NoSuchPageException {
270 return getPersistence()
271 .findByFormat_PrevAndNext(pageId, format, orderByComparator);
272 }
273
274 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
275 long nodeId, java.lang.String title)
276 throws com.liferay.portal.SystemException {
277 return getPersistence().findByN_T(nodeId, title);
278 }
279
280 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
281 long nodeId, java.lang.String title, int start, int end)
282 throws com.liferay.portal.SystemException {
283 return getPersistence().findByN_T(nodeId, title, start, end);
284 }
285
286 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
287 long nodeId, java.lang.String title, int start, int end,
288 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
289 throws com.liferay.portal.SystemException {
290 return getPersistence()
291 .findByN_T(nodeId, title, start, end, orderByComparator);
292 }
293
294 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
295 long nodeId, java.lang.String title,
296 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
297 throws com.liferay.portal.SystemException,
298 com.liferay.portlet.wiki.NoSuchPageException {
299 return getPersistence().findByN_T_First(nodeId, title, orderByComparator);
300 }
301
302 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(
303 long nodeId, java.lang.String title,
304 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
305 throws com.liferay.portal.SystemException,
306 com.liferay.portlet.wiki.NoSuchPageException {
307 return getPersistence().findByN_T_Last(nodeId, title, orderByComparator);
308 }
309
310 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
311 long pageId, long nodeId, java.lang.String title,
312 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
313 throws com.liferay.portal.SystemException,
314 com.liferay.portlet.wiki.NoSuchPageException {
315 return getPersistence()
316 .findByN_T_PrevAndNext(pageId, nodeId, title,
317 orderByComparator);
318 }
319
320 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
321 long nodeId, boolean head) throws com.liferay.portal.SystemException {
322 return getPersistence().findByN_H(nodeId, head);
323 }
324
325 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
326 long nodeId, boolean head, int start, int end)
327 throws com.liferay.portal.SystemException {
328 return getPersistence().findByN_H(nodeId, head, start, end);
329 }
330
331 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
332 long nodeId, boolean head, int start, int end,
333 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
334 throws com.liferay.portal.SystemException {
335 return getPersistence()
336 .findByN_H(nodeId, head, start, end, orderByComparator);
337 }
338
339 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
340 long nodeId, boolean head,
341 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
342 throws com.liferay.portal.SystemException,
343 com.liferay.portlet.wiki.NoSuchPageException {
344 return getPersistence().findByN_H_First(nodeId, head, orderByComparator);
345 }
346
347 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(
348 long nodeId, boolean head,
349 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
350 throws com.liferay.portal.SystemException,
351 com.liferay.portlet.wiki.NoSuchPageException {
352 return getPersistence().findByN_H_Last(nodeId, head, orderByComparator);
353 }
354
355 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
356 long pageId, long nodeId, boolean head,
357 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
358 throws com.liferay.portal.SystemException,
359 com.liferay.portlet.wiki.NoSuchPageException {
360 return getPersistence()
361 .findByN_H_PrevAndNext(pageId, nodeId, head,
362 orderByComparator);
363 }
364
365 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
366 long nodeId, java.lang.String parentTitle)
367 throws com.liferay.portal.SystemException {
368 return getPersistence().findByN_P(nodeId, parentTitle);
369 }
370
371 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
372 long nodeId, java.lang.String parentTitle, int start, int end)
373 throws com.liferay.portal.SystemException {
374 return getPersistence().findByN_P(nodeId, parentTitle, start, end);
375 }
376
377 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
378 long nodeId, java.lang.String parentTitle, int start, int end,
379 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
380 throws com.liferay.portal.SystemException {
381 return getPersistence()
382 .findByN_P(nodeId, parentTitle, start, end, orderByComparator);
383 }
384
385 public static com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
386 long nodeId, java.lang.String parentTitle,
387 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
388 throws com.liferay.portal.SystemException,
389 com.liferay.portlet.wiki.NoSuchPageException {
390 return getPersistence()
391 .findByN_P_First(nodeId, parentTitle, orderByComparator);
392 }
393
394 public static com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(
395 long nodeId, java.lang.String parentTitle,
396 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
397 throws com.liferay.portal.SystemException,
398 com.liferay.portlet.wiki.NoSuchPageException {
399 return getPersistence()
400 .findByN_P_Last(nodeId, parentTitle, orderByComparator);
401 }
402
403 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
404 long pageId, long nodeId, java.lang.String parentTitle,
405 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
406 throws com.liferay.portal.SystemException,
407 com.liferay.portlet.wiki.NoSuchPageException {
408 return getPersistence()
409 .findByN_P_PrevAndNext(pageId, nodeId, parentTitle,
410 orderByComparator);
411 }
412
413 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
414 long nodeId, java.lang.String redirectTitle)
415 throws com.liferay.portal.SystemException {
416 return getPersistence().findByN_R(nodeId, redirectTitle);
417 }
418
419 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
420 long nodeId, java.lang.String redirectTitle, int start, int end)
421 throws com.liferay.portal.SystemException {
422 return getPersistence().findByN_R(nodeId, redirectTitle, start, end);
423 }
424
425 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
426 long nodeId, java.lang.String redirectTitle, int start, int end,
427 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
428 throws com.liferay.portal.SystemException {
429 return getPersistence()
430 .findByN_R(nodeId, redirectTitle, start, end,
431 orderByComparator);
432 }
433
434 public static com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
435 long nodeId, java.lang.String redirectTitle,
436 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
437 throws com.liferay.portal.SystemException,
438 com.liferay.portlet.wiki.NoSuchPageException {
439 return getPersistence()
440 .findByN_R_First(nodeId, redirectTitle, orderByComparator);
441 }
442
443 public static com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(
444 long nodeId, java.lang.String redirectTitle,
445 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
446 throws com.liferay.portal.SystemException,
447 com.liferay.portlet.wiki.NoSuchPageException {
448 return getPersistence()
449 .findByN_R_Last(nodeId, redirectTitle, orderByComparator);
450 }
451
452 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
453 long pageId, long nodeId, java.lang.String redirectTitle,
454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
455 throws com.liferay.portal.SystemException,
456 com.liferay.portlet.wiki.NoSuchPageException {
457 return getPersistence()
458 .findByN_R_PrevAndNext(pageId, nodeId, redirectTitle,
459 orderByComparator);
460 }
461
462 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_V(
463 long nodeId, java.lang.String title, double version)
464 throws com.liferay.portal.SystemException,
465 com.liferay.portlet.wiki.NoSuchPageException {
466 return getPersistence().findByN_T_V(nodeId, title, version);
467 }
468
469 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(
470 long nodeId, java.lang.String title, double version)
471 throws com.liferay.portal.SystemException {
472 return getPersistence().fetchByN_T_V(nodeId, title, version);
473 }
474
475 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(
476 long nodeId, java.lang.String title, double version,
477 boolean retrieveFromCache) throws com.liferay.portal.SystemException {
478 return getPersistence()
479 .fetchByN_T_V(nodeId, title, version, retrieveFromCache);
480 }
481
482 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
483 long nodeId, java.lang.String title, boolean head)
484 throws com.liferay.portal.SystemException {
485 return getPersistence().findByN_T_H(nodeId, title, head);
486 }
487
488 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
489 long nodeId, java.lang.String title, boolean head, int start, int end)
490 throws com.liferay.portal.SystemException {
491 return getPersistence().findByN_T_H(nodeId, title, head, start, end);
492 }
493
494 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
495 long nodeId, java.lang.String title, boolean head, int start, int end,
496 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
497 throws com.liferay.portal.SystemException {
498 return getPersistence()
499 .findByN_T_H(nodeId, title, head, start, end,
500 orderByComparator);
501 }
502
503 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
504 long nodeId, java.lang.String title, boolean head,
505 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
506 throws com.liferay.portal.SystemException,
507 com.liferay.portlet.wiki.NoSuchPageException {
508 return getPersistence()
509 .findByN_T_H_First(nodeId, title, head, orderByComparator);
510 }
511
512 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
513 long nodeId, java.lang.String title, boolean head,
514 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
515 throws com.liferay.portal.SystemException,
516 com.liferay.portlet.wiki.NoSuchPageException {
517 return getPersistence()
518 .findByN_T_H_Last(nodeId, title, head, orderByComparator);
519 }
520
521 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
522 long pageId, long nodeId, java.lang.String title, boolean head,
523 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
524 throws com.liferay.portal.SystemException,
525 com.liferay.portlet.wiki.NoSuchPageException {
526 return getPersistence()
527 .findByN_T_H_PrevAndNext(pageId, nodeId, title, head,
528 orderByComparator);
529 }
530
531 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
532 long nodeId, boolean head, java.lang.String parentTitle)
533 throws com.liferay.portal.SystemException {
534 return getPersistence().findByN_H_P(nodeId, head, parentTitle);
535 }
536
537 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
538 long nodeId, boolean head, java.lang.String parentTitle, int start,
539 int end) throws com.liferay.portal.SystemException {
540 return getPersistence()
541 .findByN_H_P(nodeId, head, parentTitle, start, end);
542 }
543
544 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
545 long nodeId, boolean head, java.lang.String parentTitle, int start,
546 int end,
547 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
548 throws com.liferay.portal.SystemException {
549 return getPersistence()
550 .findByN_H_P(nodeId, head, parentTitle, start, end,
551 orderByComparator);
552 }
553
554 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
555 long nodeId, boolean head, java.lang.String parentTitle,
556 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
557 throws com.liferay.portal.SystemException,
558 com.liferay.portlet.wiki.NoSuchPageException {
559 return getPersistence()
560 .findByN_H_P_First(nodeId, head, parentTitle,
561 orderByComparator);
562 }
563
564 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
565 long nodeId, boolean head, java.lang.String parentTitle,
566 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
567 throws com.liferay.portal.SystemException,
568 com.liferay.portlet.wiki.NoSuchPageException {
569 return getPersistence()
570 .findByN_H_P_Last(nodeId, head, parentTitle,
571 orderByComparator);
572 }
573
574 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
575 long pageId, long nodeId, boolean head, java.lang.String parentTitle,
576 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
577 throws com.liferay.portal.SystemException,
578 com.liferay.portlet.wiki.NoSuchPageException {
579 return getPersistence()
580 .findByN_H_P_PrevAndNext(pageId, nodeId, head, parentTitle,
581 orderByComparator);
582 }
583
584 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
585 throws com.liferay.portal.SystemException {
586 return getPersistence().findAll();
587 }
588
589 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
590 int start, int end) throws com.liferay.portal.SystemException {
591 return getPersistence().findAll(start, end);
592 }
593
594 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
595 int start, int end,
596 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
597 throws com.liferay.portal.SystemException {
598 return getPersistence().findAll(start, end, orderByComparator);
599 }
600
601 public static void removeByUuid(java.lang.String uuid)
602 throws com.liferay.portal.SystemException {
603 getPersistence().removeByUuid(uuid);
604 }
605
606 public static void removeByUUID_G(java.lang.String uuid, long groupId)
607 throws com.liferay.portal.SystemException,
608 com.liferay.portlet.wiki.NoSuchPageException {
609 getPersistence().removeByUUID_G(uuid, groupId);
610 }
611
612 public static void removeByNodeId(long nodeId)
613 throws com.liferay.portal.SystemException {
614 getPersistence().removeByNodeId(nodeId);
615 }
616
617 public static void removeByFormat(java.lang.String format)
618 throws com.liferay.portal.SystemException {
619 getPersistence().removeByFormat(format);
620 }
621
622 public static void removeByN_T(long nodeId, java.lang.String title)
623 throws com.liferay.portal.SystemException {
624 getPersistence().removeByN_T(nodeId, title);
625 }
626
627 public static void removeByN_H(long nodeId, boolean head)
628 throws com.liferay.portal.SystemException {
629 getPersistence().removeByN_H(nodeId, head);
630 }
631
632 public static void removeByN_P(long nodeId, java.lang.String parentTitle)
633 throws com.liferay.portal.SystemException {
634 getPersistence().removeByN_P(nodeId, parentTitle);
635 }
636
637 public static void removeByN_R(long nodeId, java.lang.String redirectTitle)
638 throws com.liferay.portal.SystemException {
639 getPersistence().removeByN_R(nodeId, redirectTitle);
640 }
641
642 public static void removeByN_T_V(long nodeId, java.lang.String title,
643 double version)
644 throws com.liferay.portal.SystemException,
645 com.liferay.portlet.wiki.NoSuchPageException {
646 getPersistence().removeByN_T_V(nodeId, title, version);
647 }
648
649 public static void removeByN_T_H(long nodeId, java.lang.String title,
650 boolean head) throws com.liferay.portal.SystemException {
651 getPersistence().removeByN_T_H(nodeId, title, head);
652 }
653
654 public static void removeByN_H_P(long nodeId, boolean head,
655 java.lang.String parentTitle) throws com.liferay.portal.SystemException {
656 getPersistence().removeByN_H_P(nodeId, head, parentTitle);
657 }
658
659 public static void removeAll() throws com.liferay.portal.SystemException {
660 getPersistence().removeAll();
661 }
662
663 public static int countByUuid(java.lang.String uuid)
664 throws com.liferay.portal.SystemException {
665 return getPersistence().countByUuid(uuid);
666 }
667
668 public static int countByUUID_G(java.lang.String uuid, long groupId)
669 throws com.liferay.portal.SystemException {
670 return getPersistence().countByUUID_G(uuid, groupId);
671 }
672
673 public static int countByNodeId(long nodeId)
674 throws com.liferay.portal.SystemException {
675 return getPersistence().countByNodeId(nodeId);
676 }
677
678 public static int countByFormat(java.lang.String format)
679 throws com.liferay.portal.SystemException {
680 return getPersistence().countByFormat(format);
681 }
682
683 public static int countByN_T(long nodeId, java.lang.String title)
684 throws com.liferay.portal.SystemException {
685 return getPersistence().countByN_T(nodeId, title);
686 }
687
688 public static int countByN_H(long nodeId, boolean head)
689 throws com.liferay.portal.SystemException {
690 return getPersistence().countByN_H(nodeId, head);
691 }
692
693 public static int countByN_P(long nodeId, java.lang.String parentTitle)
694 throws com.liferay.portal.SystemException {
695 return getPersistence().countByN_P(nodeId, parentTitle);
696 }
697
698 public static int countByN_R(long nodeId, java.lang.String redirectTitle)
699 throws com.liferay.portal.SystemException {
700 return getPersistence().countByN_R(nodeId, redirectTitle);
701 }
702
703 public static int countByN_T_V(long nodeId, java.lang.String title,
704 double version) throws com.liferay.portal.SystemException {
705 return getPersistence().countByN_T_V(nodeId, title, version);
706 }
707
708 public static int countByN_T_H(long nodeId, java.lang.String title,
709 boolean head) throws com.liferay.portal.SystemException {
710 return getPersistence().countByN_T_H(nodeId, title, head);
711 }
712
713 public static int countByN_H_P(long nodeId, boolean head,
714 java.lang.String parentTitle) throws com.liferay.portal.SystemException {
715 return getPersistence().countByN_H_P(nodeId, head, parentTitle);
716 }
717
718 public static int countAll() throws com.liferay.portal.SystemException {
719 return getPersistence().countAll();
720 }
721
722 public static WikiPagePersistence getPersistence() {
723 if (_persistence == null) {
724 _persistence = (WikiPagePersistence)PortalBeanLocatorUtil.locate(WikiPagePersistence.class.getName());
725 }
726
727 return _persistence;
728 }
729
730 public void setPersistence(WikiPagePersistence persistence) {
731 _persistence = persistence;
732 }
733
734 private static WikiPagePersistence _persistence;
735 }