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