1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
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  /**
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.SystemException,
93              com.liferay.portlet.wiki.NoSuchPageException {
94          return getPersistence().remove(pageId);
95      }
96  
97      /**
98       * @deprecated Use {@link com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)}.
99       */
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 obc)
138         throws com.liferay.portal.SystemException {
139         return getPersistence().findByUuid(uuid, start, end, obc);
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 obc)
145         throws com.liferay.portal.SystemException,
146             com.liferay.portlet.wiki.NoSuchPageException {
147         return getPersistence().findByUuid_First(uuid, obc);
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 obc)
153         throws com.liferay.portal.SystemException,
154             com.liferay.portlet.wiki.NoSuchPageException {
155         return getPersistence().findByUuid_Last(uuid, obc);
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 obc)
161         throws com.liferay.portal.SystemException,
162             com.liferay.portlet.wiki.NoSuchPageException {
163         return getPersistence().findByUuid_PrevAndNext(pageId, uuid, obc);
164     }
165 
166     public static com.liferay.portlet.wiki.model.WikiPage findByUUID_G(
167         java.lang.String uuid, long groupId)
168         throws com.liferay.portal.SystemException,
169             com.liferay.portlet.wiki.NoSuchPageException {
170         return getPersistence().findByUUID_G(uuid, groupId);
171     }
172 
173     public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
174         java.lang.String uuid, long groupId)
175         throws com.liferay.portal.SystemException {
176         return getPersistence().fetchByUUID_G(uuid, groupId);
177     }
178 
179     public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
180         java.lang.String uuid, long groupId, boolean retrieveFromCache)
181         throws com.liferay.portal.SystemException {
182         return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
183     }
184 
185     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
186         long nodeId) throws com.liferay.portal.SystemException {
187         return getPersistence().findByNodeId(nodeId);
188     }
189 
190     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
191         long nodeId, int start, int end)
192         throws com.liferay.portal.SystemException {
193         return getPersistence().findByNodeId(nodeId, start, end);
194     }
195 
196     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
197         long nodeId, int start, int end,
198         com.liferay.portal.kernel.util.OrderByComparator obc)
199         throws com.liferay.portal.SystemException {
200         return getPersistence().findByNodeId(nodeId, start, end, obc);
201     }
202 
203     public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
204         long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
205         throws com.liferay.portal.SystemException,
206             com.liferay.portlet.wiki.NoSuchPageException {
207         return getPersistence().findByNodeId_First(nodeId, obc);
208     }
209 
210     public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
211         long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
212         throws com.liferay.portal.SystemException,
213             com.liferay.portlet.wiki.NoSuchPageException {
214         return getPersistence().findByNodeId_Last(nodeId, obc);
215     }
216 
217     public static com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
218         long pageId, long nodeId,
219         com.liferay.portal.kernel.util.OrderByComparator obc)
220         throws com.liferay.portal.SystemException,
221             com.liferay.portlet.wiki.NoSuchPageException {
222         return getPersistence().findByNodeId_PrevAndNext(pageId, nodeId, obc);
223     }
224 
225     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
226         java.lang.String format) throws com.liferay.portal.SystemException {
227         return getPersistence().findByFormat(format);
228     }
229 
230     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
231         java.lang.String format, int start, int end)
232         throws com.liferay.portal.SystemException {
233         return getPersistence().findByFormat(format, start, end);
234     }
235 
236     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
237         java.lang.String format, int start, int end,
238         com.liferay.portal.kernel.util.OrderByComparator obc)
239         throws com.liferay.portal.SystemException {
240         return getPersistence().findByFormat(format, start, end, obc);
241     }
242 
243     public static com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
244         java.lang.String format,
245         com.liferay.portal.kernel.util.OrderByComparator obc)
246         throws com.liferay.portal.SystemException,
247             com.liferay.portlet.wiki.NoSuchPageException {
248         return getPersistence().findByFormat_First(format, obc);
249     }
250 
251     public static com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
252         java.lang.String format,
253         com.liferay.portal.kernel.util.OrderByComparator obc)
254         throws com.liferay.portal.SystemException,
255             com.liferay.portlet.wiki.NoSuchPageException {
256         return getPersistence().findByFormat_Last(format, obc);
257     }
258 
259     public static com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
260         long pageId, java.lang.String format,
261         com.liferay.portal.kernel.util.OrderByComparator obc)
262         throws com.liferay.portal.SystemException,
263             com.liferay.portlet.wiki.NoSuchPageException {
264         return getPersistence().findByFormat_PrevAndNext(pageId, format, obc);
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.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.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 obc)
282         throws com.liferay.portal.SystemException {
283         return getPersistence().findByN_T(nodeId, title, start, end, obc);
284     }
285 
286     public static com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
287         long nodeId, java.lang.String title,
288         com.liferay.portal.kernel.util.OrderByComparator obc)
289         throws com.liferay.portal.SystemException,
290             com.liferay.portlet.wiki.NoSuchPageException {
291         return getPersistence().findByN_T_First(nodeId, title, obc);
292     }
293 
294     public static com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(
295         long nodeId, java.lang.String title,
296         com.liferay.portal.kernel.util.OrderByComparator obc)
297         throws com.liferay.portal.SystemException,
298             com.liferay.portlet.wiki.NoSuchPageException {
299         return getPersistence().findByN_T_Last(nodeId, title, obc);
300     }
301 
302     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
303         long pageId, long nodeId, java.lang.String title,
304         com.liferay.portal.kernel.util.OrderByComparator obc)
305         throws com.liferay.portal.SystemException,
306             com.liferay.portlet.wiki.NoSuchPageException {
307         return getPersistence().findByN_T_PrevAndNext(pageId, nodeId, title, obc);
308     }
309 
310     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
311         long nodeId, boolean head) throws com.liferay.portal.SystemException {
312         return getPersistence().findByN_H(nodeId, head);
313     }
314 
315     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
316         long nodeId, boolean head, int start, int end)
317         throws com.liferay.portal.SystemException {
318         return getPersistence().findByN_H(nodeId, head, start, end);
319     }
320 
321     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
322         long nodeId, boolean head, int start, int end,
323         com.liferay.portal.kernel.util.OrderByComparator obc)
324         throws com.liferay.portal.SystemException {
325         return getPersistence().findByN_H(nodeId, head, start, end, obc);
326     }
327 
328     public static com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
329         long nodeId, boolean head,
330         com.liferay.portal.kernel.util.OrderByComparator obc)
331         throws com.liferay.portal.SystemException,
332             com.liferay.portlet.wiki.NoSuchPageException {
333         return getPersistence().findByN_H_First(nodeId, head, obc);
334     }
335 
336     public static com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(
337         long nodeId, boolean head,
338         com.liferay.portal.kernel.util.OrderByComparator obc)
339         throws com.liferay.portal.SystemException,
340             com.liferay.portlet.wiki.NoSuchPageException {
341         return getPersistence().findByN_H_Last(nodeId, head, obc);
342     }
343 
344     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
345         long pageId, long nodeId, boolean head,
346         com.liferay.portal.kernel.util.OrderByComparator obc)
347         throws com.liferay.portal.SystemException,
348             com.liferay.portlet.wiki.NoSuchPageException {
349         return getPersistence().findByN_H_PrevAndNext(pageId, nodeId, head, obc);
350     }
351 
352     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
353         long nodeId, java.lang.String parentTitle)
354         throws com.liferay.portal.SystemException {
355         return getPersistence().findByN_P(nodeId, parentTitle);
356     }
357 
358     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
359         long nodeId, java.lang.String parentTitle, int start, int end)
360         throws com.liferay.portal.SystemException {
361         return getPersistence().findByN_P(nodeId, parentTitle, start, end);
362     }
363 
364     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
365         long nodeId, java.lang.String parentTitle, int start, int end,
366         com.liferay.portal.kernel.util.OrderByComparator obc)
367         throws com.liferay.portal.SystemException {
368         return getPersistence().findByN_P(nodeId, parentTitle, start, end, obc);
369     }
370 
371     public static com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
372         long nodeId, java.lang.String parentTitle,
373         com.liferay.portal.kernel.util.OrderByComparator obc)
374         throws com.liferay.portal.SystemException,
375             com.liferay.portlet.wiki.NoSuchPageException {
376         return getPersistence().findByN_P_First(nodeId, parentTitle, obc);
377     }
378 
379     public static com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(
380         long nodeId, java.lang.String parentTitle,
381         com.liferay.portal.kernel.util.OrderByComparator obc)
382         throws com.liferay.portal.SystemException,
383             com.liferay.portlet.wiki.NoSuchPageException {
384         return getPersistence().findByN_P_Last(nodeId, parentTitle, obc);
385     }
386 
387     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
388         long pageId, long nodeId, java.lang.String parentTitle,
389         com.liferay.portal.kernel.util.OrderByComparator obc)
390         throws com.liferay.portal.SystemException,
391             com.liferay.portlet.wiki.NoSuchPageException {
392         return getPersistence()
393                    .findByN_P_PrevAndNext(pageId, nodeId, parentTitle, obc);
394     }
395 
396     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
397         long nodeId, java.lang.String redirectTitle)
398         throws com.liferay.portal.SystemException {
399         return getPersistence().findByN_R(nodeId, redirectTitle);
400     }
401 
402     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
403         long nodeId, java.lang.String redirectTitle, int start, int end)
404         throws com.liferay.portal.SystemException {
405         return getPersistence().findByN_R(nodeId, redirectTitle, start, end);
406     }
407 
408     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
409         long nodeId, java.lang.String redirectTitle, int start, int end,
410         com.liferay.portal.kernel.util.OrderByComparator obc)
411         throws com.liferay.portal.SystemException {
412         return getPersistence().findByN_R(nodeId, redirectTitle, start, end, obc);
413     }
414 
415     public static com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
416         long nodeId, java.lang.String redirectTitle,
417         com.liferay.portal.kernel.util.OrderByComparator obc)
418         throws com.liferay.portal.SystemException,
419             com.liferay.portlet.wiki.NoSuchPageException {
420         return getPersistence().findByN_R_First(nodeId, redirectTitle, obc);
421     }
422 
423     public static com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(
424         long nodeId, java.lang.String redirectTitle,
425         com.liferay.portal.kernel.util.OrderByComparator obc)
426         throws com.liferay.portal.SystemException,
427             com.liferay.portlet.wiki.NoSuchPageException {
428         return getPersistence().findByN_R_Last(nodeId, redirectTitle, obc);
429     }
430 
431     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
432         long pageId, long nodeId, java.lang.String redirectTitle,
433         com.liferay.portal.kernel.util.OrderByComparator obc)
434         throws com.liferay.portal.SystemException,
435             com.liferay.portlet.wiki.NoSuchPageException {
436         return getPersistence()
437                    .findByN_R_PrevAndNext(pageId, nodeId, redirectTitle, obc);
438     }
439 
440     public static com.liferay.portlet.wiki.model.WikiPage findByN_T_V(
441         long nodeId, java.lang.String title, double version)
442         throws com.liferay.portal.SystemException,
443             com.liferay.portlet.wiki.NoSuchPageException {
444         return getPersistence().findByN_T_V(nodeId, title, version);
445     }
446 
447     public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(
448         long nodeId, java.lang.String title, double version)
449         throws com.liferay.portal.SystemException {
450         return getPersistence().fetchByN_T_V(nodeId, title, version);
451     }
452 
453     public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(
454         long nodeId, java.lang.String title, double version,
455         boolean retrieveFromCache) throws com.liferay.portal.SystemException {
456         return getPersistence()
457                    .fetchByN_T_V(nodeId, title, version, retrieveFromCache);
458     }
459 
460     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
461         long nodeId, java.lang.String title, boolean head)
462         throws com.liferay.portal.SystemException {
463         return getPersistence().findByN_T_H(nodeId, title, head);
464     }
465 
466     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
467         long nodeId, java.lang.String title, boolean head, int start, int end)
468         throws com.liferay.portal.SystemException {
469         return getPersistence().findByN_T_H(nodeId, title, head, start, end);
470     }
471 
472     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
473         long nodeId, java.lang.String title, boolean head, int start, int end,
474         com.liferay.portal.kernel.util.OrderByComparator obc)
475         throws com.liferay.portal.SystemException {
476         return getPersistence().findByN_T_H(nodeId, title, head, start, end, obc);
477     }
478 
479     public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
480         long nodeId, java.lang.String title, boolean head,
481         com.liferay.portal.kernel.util.OrderByComparator obc)
482         throws com.liferay.portal.SystemException,
483             com.liferay.portlet.wiki.NoSuchPageException {
484         return getPersistence().findByN_T_H_First(nodeId, title, head, obc);
485     }
486 
487     public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
488         long nodeId, java.lang.String title, boolean head,
489         com.liferay.portal.kernel.util.OrderByComparator obc)
490         throws com.liferay.portal.SystemException,
491             com.liferay.portlet.wiki.NoSuchPageException {
492         return getPersistence().findByN_T_H_Last(nodeId, title, head, obc);
493     }
494 
495     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
496         long pageId, long nodeId, java.lang.String title, boolean head,
497         com.liferay.portal.kernel.util.OrderByComparator obc)
498         throws com.liferay.portal.SystemException,
499             com.liferay.portlet.wiki.NoSuchPageException {
500         return getPersistence()
501                    .findByN_T_H_PrevAndNext(pageId, nodeId, title, head, obc);
502     }
503 
504     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
505         long nodeId, boolean head, java.lang.String parentTitle)
506         throws com.liferay.portal.SystemException {
507         return getPersistence().findByN_H_P(nodeId, head, parentTitle);
508     }
509 
510     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
511         long nodeId, boolean head, java.lang.String parentTitle, int start,
512         int end) throws com.liferay.portal.SystemException {
513         return getPersistence()
514                    .findByN_H_P(nodeId, head, parentTitle, start, end);
515     }
516 
517     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
518         long nodeId, boolean head, java.lang.String parentTitle, int start,
519         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
520         throws com.liferay.portal.SystemException {
521         return getPersistence()
522                    .findByN_H_P(nodeId, head, parentTitle, start, end, obc);
523     }
524 
525     public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
526         long nodeId, boolean head, java.lang.String parentTitle,
527         com.liferay.portal.kernel.util.OrderByComparator obc)
528         throws com.liferay.portal.SystemException,
529             com.liferay.portlet.wiki.NoSuchPageException {
530         return getPersistence().findByN_H_P_First(nodeId, head, parentTitle, obc);
531     }
532 
533     public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
534         long nodeId, boolean head, java.lang.String parentTitle,
535         com.liferay.portal.kernel.util.OrderByComparator obc)
536         throws com.liferay.portal.SystemException,
537             com.liferay.portlet.wiki.NoSuchPageException {
538         return getPersistence().findByN_H_P_Last(nodeId, head, parentTitle, obc);
539     }
540 
541     public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
542         long pageId, long nodeId, boolean head, java.lang.String parentTitle,
543         com.liferay.portal.kernel.util.OrderByComparator obc)
544         throws com.liferay.portal.SystemException,
545             com.liferay.portlet.wiki.NoSuchPageException {
546         return getPersistence()
547                    .findByN_H_P_PrevAndNext(pageId, nodeId, head, parentTitle,
548             obc);
549     }
550 
551     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
552         throws com.liferay.portal.SystemException {
553         return getPersistence().findAll();
554     }
555 
556     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
557         int start, int end) throws com.liferay.portal.SystemException {
558         return getPersistence().findAll(start, end);
559     }
560 
561     public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
562         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
563         throws com.liferay.portal.SystemException {
564         return getPersistence().findAll(start, end, obc);
565     }
566 
567     public static void removeByUuid(java.lang.String uuid)
568         throws com.liferay.portal.SystemException {
569         getPersistence().removeByUuid(uuid);
570     }
571 
572     public static void removeByUUID_G(java.lang.String uuid, long groupId)
573         throws com.liferay.portal.SystemException,
574             com.liferay.portlet.wiki.NoSuchPageException {
575         getPersistence().removeByUUID_G(uuid, groupId);
576     }
577 
578     public static void removeByNodeId(long nodeId)
579         throws com.liferay.portal.SystemException {
580         getPersistence().removeByNodeId(nodeId);
581     }
582 
583     public static void removeByFormat(java.lang.String format)
584         throws com.liferay.portal.SystemException {
585         getPersistence().removeByFormat(format);
586     }
587 
588     public static void removeByN_T(long nodeId, java.lang.String title)
589         throws com.liferay.portal.SystemException {
590         getPersistence().removeByN_T(nodeId, title);
591     }
592 
593     public static void removeByN_H(long nodeId, boolean head)
594         throws com.liferay.portal.SystemException {
595         getPersistence().removeByN_H(nodeId, head);
596     }
597 
598     public static void removeByN_P(long nodeId, java.lang.String parentTitle)
599         throws com.liferay.portal.SystemException {
600         getPersistence().removeByN_P(nodeId, parentTitle);
601     }
602 
603     public static void removeByN_R(long nodeId, java.lang.String redirectTitle)
604         throws com.liferay.portal.SystemException {
605         getPersistence().removeByN_R(nodeId, redirectTitle);
606     }
607 
608     public static void removeByN_T_V(long nodeId, java.lang.String title,
609         double version)
610         throws com.liferay.portal.SystemException,
611             com.liferay.portlet.wiki.NoSuchPageException {
612         getPersistence().removeByN_T_V(nodeId, title, version);
613     }
614 
615     public static void removeByN_T_H(long nodeId, java.lang.String title,
616         boolean head) throws com.liferay.portal.SystemException {
617         getPersistence().removeByN_T_H(nodeId, title, head);
618     }
619 
620     public static void removeByN_H_P(long nodeId, boolean head,
621         java.lang.String parentTitle) throws com.liferay.portal.SystemException {
622         getPersistence().removeByN_H_P(nodeId, head, parentTitle);
623     }
624 
625     public static void removeAll() throws com.liferay.portal.SystemException {
626         getPersistence().removeAll();
627     }
628 
629     public static int countByUuid(java.lang.String uuid)
630         throws com.liferay.portal.SystemException {
631         return getPersistence().countByUuid(uuid);
632     }
633 
634     public static int countByUUID_G(java.lang.String uuid, long groupId)
635         throws com.liferay.portal.SystemException {
636         return getPersistence().countByUUID_G(uuid, groupId);
637     }
638 
639     public static int countByNodeId(long nodeId)
640         throws com.liferay.portal.SystemException {
641         return getPersistence().countByNodeId(nodeId);
642     }
643 
644     public static int countByFormat(java.lang.String format)
645         throws com.liferay.portal.SystemException {
646         return getPersistence().countByFormat(format);
647     }
648 
649     public static int countByN_T(long nodeId, java.lang.String title)
650         throws com.liferay.portal.SystemException {
651         return getPersistence().countByN_T(nodeId, title);
652     }
653 
654     public static int countByN_H(long nodeId, boolean head)
655         throws com.liferay.portal.SystemException {
656         return getPersistence().countByN_H(nodeId, head);
657     }
658 
659     public static int countByN_P(long nodeId, java.lang.String parentTitle)
660         throws com.liferay.portal.SystemException {
661         return getPersistence().countByN_P(nodeId, parentTitle);
662     }
663 
664     public static int countByN_R(long nodeId, java.lang.String redirectTitle)
665         throws com.liferay.portal.SystemException {
666         return getPersistence().countByN_R(nodeId, redirectTitle);
667     }
668 
669     public static int countByN_T_V(long nodeId, java.lang.String title,
670         double version) throws com.liferay.portal.SystemException {
671         return getPersistence().countByN_T_V(nodeId, title, version);
672     }
673 
674     public static int countByN_T_H(long nodeId, java.lang.String title,
675         boolean head) throws com.liferay.portal.SystemException {
676         return getPersistence().countByN_T_H(nodeId, title, head);
677     }
678 
679     public static int countByN_H_P(long nodeId, boolean head,
680         java.lang.String parentTitle) throws com.liferay.portal.SystemException {
681         return getPersistence().countByN_H_P(nodeId, head, parentTitle);
682     }
683 
684     public static int countAll() throws com.liferay.portal.SystemException {
685         return getPersistence().countAll();
686     }
687 
688     public static WikiPagePersistence getPersistence() {
689         if (_persistence == null) {
690             _persistence = (WikiPagePersistence)PortalBeanLocatorUtil.locate(WikiPagePersistence.class.getName());
691         }
692 
693         return _persistence;
694     }
695 
696     public void setPersistence(WikiPagePersistence persistence) {
697         _persistence = persistence;
698     }
699 
700     private static WikiPagePersistence _persistence;
701 }