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