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