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