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