1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.wiki.service.persistence;
24  
25  /**
26   * <a href="WikiPageUtil.java.html"><b><i>View Source</i></b></a>
27   *
28   * @author Brian Wing Shun Chan
29   *
30   */
31  public class WikiPageUtil {
32      public static com.liferay.portlet.wiki.model.WikiPage create(long pageId) {
33          return getPersistence().create(pageId);
34      }
35  
36      public static com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
37          throws com.liferay.portal.SystemException,
38              com.liferay.portlet.wiki.NoSuchPageException {
39          return getPersistence().remove(pageId);
40      }
41  
42      public static com.liferay.portlet.wiki.model.WikiPage remove(
43          com.liferay.portlet.wiki.model.WikiPage wikiPage)
44          throws com.liferay.portal.SystemException {
45          return getPersistence().remove(wikiPage);
46      }
47  
48      /**
49       * @deprecated Use <code>update(WikiPage wikiPage, boolean merge)</code>.
50       */
51      public static com.liferay.portlet.wiki.model.WikiPage update(
52          com.liferay.portlet.wiki.model.WikiPage wikiPage)
53          throws com.liferay.portal.SystemException {
54          return getPersistence().update(wikiPage);
55      }
56  
57      /**
58       * Add, update, or merge, the entity. This method also calls the model
59       * listeners to trigger the proper events associated with adding, deleting,
60       * or updating an entity.
61       *
62       * @param        wikiPage the entity to add, update, or merge
63       * @param        merge boolean value for whether to merge the entity. The
64       *                default value is false. Setting merge to true is more
65       *                expensive and should only be true when wikiPage is
66       *                transient. See LEP-5473 for a detailed discussion of this
67       *                method.
68       * @return        true if the portlet can be displayed via Ajax
69       */
70      public static com.liferay.portlet.wiki.model.WikiPage update(
71          com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
72          throws com.liferay.portal.SystemException {
73          return getPersistence().update(wikiPage, merge);
74      }
75  
76      public static com.liferay.portlet.wiki.model.WikiPage updateImpl(
77          com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
78          throws com.liferay.portal.SystemException {
79          return getPersistence().updateImpl(wikiPage, merge);
80      }
81  
82      public static com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(
83          long pageId)
84          throws com.liferay.portal.SystemException,
85              com.liferay.portlet.wiki.NoSuchPageException {
86          return getPersistence().findByPrimaryKey(pageId);
87      }
88  
89      public static com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
90          long pageId) throws com.liferay.portal.SystemException {
91          return getPersistence().fetchByPrimaryKey(pageId);
92      }
93  
94      public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
95          java.lang.String uuid) throws com.liferay.portal.SystemException {
96          return getPersistence().findByUuid(uuid);
97      }
98  
99      public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
100         java.lang.String uuid, int start, int end)
101         throws com.liferay.portal.SystemException {
102         return getPersistence().findByUuid(uuid, start, end);
103     }
104 
105     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
106         java.lang.String uuid, int start, int end,
107         com.liferay.portal.kernel.util.OrderByComparator obc)
108         throws com.liferay.portal.SystemException {
109         return getPersistence().findByUuid(uuid, start, end, obc);
110     }
111 
112     public static com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
113         java.lang.String uuid,
114         com.liferay.portal.kernel.util.OrderByComparator obc)
115         throws com.liferay.portal.SystemException,
116             com.liferay.portlet.wiki.NoSuchPageException {
117         return getPersistence().findByUuid_First(uuid, obc);
118     }
119 
120     public static com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
121         java.lang.String uuid,
122         com.liferay.portal.kernel.util.OrderByComparator obc)
123         throws com.liferay.portal.SystemException,
124             com.liferay.portlet.wiki.NoSuchPageException {
125         return getPersistence().findByUuid_Last(uuid, obc);
126     }
127 
128     public static com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
129         long pageId, java.lang.String uuid,
130         com.liferay.portal.kernel.util.OrderByComparator obc)
131         throws com.liferay.portal.SystemException,
132             com.liferay.portlet.wiki.NoSuchPageException {
133         return getPersistence().findByUuid_PrevAndNext(pageId, uuid, obc);
134     }
135 
136     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
137         long nodeId) throws com.liferay.portal.SystemException {
138         return getPersistence().findByNodeId(nodeId);
139     }
140 
141     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
142         long nodeId, int start, int end)
143         throws com.liferay.portal.SystemException {
144         return getPersistence().findByNodeId(nodeId, start, end);
145     }
146 
147     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
148         long nodeId, int start, int end,
149         com.liferay.portal.kernel.util.OrderByComparator obc)
150         throws com.liferay.portal.SystemException {
151         return getPersistence().findByNodeId(nodeId, start, end, obc);
152     }
153 
154     public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
155         long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
156         throws com.liferay.portal.SystemException,
157             com.liferay.portlet.wiki.NoSuchPageException {
158         return getPersistence().findByNodeId_First(nodeId, obc);
159     }
160 
161     public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
162         long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
163         throws com.liferay.portal.SystemException,
164             com.liferay.portlet.wiki.NoSuchPageException {
165         return getPersistence().findByNodeId_Last(nodeId, obc);
166     }
167 
168     public static com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
169         long pageId, long nodeId,
170         com.liferay.portal.kernel.util.OrderByComparator obc)
171         throws com.liferay.portal.SystemException,
172             com.liferay.portlet.wiki.NoSuchPageException {
173         return getPersistence().findByNodeId_PrevAndNext(pageId, nodeId, obc);
174     }
175 
176     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
177         java.lang.String format) throws com.liferay.portal.SystemException {
178         return getPersistence().findByFormat(format);
179     }
180 
181     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
182         java.lang.String format, int start, int end)
183         throws com.liferay.portal.SystemException {
184         return getPersistence().findByFormat(format, start, end);
185     }
186 
187     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
188         java.lang.String format, int start, int end,
189         com.liferay.portal.kernel.util.OrderByComparator obc)
190         throws com.liferay.portal.SystemException {
191         return getPersistence().findByFormat(format, start, end, obc);
192     }
193 
194     public static com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
195         java.lang.String format,
196         com.liferay.portal.kernel.util.OrderByComparator obc)
197         throws com.liferay.portal.SystemException,
198             com.liferay.portlet.wiki.NoSuchPageException {
199         return getPersistence().findByFormat_First(format, obc);
200     }
201 
202     public static com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
203         java.lang.String format,
204         com.liferay.portal.kernel.util.OrderByComparator obc)
205         throws com.liferay.portal.SystemException,
206             com.liferay.portlet.wiki.NoSuchPageException {
207         return getPersistence().findByFormat_Last(format, obc);
208     }
209 
210     public static com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
211         long pageId, java.lang.String format,
212         com.liferay.portal.kernel.util.OrderByComparator obc)
213         throws com.liferay.portal.SystemException,
214             com.liferay.portlet.wiki.NoSuchPageException {
215         return getPersistence().findByFormat_PrevAndNext(pageId, format, obc);
216     }
217 
218     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
219         long nodeId, java.lang.String title)
220         throws com.liferay.portal.SystemException {
221         return getPersistence().findByN_T(nodeId, title);
222     }
223 
224     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
225         long nodeId, java.lang.String title, int start, int end)
226         throws com.liferay.portal.SystemException {
227         return getPersistence().findByN_T(nodeId, title, start, end);
228     }
229 
230     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
231         long nodeId, java.lang.String title, int start, int end,
232         com.liferay.portal.kernel.util.OrderByComparator obc)
233         throws com.liferay.portal.SystemException {
234         return getPersistence().findByN_T(nodeId, title, start, end, obc);
235     }
236 
237     public static com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
238         long nodeId, java.lang.String title,
239         com.liferay.portal.kernel.util.OrderByComparator obc)
240         throws com.liferay.portal.SystemException,
241             com.liferay.portlet.wiki.NoSuchPageException {
242         return getPersistence().findByN_T_First(nodeId, title, obc);
243     }
244 
245     public static com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(
246         long nodeId, java.lang.String title,
247         com.liferay.portal.kernel.util.OrderByComparator obc)
248         throws com.liferay.portal.SystemException,
249             com.liferay.portlet.wiki.NoSuchPageException {
250         return getPersistence().findByN_T_Last(nodeId, title, obc);
251     }
252 
253     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
254         long pageId, long nodeId, java.lang.String title,
255         com.liferay.portal.kernel.util.OrderByComparator obc)
256         throws com.liferay.portal.SystemException,
257             com.liferay.portlet.wiki.NoSuchPageException {
258         return getPersistence().findByN_T_PrevAndNext(pageId, nodeId, title, obc);
259     }
260 
261     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
262         long nodeId, boolean head) throws com.liferay.portal.SystemException {
263         return getPersistence().findByN_H(nodeId, head);
264     }
265 
266     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
267         long nodeId, boolean head, int start, int end)
268         throws com.liferay.portal.SystemException {
269         return getPersistence().findByN_H(nodeId, head, start, end);
270     }
271 
272     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
273         long nodeId, boolean head, int start, int end,
274         com.liferay.portal.kernel.util.OrderByComparator obc)
275         throws com.liferay.portal.SystemException {
276         return getPersistence().findByN_H(nodeId, head, start, end, obc);
277     }
278 
279     public static com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
280         long nodeId, boolean head,
281         com.liferay.portal.kernel.util.OrderByComparator obc)
282         throws com.liferay.portal.SystemException,
283             com.liferay.portlet.wiki.NoSuchPageException {
284         return getPersistence().findByN_H_First(nodeId, head, obc);
285     }
286 
287     public static com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(
288         long nodeId, boolean head,
289         com.liferay.portal.kernel.util.OrderByComparator obc)
290         throws com.liferay.portal.SystemException,
291             com.liferay.portlet.wiki.NoSuchPageException {
292         return getPersistence().findByN_H_Last(nodeId, head, obc);
293     }
294 
295     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
296         long pageId, long nodeId, boolean head,
297         com.liferay.portal.kernel.util.OrderByComparator obc)
298         throws com.liferay.portal.SystemException,
299             com.liferay.portlet.wiki.NoSuchPageException {
300         return getPersistence().findByN_H_PrevAndNext(pageId, nodeId, head, obc);
301     }
302 
303     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
304         long nodeId, java.lang.String parentTitle)
305         throws com.liferay.portal.SystemException {
306         return getPersistence().findByN_P(nodeId, parentTitle);
307     }
308 
309     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
310         long nodeId, java.lang.String parentTitle, int start, int end)
311         throws com.liferay.portal.SystemException {
312         return getPersistence().findByN_P(nodeId, parentTitle, start, end);
313     }
314 
315     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
316         long nodeId, java.lang.String parentTitle, int start, int end,
317         com.liferay.portal.kernel.util.OrderByComparator obc)
318         throws com.liferay.portal.SystemException {
319         return getPersistence().findByN_P(nodeId, parentTitle, start, end, obc);
320     }
321 
322     public static com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
323         long nodeId, java.lang.String parentTitle,
324         com.liferay.portal.kernel.util.OrderByComparator obc)
325         throws com.liferay.portal.SystemException,
326             com.liferay.portlet.wiki.NoSuchPageException {
327         return getPersistence().findByN_P_First(nodeId, parentTitle, obc);
328     }
329 
330     public static com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(
331         long nodeId, java.lang.String parentTitle,
332         com.liferay.portal.kernel.util.OrderByComparator obc)
333         throws com.liferay.portal.SystemException,
334             com.liferay.portlet.wiki.NoSuchPageException {
335         return getPersistence().findByN_P_Last(nodeId, parentTitle, obc);
336     }
337 
338     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
339         long pageId, long nodeId, java.lang.String parentTitle,
340         com.liferay.portal.kernel.util.OrderByComparator obc)
341         throws com.liferay.portal.SystemException,
342             com.liferay.portlet.wiki.NoSuchPageException {
343         return getPersistence()
344                    .findByN_P_PrevAndNext(pageId, nodeId, parentTitle, obc);
345     }
346 
347     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
348         long nodeId, java.lang.String redirectTitle)
349         throws com.liferay.portal.SystemException {
350         return getPersistence().findByN_R(nodeId, redirectTitle);
351     }
352 
353     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
354         long nodeId, java.lang.String redirectTitle, int start, int end)
355         throws com.liferay.portal.SystemException {
356         return getPersistence().findByN_R(nodeId, redirectTitle, start, end);
357     }
358 
359     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
360         long nodeId, java.lang.String redirectTitle, int start, int end,
361         com.liferay.portal.kernel.util.OrderByComparator obc)
362         throws com.liferay.portal.SystemException {
363         return getPersistence().findByN_R(nodeId, redirectTitle, start, end, obc);
364     }
365 
366     public static com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
367         long nodeId, java.lang.String redirectTitle,
368         com.liferay.portal.kernel.util.OrderByComparator obc)
369         throws com.liferay.portal.SystemException,
370             com.liferay.portlet.wiki.NoSuchPageException {
371         return getPersistence().findByN_R_First(nodeId, redirectTitle, obc);
372     }
373 
374     public static com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(
375         long nodeId, java.lang.String redirectTitle,
376         com.liferay.portal.kernel.util.OrderByComparator obc)
377         throws com.liferay.portal.SystemException,
378             com.liferay.portlet.wiki.NoSuchPageException {
379         return getPersistence().findByN_R_Last(nodeId, redirectTitle, obc);
380     }
381 
382     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
383         long pageId, long nodeId, java.lang.String redirectTitle,
384         com.liferay.portal.kernel.util.OrderByComparator obc)
385         throws com.liferay.portal.SystemException,
386             com.liferay.portlet.wiki.NoSuchPageException {
387         return getPersistence()
388                    .findByN_R_PrevAndNext(pageId, nodeId, redirectTitle, obc);
389     }
390 
391     public static com.liferay.portlet.wiki.model.WikiPage findByN_T_V(
392         long nodeId, java.lang.String title, double version)
393         throws com.liferay.portal.SystemException,
394             com.liferay.portlet.wiki.NoSuchPageException {
395         return getPersistence().findByN_T_V(nodeId, title, version);
396     }
397 
398     public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(
399         long nodeId, java.lang.String title, double version)
400         throws com.liferay.portal.SystemException {
401         return getPersistence().fetchByN_T_V(nodeId, title, version);
402     }
403 
404     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
405         long nodeId, java.lang.String title, boolean head)
406         throws com.liferay.portal.SystemException {
407         return getPersistence().findByN_T_H(nodeId, title, head);
408     }
409 
410     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
411         long nodeId, java.lang.String title, boolean head, int start, int end)
412         throws com.liferay.portal.SystemException {
413         return getPersistence().findByN_T_H(nodeId, title, head, start, end);
414     }
415 
416     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
417         long nodeId, java.lang.String title, boolean head, int start, int end,
418         com.liferay.portal.kernel.util.OrderByComparator obc)
419         throws com.liferay.portal.SystemException {
420         return getPersistence().findByN_T_H(nodeId, title, head, start, end, obc);
421     }
422 
423     public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
424         long nodeId, java.lang.String title, boolean head,
425         com.liferay.portal.kernel.util.OrderByComparator obc)
426         throws com.liferay.portal.SystemException,
427             com.liferay.portlet.wiki.NoSuchPageException {
428         return getPersistence().findByN_T_H_First(nodeId, title, head, obc);
429     }
430 
431     public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
432         long nodeId, java.lang.String title, boolean head,
433         com.liferay.portal.kernel.util.OrderByComparator obc)
434         throws com.liferay.portal.SystemException,
435             com.liferay.portlet.wiki.NoSuchPageException {
436         return getPersistence().findByN_T_H_Last(nodeId, title, head, obc);
437     }
438 
439     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
440         long pageId, long nodeId, java.lang.String title, boolean head,
441         com.liferay.portal.kernel.util.OrderByComparator obc)
442         throws com.liferay.portal.SystemException,
443             com.liferay.portlet.wiki.NoSuchPageException {
444         return getPersistence()
445                    .findByN_T_H_PrevAndNext(pageId, nodeId, title, head, obc);
446     }
447 
448     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
449         long nodeId, boolean head, java.lang.String parentTitle)
450         throws com.liferay.portal.SystemException {
451         return getPersistence().findByN_H_P(nodeId, head, parentTitle);
452     }
453 
454     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
455         long nodeId, boolean head, java.lang.String parentTitle, int start,
456         int end) throws com.liferay.portal.SystemException {
457         return getPersistence()
458                    .findByN_H_P(nodeId, head, parentTitle, start, end);
459     }
460 
461     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
462         long nodeId, boolean head, java.lang.String parentTitle, int start,
463         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
464         throws com.liferay.portal.SystemException {
465         return getPersistence()
466                    .findByN_H_P(nodeId, head, parentTitle, start, end, obc);
467     }
468 
469     public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
470         long nodeId, boolean head, java.lang.String parentTitle,
471         com.liferay.portal.kernel.util.OrderByComparator obc)
472         throws com.liferay.portal.SystemException,
473             com.liferay.portlet.wiki.NoSuchPageException {
474         return getPersistence().findByN_H_P_First(nodeId, head, parentTitle, obc);
475     }
476 
477     public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
478         long nodeId, boolean head, java.lang.String parentTitle,
479         com.liferay.portal.kernel.util.OrderByComparator obc)
480         throws com.liferay.portal.SystemException,
481             com.liferay.portlet.wiki.NoSuchPageException {
482         return getPersistence().findByN_H_P_Last(nodeId, head, parentTitle, obc);
483     }
484 
485     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
486         long pageId, long nodeId, boolean head, java.lang.String parentTitle,
487         com.liferay.portal.kernel.util.OrderByComparator obc)
488         throws com.liferay.portal.SystemException,
489             com.liferay.portlet.wiki.NoSuchPageException {
490         return getPersistence()
491                    .findByN_H_P_PrevAndNext(pageId, nodeId, head, parentTitle,
492             obc);
493     }
494 
495     public static java.util.List<Object> findWithDynamicQuery(
496         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
497         throws com.liferay.portal.SystemException {
498         return getPersistence().findWithDynamicQuery(dynamicQuery);
499     }
500 
501     public static java.util.List<Object> findWithDynamicQuery(
502         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
503         int end) throws com.liferay.portal.SystemException {
504         return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
505     }
506 
507     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
508         throws com.liferay.portal.SystemException {
509         return getPersistence().findAll();
510     }
511 
512     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
513         int start, int end) throws com.liferay.portal.SystemException {
514         return getPersistence().findAll(start, end);
515     }
516 
517     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
518         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
519         throws com.liferay.portal.SystemException {
520         return getPersistence().findAll(start, end, obc);
521     }
522 
523     public static void removeByUuid(java.lang.String uuid)
524         throws com.liferay.portal.SystemException {
525         getPersistence().removeByUuid(uuid);
526     }
527 
528     public static void removeByNodeId(long nodeId)
529         throws com.liferay.portal.SystemException {
530         getPersistence().removeByNodeId(nodeId);
531     }
532 
533     public static void removeByFormat(java.lang.String format)
534         throws com.liferay.portal.SystemException {
535         getPersistence().removeByFormat(format);
536     }
537 
538     public static void removeByN_T(long nodeId, java.lang.String title)
539         throws com.liferay.portal.SystemException {
540         getPersistence().removeByN_T(nodeId, title);
541     }
542 
543     public static void removeByN_H(long nodeId, boolean head)
544         throws com.liferay.portal.SystemException {
545         getPersistence().removeByN_H(nodeId, head);
546     }
547 
548     public static void removeByN_P(long nodeId, java.lang.String parentTitle)
549         throws com.liferay.portal.SystemException {
550         getPersistence().removeByN_P(nodeId, parentTitle);
551     }
552 
553     public static void removeByN_R(long nodeId, java.lang.String redirectTitle)
554         throws com.liferay.portal.SystemException {
555         getPersistence().removeByN_R(nodeId, redirectTitle);
556     }
557 
558     public static void removeByN_T_V(long nodeId, java.lang.String title,
559         double version)
560         throws com.liferay.portal.SystemException,
561             com.liferay.portlet.wiki.NoSuchPageException {
562         getPersistence().removeByN_T_V(nodeId, title, version);
563     }
564 
565     public static void removeByN_T_H(long nodeId, java.lang.String title,
566         boolean head) throws com.liferay.portal.SystemException {
567         getPersistence().removeByN_T_H(nodeId, title, head);
568     }
569 
570     public static void removeByN_H_P(long nodeId, boolean head,
571         java.lang.String parentTitle) throws com.liferay.portal.SystemException {
572         getPersistence().removeByN_H_P(nodeId, head, parentTitle);
573     }
574 
575     public static void removeAll() throws com.liferay.portal.SystemException {
576         getPersistence().removeAll();
577     }
578 
579     public static int countByUuid(java.lang.String uuid)
580         throws com.liferay.portal.SystemException {
581         return getPersistence().countByUuid(uuid);
582     }
583 
584     public static int countByNodeId(long nodeId)
585         throws com.liferay.portal.SystemException {
586         return getPersistence().countByNodeId(nodeId);
587     }
588 
589     public static int countByFormat(java.lang.String format)
590         throws com.liferay.portal.SystemException {
591         return getPersistence().countByFormat(format);
592     }
593 
594     public static int countByN_T(long nodeId, java.lang.String title)
595         throws com.liferay.portal.SystemException {
596         return getPersistence().countByN_T(nodeId, title);
597     }
598 
599     public static int countByN_H(long nodeId, boolean head)
600         throws com.liferay.portal.SystemException {
601         return getPersistence().countByN_H(nodeId, head);
602     }
603 
604     public static int countByN_P(long nodeId, java.lang.String parentTitle)
605         throws com.liferay.portal.SystemException {
606         return getPersistence().countByN_P(nodeId, parentTitle);
607     }
608 
609     public static int countByN_R(long nodeId, java.lang.String redirectTitle)
610         throws com.liferay.portal.SystemException {
611         return getPersistence().countByN_R(nodeId, redirectTitle);
612     }
613 
614     public static int countByN_T_V(long nodeId, java.lang.String title,
615         double version) throws com.liferay.portal.SystemException {
616         return getPersistence().countByN_T_V(nodeId, title, version);
617     }
618 
619     public static int countByN_T_H(long nodeId, java.lang.String title,
620         boolean head) throws com.liferay.portal.SystemException {
621         return getPersistence().countByN_T_H(nodeId, title, head);
622     }
623 
624     public static int countByN_H_P(long nodeId, boolean head,
625         java.lang.String parentTitle) throws com.liferay.portal.SystemException {
626         return getPersistence().countByN_H_P(nodeId, head, parentTitle);
627     }
628 
629     public static int countAll() throws com.liferay.portal.SystemException {
630         return getPersistence().countAll();
631     }
632 
633     public static WikiPagePersistence getPersistence() {
634         return _persistence;
635     }
636 
637     public void setPersistence(WikiPagePersistence persistence) {
638         _persistence = persistence;
639     }
640 
641     private static WikiPagePersistence _persistence;
642 }