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