001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.wiki.service.persistence;
016    
017    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.util.OrderByComparator;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.wiki.model.WikiPage;
024    
025    import java.util.List;
026    
027    /**
028     * The persistence utility for the wiki page service. This utility wraps {@link WikiPagePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
029     *
030     * <p>
031     * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
032     * </p>
033     *
034     * <p>
035     * Caching information and settings can be found in <code>portal.properties</code>
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see WikiPagePersistence
040     * @see WikiPagePersistenceImpl
041     * @generated
042     */
043    public class WikiPageUtil {
044            /**
045             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
046             */
047            public static void clearCache() {
048                    getPersistence().clearCache();
049            }
050    
051            /**
052             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
053             */
054            public static void clearCache(WikiPage wikiPage) {
055                    getPersistence().clearCache(wikiPage);
056            }
057    
058            /**
059             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
060             */
061            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
062                    throws SystemException {
063                    return getPersistence().countWithDynamicQuery(dynamicQuery);
064            }
065    
066            /**
067             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
068             */
069            public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery)
070                    throws SystemException {
071                    return getPersistence().findWithDynamicQuery(dynamicQuery);
072            }
073    
074            /**
075             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
076             */
077            public static List<WikiPage> findWithDynamicQuery(
078                    DynamicQuery dynamicQuery, int start, int end)
079                    throws SystemException {
080                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
081            }
082    
083            /**
084             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
085             */
086            public static List<WikiPage> findWithDynamicQuery(
087                    DynamicQuery dynamicQuery, int start, int end,
088                    OrderByComparator orderByComparator) throws SystemException {
089                    return getPersistence()
090                                       .findWithDynamicQuery(dynamicQuery, start, end,
091                            orderByComparator);
092            }
093    
094            /**
095             * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
096             */
097            public static WikiPage remove(WikiPage wikiPage) throws SystemException {
098                    return getPersistence().remove(wikiPage);
099            }
100    
101            /**
102             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
103             */
104            public static WikiPage update(WikiPage wikiPage, boolean merge)
105                    throws SystemException {
106                    return getPersistence().update(wikiPage, merge);
107            }
108    
109            /**
110             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
111             */
112            public static WikiPage update(WikiPage wikiPage, boolean merge,
113                    ServiceContext serviceContext) throws SystemException {
114                    return getPersistence().update(wikiPage, merge, serviceContext);
115            }
116    
117            /**
118            * Caches the wiki page in the entity cache if it is enabled.
119            *
120            * @param wikiPage the wiki page to cache
121            */
122            public static void cacheResult(
123                    com.liferay.portlet.wiki.model.WikiPage wikiPage) {
124                    getPersistence().cacheResult(wikiPage);
125            }
126    
127            /**
128            * Caches the wiki pages in the entity cache if it is enabled.
129            *
130            * @param wikiPages the wiki pages to cache
131            */
132            public static void cacheResult(
133                    java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages) {
134                    getPersistence().cacheResult(wikiPages);
135            }
136    
137            /**
138            * Creates a new wiki page with the primary key. Does not add the wiki page to the database.
139            *
140            * @param pageId the primary key for the new wiki page
141            * @return the new wiki page
142            */
143            public static com.liferay.portlet.wiki.model.WikiPage create(long pageId) {
144                    return getPersistence().create(pageId);
145            }
146    
147            /**
148            * Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.
149            *
150            * @param pageId the primary key of the wiki page to remove
151            * @return the wiki page that was removed
152            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
153            * @throws SystemException if a system exception occurred
154            */
155            public static com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
156                    throws com.liferay.portal.kernel.exception.SystemException,
157                            com.liferay.portlet.wiki.NoSuchPageException {
158                    return getPersistence().remove(pageId);
159            }
160    
161            public static com.liferay.portlet.wiki.model.WikiPage updateImpl(
162                    com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
163                    throws com.liferay.portal.kernel.exception.SystemException {
164                    return getPersistence().updateImpl(wikiPage, merge);
165            }
166    
167            /**
168            * Finds the wiki page with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found.
169            *
170            * @param pageId the primary key of the wiki page to find
171            * @return the wiki page
172            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
173            * @throws SystemException if a system exception occurred
174            */
175            public static com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(
176                    long pageId)
177                    throws com.liferay.portal.kernel.exception.SystemException,
178                            com.liferay.portlet.wiki.NoSuchPageException {
179                    return getPersistence().findByPrimaryKey(pageId);
180            }
181    
182            /**
183            * Finds the wiki page with the primary key or returns <code>null</code> if it could not be found.
184            *
185            * @param pageId the primary key of the wiki page to find
186            * @return the wiki page, or <code>null</code> if a wiki page with the primary key could not be found
187            * @throws SystemException if a system exception occurred
188            */
189            public static com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
190                    long pageId) throws com.liferay.portal.kernel.exception.SystemException {
191                    return getPersistence().fetchByPrimaryKey(pageId);
192            }
193    
194            /**
195            * Finds all the wiki pages where uuid = &#63;.
196            *
197            * @param uuid the uuid to search with
198            * @return the matching wiki pages
199            * @throws SystemException if a system exception occurred
200            */
201            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
202                    java.lang.String uuid)
203                    throws com.liferay.portal.kernel.exception.SystemException {
204                    return getPersistence().findByUuid(uuid);
205            }
206    
207            /**
208            * Finds a range of all the wiki pages where uuid = &#63;.
209            *
210            * <p>
211            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
212            * </p>
213            *
214            * @param uuid the uuid to search with
215            * @param start the lower bound of the range of wiki pages to return
216            * @param end the upper bound of the range of wiki pages to return (not inclusive)
217            * @return the range of matching wiki pages
218            * @throws SystemException if a system exception occurred
219            */
220            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
221                    java.lang.String uuid, int start, int end)
222                    throws com.liferay.portal.kernel.exception.SystemException {
223                    return getPersistence().findByUuid(uuid, start, end);
224            }
225    
226            /**
227            * Finds an ordered range of all the wiki pages where uuid = &#63;.
228            *
229            * <p>
230            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
231            * </p>
232            *
233            * @param uuid the uuid to search with
234            * @param start the lower bound of the range of wiki pages to return
235            * @param end the upper bound of the range of wiki pages to return (not inclusive)
236            * @param orderByComparator the comparator to order the results by
237            * @return the ordered range of matching wiki pages
238            * @throws SystemException if a system exception occurred
239            */
240            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
241                    java.lang.String uuid, int start, int end,
242                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
243                    throws com.liferay.portal.kernel.exception.SystemException {
244                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
245            }
246    
247            /**
248            * Finds the first wiki page in the ordered set where uuid = &#63;.
249            *
250            * <p>
251            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
252            * </p>
253            *
254            * @param uuid the uuid to search with
255            * @param orderByComparator the comparator to order the set by
256            * @return the first matching wiki page
257            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
258            * @throws SystemException if a system exception occurred
259            */
260            public static com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
261                    java.lang.String uuid,
262                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
263                    throws com.liferay.portal.kernel.exception.SystemException,
264                            com.liferay.portlet.wiki.NoSuchPageException {
265                    return getPersistence().findByUuid_First(uuid, orderByComparator);
266            }
267    
268            /**
269            * Finds the last wiki page in the ordered set where uuid = &#63;.
270            *
271            * <p>
272            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
273            * </p>
274            *
275            * @param uuid the uuid to search with
276            * @param orderByComparator the comparator to order the set by
277            * @return the last matching wiki page
278            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
279            * @throws SystemException if a system exception occurred
280            */
281            public static com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
282                    java.lang.String uuid,
283                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
284                    throws com.liferay.portal.kernel.exception.SystemException,
285                            com.liferay.portlet.wiki.NoSuchPageException {
286                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
287            }
288    
289            /**
290            * Finds the wiki pages before and after the current wiki page in the ordered set where uuid = &#63;.
291            *
292            * <p>
293            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
294            * </p>
295            *
296            * @param pageId the primary key of the current wiki page
297            * @param uuid the uuid to search with
298            * @param orderByComparator the comparator to order the set by
299            * @return the previous, current, and next wiki page
300            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
301            * @throws SystemException if a system exception occurred
302            */
303            public static com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
304                    long pageId, java.lang.String uuid,
305                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
306                    throws com.liferay.portal.kernel.exception.SystemException,
307                            com.liferay.portlet.wiki.NoSuchPageException {
308                    return getPersistence()
309                                       .findByUuid_PrevAndNext(pageId, uuid, orderByComparator);
310            }
311    
312            /**
313            * Finds the wiki page where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found.
314            *
315            * @param uuid the uuid to search with
316            * @param groupId the group id to search with
317            * @return the matching wiki page
318            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
319            * @throws SystemException if a system exception occurred
320            */
321            public static com.liferay.portlet.wiki.model.WikiPage findByUUID_G(
322                    java.lang.String uuid, long groupId)
323                    throws com.liferay.portal.kernel.exception.SystemException,
324                            com.liferay.portlet.wiki.NoSuchPageException {
325                    return getPersistence().findByUUID_G(uuid, groupId);
326            }
327    
328            /**
329            * Finds the wiki page where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
330            *
331            * @param uuid the uuid to search with
332            * @param groupId the group id to search with
333            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
334            * @throws SystemException if a system exception occurred
335            */
336            public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
337                    java.lang.String uuid, long groupId)
338                    throws com.liferay.portal.kernel.exception.SystemException {
339                    return getPersistence().fetchByUUID_G(uuid, groupId);
340            }
341    
342            /**
343            * Finds the wiki page where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
344            *
345            * @param uuid the uuid to search with
346            * @param groupId the group id to search with
347            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
348            * @throws SystemException if a system exception occurred
349            */
350            public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
351                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
352                    throws com.liferay.portal.kernel.exception.SystemException {
353                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
354            }
355    
356            /**
357            * Finds all the wiki pages where nodeId = &#63;.
358            *
359            * @param nodeId the node id to search with
360            * @return the matching wiki pages
361            * @throws SystemException if a system exception occurred
362            */
363            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
364                    long nodeId) throws com.liferay.portal.kernel.exception.SystemException {
365                    return getPersistence().findByNodeId(nodeId);
366            }
367    
368            /**
369            * Finds a range of all the wiki pages where nodeId = &#63;.
370            *
371            * <p>
372            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
373            * </p>
374            *
375            * @param nodeId the node id to search with
376            * @param start the lower bound of the range of wiki pages to return
377            * @param end the upper bound of the range of wiki pages to return (not inclusive)
378            * @return the range of matching wiki pages
379            * @throws SystemException if a system exception occurred
380            */
381            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
382                    long nodeId, int start, int end)
383                    throws com.liferay.portal.kernel.exception.SystemException {
384                    return getPersistence().findByNodeId(nodeId, start, end);
385            }
386    
387            /**
388            * Finds an ordered range of all the wiki pages where nodeId = &#63;.
389            *
390            * <p>
391            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
392            * </p>
393            *
394            * @param nodeId the node id to search with
395            * @param start the lower bound of the range of wiki pages to return
396            * @param end the upper bound of the range of wiki pages to return (not inclusive)
397            * @param orderByComparator the comparator to order the results by
398            * @return the ordered range of matching wiki pages
399            * @throws SystemException if a system exception occurred
400            */
401            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
402                    long nodeId, int start, int end,
403                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
404                    throws com.liferay.portal.kernel.exception.SystemException {
405                    return getPersistence()
406                                       .findByNodeId(nodeId, start, end, orderByComparator);
407            }
408    
409            /**
410            * Finds the first wiki page in the ordered set where nodeId = &#63;.
411            *
412            * <p>
413            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
414            * </p>
415            *
416            * @param nodeId the node id to search with
417            * @param orderByComparator the comparator to order the set by
418            * @return the first matching wiki page
419            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
420            * @throws SystemException if a system exception occurred
421            */
422            public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
423                    long nodeId,
424                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
425                    throws com.liferay.portal.kernel.exception.SystemException,
426                            com.liferay.portlet.wiki.NoSuchPageException {
427                    return getPersistence().findByNodeId_First(nodeId, orderByComparator);
428            }
429    
430            /**
431            * Finds the last wiki page in the ordered set where nodeId = &#63;.
432            *
433            * <p>
434            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
435            * </p>
436            *
437            * @param nodeId the node id to search with
438            * @param orderByComparator the comparator to order the set by
439            * @return the last matching wiki page
440            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
441            * @throws SystemException if a system exception occurred
442            */
443            public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
444                    long nodeId,
445                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
446                    throws com.liferay.portal.kernel.exception.SystemException,
447                            com.liferay.portlet.wiki.NoSuchPageException {
448                    return getPersistence().findByNodeId_Last(nodeId, orderByComparator);
449            }
450    
451            /**
452            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63;.
453            *
454            * <p>
455            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
456            * </p>
457            *
458            * @param pageId the primary key of the current wiki page
459            * @param nodeId the node id to search with
460            * @param orderByComparator the comparator to order the set by
461            * @return the previous, current, and next wiki page
462            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
463            * @throws SystemException if a system exception occurred
464            */
465            public static com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
466                    long pageId, long nodeId,
467                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
468                    throws com.liferay.portal.kernel.exception.SystemException,
469                            com.liferay.portlet.wiki.NoSuchPageException {
470                    return getPersistence()
471                                       .findByNodeId_PrevAndNext(pageId, nodeId, orderByComparator);
472            }
473    
474            /**
475            * Finds all the wiki pages where format = &#63;.
476            *
477            * @param format the format to search with
478            * @return the matching wiki pages
479            * @throws SystemException if a system exception occurred
480            */
481            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
482                    java.lang.String format)
483                    throws com.liferay.portal.kernel.exception.SystemException {
484                    return getPersistence().findByFormat(format);
485            }
486    
487            /**
488            * Finds a range of all the wiki pages where format = &#63;.
489            *
490            * <p>
491            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
492            * </p>
493            *
494            * @param format the format to search with
495            * @param start the lower bound of the range of wiki pages to return
496            * @param end the upper bound of the range of wiki pages to return (not inclusive)
497            * @return the range of matching wiki pages
498            * @throws SystemException if a system exception occurred
499            */
500            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
501                    java.lang.String format, int start, int end)
502                    throws com.liferay.portal.kernel.exception.SystemException {
503                    return getPersistence().findByFormat(format, start, end);
504            }
505    
506            /**
507            * Finds an ordered range of all the wiki pages where format = &#63;.
508            *
509            * <p>
510            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
511            * </p>
512            *
513            * @param format the format to search with
514            * @param start the lower bound of the range of wiki pages to return
515            * @param end the upper bound of the range of wiki pages to return (not inclusive)
516            * @param orderByComparator the comparator to order the results by
517            * @return the ordered range of matching wiki pages
518            * @throws SystemException if a system exception occurred
519            */
520            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
521                    java.lang.String format, int start, int end,
522                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
523                    throws com.liferay.portal.kernel.exception.SystemException {
524                    return getPersistence()
525                                       .findByFormat(format, start, end, orderByComparator);
526            }
527    
528            /**
529            * Finds the first wiki page in the ordered set where format = &#63;.
530            *
531            * <p>
532            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
533            * </p>
534            *
535            * @param format the format to search with
536            * @param orderByComparator the comparator to order the set by
537            * @return the first matching wiki page
538            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
539            * @throws SystemException if a system exception occurred
540            */
541            public static com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
542                    java.lang.String format,
543                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
544                    throws com.liferay.portal.kernel.exception.SystemException,
545                            com.liferay.portlet.wiki.NoSuchPageException {
546                    return getPersistence().findByFormat_First(format, orderByComparator);
547            }
548    
549            /**
550            * Finds the last wiki page in the ordered set where format = &#63;.
551            *
552            * <p>
553            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
554            * </p>
555            *
556            * @param format the format to search with
557            * @param orderByComparator the comparator to order the set by
558            * @return the last matching wiki page
559            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
560            * @throws SystemException if a system exception occurred
561            */
562            public static com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
563                    java.lang.String format,
564                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
565                    throws com.liferay.portal.kernel.exception.SystemException,
566                            com.liferay.portlet.wiki.NoSuchPageException {
567                    return getPersistence().findByFormat_Last(format, orderByComparator);
568            }
569    
570            /**
571            * Finds the wiki pages before and after the current wiki page in the ordered set where format = &#63;.
572            *
573            * <p>
574            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
575            * </p>
576            *
577            * @param pageId the primary key of the current wiki page
578            * @param format the format to search with
579            * @param orderByComparator the comparator to order the set by
580            * @return the previous, current, and next wiki page
581            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
582            * @throws SystemException if a system exception occurred
583            */
584            public static com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
585                    long pageId, java.lang.String format,
586                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
587                    throws com.liferay.portal.kernel.exception.SystemException,
588                            com.liferay.portlet.wiki.NoSuchPageException {
589                    return getPersistence()
590                                       .findByFormat_PrevAndNext(pageId, format, orderByComparator);
591            }
592    
593            /**
594            * Finds all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
595            *
596            * @param resourcePrimKey the resource prim key to search with
597            * @param nodeId the node id to search with
598            * @return the matching wiki pages
599            * @throws SystemException if a system exception occurred
600            */
601            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
602                    long resourcePrimKey, long nodeId)
603                    throws com.liferay.portal.kernel.exception.SystemException {
604                    return getPersistence().findByR_N(resourcePrimKey, nodeId);
605            }
606    
607            /**
608            * Finds a range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
609            *
610            * <p>
611            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
612            * </p>
613            *
614            * @param resourcePrimKey the resource prim key to search with
615            * @param nodeId the node id to search with
616            * @param start the lower bound of the range of wiki pages to return
617            * @param end the upper bound of the range of wiki pages to return (not inclusive)
618            * @return the range of matching wiki pages
619            * @throws SystemException if a system exception occurred
620            */
621            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
622                    long resourcePrimKey, long nodeId, int start, int end)
623                    throws com.liferay.portal.kernel.exception.SystemException {
624                    return getPersistence().findByR_N(resourcePrimKey, nodeId, start, end);
625            }
626    
627            /**
628            * Finds an ordered range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
629            *
630            * <p>
631            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
632            * </p>
633            *
634            * @param resourcePrimKey the resource prim key to search with
635            * @param nodeId the node id to search with
636            * @param start the lower bound of the range of wiki pages to return
637            * @param end the upper bound of the range of wiki pages to return (not inclusive)
638            * @param orderByComparator the comparator to order the results by
639            * @return the ordered range of matching wiki pages
640            * @throws SystemException if a system exception occurred
641            */
642            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
643                    long resourcePrimKey, long nodeId, int start, int end,
644                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
645                    throws com.liferay.portal.kernel.exception.SystemException {
646                    return getPersistence()
647                                       .findByR_N(resourcePrimKey, nodeId, start, end,
648                            orderByComparator);
649            }
650    
651            /**
652            * Finds the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
653            *
654            * <p>
655            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
656            * </p>
657            *
658            * @param resourcePrimKey the resource prim key to search with
659            * @param nodeId the node id to search with
660            * @param orderByComparator the comparator to order the set by
661            * @return the first matching wiki page
662            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
663            * @throws SystemException if a system exception occurred
664            */
665            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_First(
666                    long resourcePrimKey, long nodeId,
667                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
668                    throws com.liferay.portal.kernel.exception.SystemException,
669                            com.liferay.portlet.wiki.NoSuchPageException {
670                    return getPersistence()
671                                       .findByR_N_First(resourcePrimKey, nodeId, orderByComparator);
672            }
673    
674            /**
675            * Finds the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
676            *
677            * <p>
678            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
679            * </p>
680            *
681            * @param resourcePrimKey the resource prim key to search with
682            * @param nodeId the node id to search with
683            * @param orderByComparator the comparator to order the set by
684            * @return the last matching wiki page
685            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
686            * @throws SystemException if a system exception occurred
687            */
688            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_Last(
689                    long resourcePrimKey, long nodeId,
690                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
691                    throws com.liferay.portal.kernel.exception.SystemException,
692                            com.liferay.portlet.wiki.NoSuchPageException {
693                    return getPersistence()
694                                       .findByR_N_Last(resourcePrimKey, nodeId, orderByComparator);
695            }
696    
697            /**
698            * Finds the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
699            *
700            * <p>
701            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
702            * </p>
703            *
704            * @param pageId the primary key of the current wiki page
705            * @param resourcePrimKey the resource prim key to search with
706            * @param nodeId the node id to search with
707            * @param orderByComparator the comparator to order the set by
708            * @return the previous, current, and next wiki page
709            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
710            * @throws SystemException if a system exception occurred
711            */
712            public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_PrevAndNext(
713                    long pageId, long resourcePrimKey, long nodeId,
714                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
715                    throws com.liferay.portal.kernel.exception.SystemException,
716                            com.liferay.portlet.wiki.NoSuchPageException {
717                    return getPersistence()
718                                       .findByR_N_PrevAndNext(pageId, resourcePrimKey, nodeId,
719                            orderByComparator);
720            }
721    
722            /**
723            * Finds all the wiki pages where nodeId = &#63; and title = &#63;.
724            *
725            * @param nodeId the node id to search with
726            * @param title the title to search with
727            * @return the matching wiki pages
728            * @throws SystemException if a system exception occurred
729            */
730            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
731                    long nodeId, java.lang.String title)
732                    throws com.liferay.portal.kernel.exception.SystemException {
733                    return getPersistence().findByN_T(nodeId, title);
734            }
735    
736            /**
737            * Finds a range of all the wiki pages where nodeId = &#63; and title = &#63;.
738            *
739            * <p>
740            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
741            * </p>
742            *
743            * @param nodeId the node id to search with
744            * @param title the title to search with
745            * @param start the lower bound of the range of wiki pages to return
746            * @param end the upper bound of the range of wiki pages to return (not inclusive)
747            * @return the range of matching wiki pages
748            * @throws SystemException if a system exception occurred
749            */
750            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
751                    long nodeId, java.lang.String title, int start, int end)
752                    throws com.liferay.portal.kernel.exception.SystemException {
753                    return getPersistence().findByN_T(nodeId, title, start, end);
754            }
755    
756            /**
757            * Finds an ordered range of all the wiki pages where nodeId = &#63; and title = &#63;.
758            *
759            * <p>
760            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
761            * </p>
762            *
763            * @param nodeId the node id to search with
764            * @param title the title to search with
765            * @param start the lower bound of the range of wiki pages to return
766            * @param end the upper bound of the range of wiki pages to return (not inclusive)
767            * @param orderByComparator the comparator to order the results by
768            * @return the ordered range of matching wiki pages
769            * @throws SystemException if a system exception occurred
770            */
771            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
772                    long nodeId, java.lang.String title, int start, int end,
773                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
774                    throws com.liferay.portal.kernel.exception.SystemException {
775                    return getPersistence()
776                                       .findByN_T(nodeId, title, start, end, orderByComparator);
777            }
778    
779            /**
780            * Finds the first wiki page in the ordered set where nodeId = &#63; and title = &#63;.
781            *
782            * <p>
783            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
784            * </p>
785            *
786            * @param nodeId the node id to search with
787            * @param title the title to search with
788            * @param orderByComparator the comparator to order the set by
789            * @return the first matching wiki page
790            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
791            * @throws SystemException if a system exception occurred
792            */
793            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
794                    long nodeId, java.lang.String title,
795                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
796                    throws com.liferay.portal.kernel.exception.SystemException,
797                            com.liferay.portlet.wiki.NoSuchPageException {
798                    return getPersistence().findByN_T_First(nodeId, title, orderByComparator);
799            }
800    
801            /**
802            * Finds the last wiki page in the ordered set where nodeId = &#63; and title = &#63;.
803            *
804            * <p>
805            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
806            * </p>
807            *
808            * @param nodeId the node id to search with
809            * @param title the title to search with
810            * @param orderByComparator the comparator to order the set by
811            * @return the last matching wiki page
812            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
813            * @throws SystemException if a system exception occurred
814            */
815            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(
816                    long nodeId, java.lang.String title,
817                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
818                    throws com.liferay.portal.kernel.exception.SystemException,
819                            com.liferay.portlet.wiki.NoSuchPageException {
820                    return getPersistence().findByN_T_Last(nodeId, title, orderByComparator);
821            }
822    
823            /**
824            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63;.
825            *
826            * <p>
827            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
828            * </p>
829            *
830            * @param pageId the primary key of the current wiki page
831            * @param nodeId the node id to search with
832            * @param title the title to search with
833            * @param orderByComparator the comparator to order the set by
834            * @return the previous, current, and next wiki page
835            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
836            * @throws SystemException if a system exception occurred
837            */
838            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
839                    long pageId, long nodeId, java.lang.String title,
840                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
841                    throws com.liferay.portal.kernel.exception.SystemException,
842                            com.liferay.portlet.wiki.NoSuchPageException {
843                    return getPersistence()
844                                       .findByN_T_PrevAndNext(pageId, nodeId, title,
845                            orderByComparator);
846            }
847    
848            /**
849            * Finds all the wiki pages where nodeId = &#63; and head = &#63;.
850            *
851            * @param nodeId the node id to search with
852            * @param head the head to search with
853            * @return the matching wiki pages
854            * @throws SystemException if a system exception occurred
855            */
856            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
857                    long nodeId, boolean head)
858                    throws com.liferay.portal.kernel.exception.SystemException {
859                    return getPersistence().findByN_H(nodeId, head);
860            }
861    
862            /**
863            * Finds a range of all the wiki pages where nodeId = &#63; and head = &#63;.
864            *
865            * <p>
866            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
867            * </p>
868            *
869            * @param nodeId the node id to search with
870            * @param head the head to search with
871            * @param start the lower bound of the range of wiki pages to return
872            * @param end the upper bound of the range of wiki pages to return (not inclusive)
873            * @return the range of matching wiki pages
874            * @throws SystemException if a system exception occurred
875            */
876            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
877                    long nodeId, boolean head, int start, int end)
878                    throws com.liferay.portal.kernel.exception.SystemException {
879                    return getPersistence().findByN_H(nodeId, head, start, end);
880            }
881    
882            /**
883            * Finds an ordered range of all the wiki pages where nodeId = &#63; and head = &#63;.
884            *
885            * <p>
886            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
887            * </p>
888            *
889            * @param nodeId the node id to search with
890            * @param head the head to search with
891            * @param start the lower bound of the range of wiki pages to return
892            * @param end the upper bound of the range of wiki pages to return (not inclusive)
893            * @param orderByComparator the comparator to order the results by
894            * @return the ordered range of matching wiki pages
895            * @throws SystemException if a system exception occurred
896            */
897            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
898                    long nodeId, boolean head, int start, int end,
899                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
900                    throws com.liferay.portal.kernel.exception.SystemException {
901                    return getPersistence()
902                                       .findByN_H(nodeId, head, start, end, orderByComparator);
903            }
904    
905            /**
906            * Finds the first wiki page in the ordered set where nodeId = &#63; and head = &#63;.
907            *
908            * <p>
909            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
910            * </p>
911            *
912            * @param nodeId the node id to search with
913            * @param head the head to search with
914            * @param orderByComparator the comparator to order the set by
915            * @return the first matching wiki page
916            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
917            * @throws SystemException if a system exception occurred
918            */
919            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
920                    long nodeId, boolean head,
921                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
922                    throws com.liferay.portal.kernel.exception.SystemException,
923                            com.liferay.portlet.wiki.NoSuchPageException {
924                    return getPersistence().findByN_H_First(nodeId, head, orderByComparator);
925            }
926    
927            /**
928            * Finds the last wiki page in the ordered set where nodeId = &#63; and head = &#63;.
929            *
930            * <p>
931            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
932            * </p>
933            *
934            * @param nodeId the node id to search with
935            * @param head the head to search with
936            * @param orderByComparator the comparator to order the set by
937            * @return the last matching wiki page
938            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
939            * @throws SystemException if a system exception occurred
940            */
941            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(
942                    long nodeId, boolean head,
943                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
944                    throws com.liferay.portal.kernel.exception.SystemException,
945                            com.liferay.portlet.wiki.NoSuchPageException {
946                    return getPersistence().findByN_H_Last(nodeId, head, orderByComparator);
947            }
948    
949            /**
950            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63;.
951            *
952            * <p>
953            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
954            * </p>
955            *
956            * @param pageId the primary key of the current wiki page
957            * @param nodeId the node id to search with
958            * @param head the head to search with
959            * @param orderByComparator the comparator to order the set by
960            * @return the previous, current, and next wiki page
961            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
962            * @throws SystemException if a system exception occurred
963            */
964            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
965                    long pageId, long nodeId, boolean head,
966                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
967                    throws com.liferay.portal.kernel.exception.SystemException,
968                            com.liferay.portlet.wiki.NoSuchPageException {
969                    return getPersistence()
970                                       .findByN_H_PrevAndNext(pageId, nodeId, head,
971                            orderByComparator);
972            }
973    
974            /**
975            * Finds all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
976            *
977            * @param nodeId the node id to search with
978            * @param parentTitle the parent title to search with
979            * @return the matching wiki pages
980            * @throws SystemException if a system exception occurred
981            */
982            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
983                    long nodeId, java.lang.String parentTitle)
984                    throws com.liferay.portal.kernel.exception.SystemException {
985                    return getPersistence().findByN_P(nodeId, parentTitle);
986            }
987    
988            /**
989            * Finds a range of all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
990            *
991            * <p>
992            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
993            * </p>
994            *
995            * @param nodeId the node id to search with
996            * @param parentTitle the parent title to search with
997            * @param start the lower bound of the range of wiki pages to return
998            * @param end the upper bound of the range of wiki pages to return (not inclusive)
999            * @return the range of matching wiki pages
1000            * @throws SystemException if a system exception occurred
1001            */
1002            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
1003                    long nodeId, java.lang.String parentTitle, int start, int end)
1004                    throws com.liferay.portal.kernel.exception.SystemException {
1005                    return getPersistence().findByN_P(nodeId, parentTitle, start, end);
1006            }
1007    
1008            /**
1009            * Finds an ordered range of all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
1010            *
1011            * <p>
1012            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1013            * </p>
1014            *
1015            * @param nodeId the node id to search with
1016            * @param parentTitle the parent title to search with
1017            * @param start the lower bound of the range of wiki pages to return
1018            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1019            * @param orderByComparator the comparator to order the results by
1020            * @return the ordered range of matching wiki pages
1021            * @throws SystemException if a system exception occurred
1022            */
1023            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
1024                    long nodeId, java.lang.String parentTitle, int start, int end,
1025                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1026                    throws com.liferay.portal.kernel.exception.SystemException {
1027                    return getPersistence()
1028                                       .findByN_P(nodeId, parentTitle, start, end, orderByComparator);
1029            }
1030    
1031            /**
1032            * Finds the first wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1033            *
1034            * <p>
1035            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1036            * </p>
1037            *
1038            * @param nodeId the node id to search with
1039            * @param parentTitle the parent title to search with
1040            * @param orderByComparator the comparator to order the set by
1041            * @return the first matching wiki page
1042            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1043            * @throws SystemException if a system exception occurred
1044            */
1045            public static com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
1046                    long nodeId, java.lang.String parentTitle,
1047                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1048                    throws com.liferay.portal.kernel.exception.SystemException,
1049                            com.liferay.portlet.wiki.NoSuchPageException {
1050                    return getPersistence()
1051                                       .findByN_P_First(nodeId, parentTitle, orderByComparator);
1052            }
1053    
1054            /**
1055            * Finds the last wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1056            *
1057            * <p>
1058            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1059            * </p>
1060            *
1061            * @param nodeId the node id to search with
1062            * @param parentTitle the parent title to search with
1063            * @param orderByComparator the comparator to order the set by
1064            * @return the last matching wiki page
1065            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1066            * @throws SystemException if a system exception occurred
1067            */
1068            public static com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(
1069                    long nodeId, java.lang.String parentTitle,
1070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1071                    throws com.liferay.portal.kernel.exception.SystemException,
1072                            com.liferay.portlet.wiki.NoSuchPageException {
1073                    return getPersistence()
1074                                       .findByN_P_Last(nodeId, parentTitle, orderByComparator);
1075            }
1076    
1077            /**
1078            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1079            *
1080            * <p>
1081            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1082            * </p>
1083            *
1084            * @param pageId the primary key of the current wiki page
1085            * @param nodeId the node id to search with
1086            * @param parentTitle the parent title to search with
1087            * @param orderByComparator the comparator to order the set by
1088            * @return the previous, current, and next wiki page
1089            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1090            * @throws SystemException if a system exception occurred
1091            */
1092            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
1093                    long pageId, long nodeId, java.lang.String parentTitle,
1094                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1095                    throws com.liferay.portal.kernel.exception.SystemException,
1096                            com.liferay.portlet.wiki.NoSuchPageException {
1097                    return getPersistence()
1098                                       .findByN_P_PrevAndNext(pageId, nodeId, parentTitle,
1099                            orderByComparator);
1100            }
1101    
1102            /**
1103            * Finds all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1104            *
1105            * @param nodeId the node id to search with
1106            * @param redirectTitle the redirect title to search with
1107            * @return the matching wiki pages
1108            * @throws SystemException if a system exception occurred
1109            */
1110            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1111                    long nodeId, java.lang.String redirectTitle)
1112                    throws com.liferay.portal.kernel.exception.SystemException {
1113                    return getPersistence().findByN_R(nodeId, redirectTitle);
1114            }
1115    
1116            /**
1117            * Finds a range of all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1118            *
1119            * <p>
1120            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1121            * </p>
1122            *
1123            * @param nodeId the node id to search with
1124            * @param redirectTitle the redirect title to search with
1125            * @param start the lower bound of the range of wiki pages to return
1126            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1127            * @return the range of matching wiki pages
1128            * @throws SystemException if a system exception occurred
1129            */
1130            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1131                    long nodeId, java.lang.String redirectTitle, int start, int end)
1132                    throws com.liferay.portal.kernel.exception.SystemException {
1133                    return getPersistence().findByN_R(nodeId, redirectTitle, start, end);
1134            }
1135    
1136            /**
1137            * Finds an ordered range of all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1138            *
1139            * <p>
1140            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1141            * </p>
1142            *
1143            * @param nodeId the node id to search with
1144            * @param redirectTitle the redirect title to search with
1145            * @param start the lower bound of the range of wiki pages to return
1146            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1147            * @param orderByComparator the comparator to order the results by
1148            * @return the ordered range of matching wiki pages
1149            * @throws SystemException if a system exception occurred
1150            */
1151            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1152                    long nodeId, java.lang.String redirectTitle, int start, int end,
1153                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1154                    throws com.liferay.portal.kernel.exception.SystemException {
1155                    return getPersistence()
1156                                       .findByN_R(nodeId, redirectTitle, start, end,
1157                            orderByComparator);
1158            }
1159    
1160            /**
1161            * Finds the first wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1162            *
1163            * <p>
1164            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1165            * </p>
1166            *
1167            * @param nodeId the node id to search with
1168            * @param redirectTitle the redirect title to search with
1169            * @param orderByComparator the comparator to order the set by
1170            * @return the first matching wiki page
1171            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1172            * @throws SystemException if a system exception occurred
1173            */
1174            public static com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
1175                    long nodeId, java.lang.String redirectTitle,
1176                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1177                    throws com.liferay.portal.kernel.exception.SystemException,
1178                            com.liferay.portlet.wiki.NoSuchPageException {
1179                    return getPersistence()
1180                                       .findByN_R_First(nodeId, redirectTitle, orderByComparator);
1181            }
1182    
1183            /**
1184            * Finds the last wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1185            *
1186            * <p>
1187            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1188            * </p>
1189            *
1190            * @param nodeId the node id to search with
1191            * @param redirectTitle the redirect title to search with
1192            * @param orderByComparator the comparator to order the set by
1193            * @return the last matching wiki page
1194            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1195            * @throws SystemException if a system exception occurred
1196            */
1197            public static com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(
1198                    long nodeId, java.lang.String redirectTitle,
1199                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1200                    throws com.liferay.portal.kernel.exception.SystemException,
1201                            com.liferay.portlet.wiki.NoSuchPageException {
1202                    return getPersistence()
1203                                       .findByN_R_Last(nodeId, redirectTitle, orderByComparator);
1204            }
1205    
1206            /**
1207            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1208            *
1209            * <p>
1210            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1211            * </p>
1212            *
1213            * @param pageId the primary key of the current wiki page
1214            * @param nodeId the node id to search with
1215            * @param redirectTitle the redirect title to search with
1216            * @param orderByComparator the comparator to order the set by
1217            * @return the previous, current, and next wiki page
1218            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1219            * @throws SystemException if a system exception occurred
1220            */
1221            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
1222                    long pageId, long nodeId, java.lang.String redirectTitle,
1223                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1224                    throws com.liferay.portal.kernel.exception.SystemException,
1225                            com.liferay.portlet.wiki.NoSuchPageException {
1226                    return getPersistence()
1227                                       .findByN_R_PrevAndNext(pageId, nodeId, redirectTitle,
1228                            orderByComparator);
1229            }
1230    
1231            /**
1232            * Finds all the wiki pages where nodeId = &#63; and status = &#63;.
1233            *
1234            * @param nodeId the node id to search with
1235            * @param status the status to search with
1236            * @return the matching wiki pages
1237            * @throws SystemException if a system exception occurred
1238            */
1239            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
1240                    long nodeId, int status)
1241                    throws com.liferay.portal.kernel.exception.SystemException {
1242                    return getPersistence().findByN_S(nodeId, status);
1243            }
1244    
1245            /**
1246            * Finds a range of all the wiki pages where nodeId = &#63; and status = &#63;.
1247            *
1248            * <p>
1249            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1250            * </p>
1251            *
1252            * @param nodeId the node id to search with
1253            * @param status the status to search with
1254            * @param start the lower bound of the range of wiki pages to return
1255            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1256            * @return the range of matching wiki pages
1257            * @throws SystemException if a system exception occurred
1258            */
1259            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
1260                    long nodeId, int status, int start, int end)
1261                    throws com.liferay.portal.kernel.exception.SystemException {
1262                    return getPersistence().findByN_S(nodeId, status, start, end);
1263            }
1264    
1265            /**
1266            * Finds an ordered range of all the wiki pages where nodeId = &#63; and status = &#63;.
1267            *
1268            * <p>
1269            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1270            * </p>
1271            *
1272            * @param nodeId the node id to search with
1273            * @param status the status to search with
1274            * @param start the lower bound of the range of wiki pages to return
1275            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1276            * @param orderByComparator the comparator to order the results by
1277            * @return the ordered range of matching wiki pages
1278            * @throws SystemException if a system exception occurred
1279            */
1280            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
1281                    long nodeId, int status, int start, int end,
1282                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1283                    throws com.liferay.portal.kernel.exception.SystemException {
1284                    return getPersistence()
1285                                       .findByN_S(nodeId, status, start, end, orderByComparator);
1286            }
1287    
1288            /**
1289            * Finds the first wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1290            *
1291            * <p>
1292            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1293            * </p>
1294            *
1295            * @param nodeId the node id to search with
1296            * @param status the status to search with
1297            * @param orderByComparator the comparator to order the set by
1298            * @return the first matching wiki page
1299            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1300            * @throws SystemException if a system exception occurred
1301            */
1302            public static com.liferay.portlet.wiki.model.WikiPage findByN_S_First(
1303                    long nodeId, int status,
1304                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1305                    throws com.liferay.portal.kernel.exception.SystemException,
1306                            com.liferay.portlet.wiki.NoSuchPageException {
1307                    return getPersistence()
1308                                       .findByN_S_First(nodeId, status, orderByComparator);
1309            }
1310    
1311            /**
1312            * Finds the last wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1313            *
1314            * <p>
1315            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1316            * </p>
1317            *
1318            * @param nodeId the node id to search with
1319            * @param status the status to search with
1320            * @param orderByComparator the comparator to order the set by
1321            * @return the last matching wiki page
1322            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1323            * @throws SystemException if a system exception occurred
1324            */
1325            public static com.liferay.portlet.wiki.model.WikiPage findByN_S_Last(
1326                    long nodeId, int status,
1327                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1328                    throws com.liferay.portal.kernel.exception.SystemException,
1329                            com.liferay.portlet.wiki.NoSuchPageException {
1330                    return getPersistence().findByN_S_Last(nodeId, status, orderByComparator);
1331            }
1332    
1333            /**
1334            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1335            *
1336            * <p>
1337            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1338            * </p>
1339            *
1340            * @param pageId the primary key of the current wiki page
1341            * @param nodeId the node id to search with
1342            * @param status the status to search with
1343            * @param orderByComparator the comparator to order the set by
1344            * @return the previous, current, and next wiki page
1345            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1346            * @throws SystemException if a system exception occurred
1347            */
1348            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_S_PrevAndNext(
1349                    long pageId, long nodeId, int status,
1350                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1351                    throws com.liferay.portal.kernel.exception.SystemException,
1352                            com.liferay.portlet.wiki.NoSuchPageException {
1353                    return getPersistence()
1354                                       .findByN_S_PrevAndNext(pageId, nodeId, status,
1355                            orderByComparator);
1356            }
1357    
1358            /**
1359            * Finds the wiki page where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63; or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found.
1360            *
1361            * @param resourcePrimKey the resource prim key to search with
1362            * @param nodeId the node id to search with
1363            * @param version the version to search with
1364            * @return the matching wiki page
1365            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1366            * @throws SystemException if a system exception occurred
1367            */
1368            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_V(
1369                    long resourcePrimKey, long nodeId, double version)
1370                    throws com.liferay.portal.kernel.exception.SystemException,
1371                            com.liferay.portlet.wiki.NoSuchPageException {
1372                    return getPersistence().findByR_N_V(resourcePrimKey, nodeId, version);
1373            }
1374    
1375            /**
1376            * Finds the wiki page where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
1377            *
1378            * @param resourcePrimKey the resource prim key to search with
1379            * @param nodeId the node id to search with
1380            * @param version the version to search with
1381            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
1382            * @throws SystemException if a system exception occurred
1383            */
1384            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V(
1385                    long resourcePrimKey, long nodeId, double version)
1386                    throws com.liferay.portal.kernel.exception.SystemException {
1387                    return getPersistence().fetchByR_N_V(resourcePrimKey, nodeId, version);
1388            }
1389    
1390            /**
1391            * Finds the wiki page where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
1392            *
1393            * @param resourcePrimKey the resource prim key to search with
1394            * @param nodeId the node id to search with
1395            * @param version the version to search with
1396            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
1397            * @throws SystemException if a system exception occurred
1398            */
1399            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V(
1400                    long resourcePrimKey, long nodeId, double version,
1401                    boolean retrieveFromCache)
1402                    throws com.liferay.portal.kernel.exception.SystemException {
1403                    return getPersistence()
1404                                       .fetchByR_N_V(resourcePrimKey, nodeId, version,
1405                            retrieveFromCache);
1406            }
1407    
1408            /**
1409            * Finds all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1410            *
1411            * @param resourcePrimKey the resource prim key to search with
1412            * @param nodeId the node id to search with
1413            * @param status the status to search with
1414            * @return the matching wiki pages
1415            * @throws SystemException if a system exception occurred
1416            */
1417            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
1418                    long resourcePrimKey, long nodeId, int status)
1419                    throws com.liferay.portal.kernel.exception.SystemException {
1420                    return getPersistence().findByR_N_S(resourcePrimKey, nodeId, status);
1421            }
1422    
1423            /**
1424            * Finds a range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1425            *
1426            * <p>
1427            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1428            * </p>
1429            *
1430            * @param resourcePrimKey the resource prim key to search with
1431            * @param nodeId the node id to search with
1432            * @param status the status to search with
1433            * @param start the lower bound of the range of wiki pages to return
1434            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1435            * @return the range of matching wiki pages
1436            * @throws SystemException if a system exception occurred
1437            */
1438            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
1439                    long resourcePrimKey, long nodeId, int status, int start, int end)
1440                    throws com.liferay.portal.kernel.exception.SystemException {
1441                    return getPersistence()
1442                                       .findByR_N_S(resourcePrimKey, nodeId, status, start, end);
1443            }
1444    
1445            /**
1446            * Finds an ordered range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1447            *
1448            * <p>
1449            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1450            * </p>
1451            *
1452            * @param resourcePrimKey the resource prim key to search with
1453            * @param nodeId the node id to search with
1454            * @param status the status to search with
1455            * @param start the lower bound of the range of wiki pages to return
1456            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1457            * @param orderByComparator the comparator to order the results by
1458            * @return the ordered range of matching wiki pages
1459            * @throws SystemException if a system exception occurred
1460            */
1461            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
1462                    long resourcePrimKey, long nodeId, int status, int start, int end,
1463                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1464                    throws com.liferay.portal.kernel.exception.SystemException {
1465                    return getPersistence()
1466                                       .findByR_N_S(resourcePrimKey, nodeId, status, start, end,
1467                            orderByComparator);
1468            }
1469    
1470            /**
1471            * Finds the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1472            *
1473            * <p>
1474            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1475            * </p>
1476            *
1477            * @param resourcePrimKey the resource prim key to search with
1478            * @param nodeId the node id to search with
1479            * @param status the status to search with
1480            * @param orderByComparator the comparator to order the set by
1481            * @return the first matching wiki page
1482            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1483            * @throws SystemException if a system exception occurred
1484            */
1485            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_S_First(
1486                    long resourcePrimKey, long nodeId, int status,
1487                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1488                    throws com.liferay.portal.kernel.exception.SystemException,
1489                            com.liferay.portlet.wiki.NoSuchPageException {
1490                    return getPersistence()
1491                                       .findByR_N_S_First(resourcePrimKey, nodeId, status,
1492                            orderByComparator);
1493            }
1494    
1495            /**
1496            * Finds the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1497            *
1498            * <p>
1499            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1500            * </p>
1501            *
1502            * @param resourcePrimKey the resource prim key to search with
1503            * @param nodeId the node id to search with
1504            * @param status the status to search with
1505            * @param orderByComparator the comparator to order the set by
1506            * @return the last matching wiki page
1507            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1508            * @throws SystemException if a system exception occurred
1509            */
1510            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_S_Last(
1511                    long resourcePrimKey, long nodeId, int status,
1512                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1513                    throws com.liferay.portal.kernel.exception.SystemException,
1514                            com.liferay.portlet.wiki.NoSuchPageException {
1515                    return getPersistence()
1516                                       .findByR_N_S_Last(resourcePrimKey, nodeId, status,
1517                            orderByComparator);
1518            }
1519    
1520            /**
1521            * Finds the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1522            *
1523            * <p>
1524            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1525            * </p>
1526            *
1527            * @param pageId the primary key of the current wiki page
1528            * @param resourcePrimKey the resource prim key to search with
1529            * @param nodeId the node id to search with
1530            * @param status the status to search with
1531            * @param orderByComparator the comparator to order the set by
1532            * @return the previous, current, and next wiki page
1533            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1534            * @throws SystemException if a system exception occurred
1535            */
1536            public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_S_PrevAndNext(
1537                    long pageId, long resourcePrimKey, long nodeId, int status,
1538                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1539                    throws com.liferay.portal.kernel.exception.SystemException,
1540                            com.liferay.portlet.wiki.NoSuchPageException {
1541                    return getPersistence()
1542                                       .findByR_N_S_PrevAndNext(pageId, resourcePrimKey, nodeId,
1543                            status, orderByComparator);
1544            }
1545    
1546            /**
1547            * Finds all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
1548            *
1549            * @param userId the user id to search with
1550            * @param nodeId the node id to search with
1551            * @param status the status to search with
1552            * @return the matching wiki pages
1553            * @throws SystemException if a system exception occurred
1554            */
1555            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
1556                    long userId, long nodeId, int status)
1557                    throws com.liferay.portal.kernel.exception.SystemException {
1558                    return getPersistence().findByU_N_S(userId, nodeId, status);
1559            }
1560    
1561            /**
1562            * Finds a range of all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
1563            *
1564            * <p>
1565            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1566            * </p>
1567            *
1568            * @param userId the user id to search with
1569            * @param nodeId the node id to search with
1570            * @param status the status to search with
1571            * @param start the lower bound of the range of wiki pages to return
1572            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1573            * @return the range of matching wiki pages
1574            * @throws SystemException if a system exception occurred
1575            */
1576            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
1577                    long userId, long nodeId, int status, int start, int end)
1578                    throws com.liferay.portal.kernel.exception.SystemException {
1579                    return getPersistence().findByU_N_S(userId, nodeId, status, start, end);
1580            }
1581    
1582            /**
1583            * Finds an ordered range of all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
1584            *
1585            * <p>
1586            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1587            * </p>
1588            *
1589            * @param userId the user id to search with
1590            * @param nodeId the node id to search with
1591            * @param status the status to search with
1592            * @param start the lower bound of the range of wiki pages to return
1593            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1594            * @param orderByComparator the comparator to order the results by
1595            * @return the ordered range of matching wiki pages
1596            * @throws SystemException if a system exception occurred
1597            */
1598            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
1599                    long userId, long nodeId, int status, int start, int end,
1600                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1601                    throws com.liferay.portal.kernel.exception.SystemException {
1602                    return getPersistence()
1603                                       .findByU_N_S(userId, nodeId, status, start, end,
1604                            orderByComparator);
1605            }
1606    
1607            /**
1608            * Finds the first wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
1609            *
1610            * <p>
1611            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1612            * </p>
1613            *
1614            * @param userId the user id to search with
1615            * @param nodeId the node id to search with
1616            * @param status the status to search with
1617            * @param orderByComparator the comparator to order the set by
1618            * @return the first matching wiki page
1619            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1620            * @throws SystemException if a system exception occurred
1621            */
1622            public static com.liferay.portlet.wiki.model.WikiPage findByU_N_S_First(
1623                    long userId, long nodeId, int status,
1624                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1625                    throws com.liferay.portal.kernel.exception.SystemException,
1626                            com.liferay.portlet.wiki.NoSuchPageException {
1627                    return getPersistence()
1628                                       .findByU_N_S_First(userId, nodeId, status, orderByComparator);
1629            }
1630    
1631            /**
1632            * Finds the last wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
1633            *
1634            * <p>
1635            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1636            * </p>
1637            *
1638            * @param userId the user id to search with
1639            * @param nodeId the node id to search with
1640            * @param status the status to search with
1641            * @param orderByComparator the comparator to order the set by
1642            * @return the last matching wiki page
1643            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1644            * @throws SystemException if a system exception occurred
1645            */
1646            public static com.liferay.portlet.wiki.model.WikiPage findByU_N_S_Last(
1647                    long userId, long nodeId, int status,
1648                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1649                    throws com.liferay.portal.kernel.exception.SystemException,
1650                            com.liferay.portlet.wiki.NoSuchPageException {
1651                    return getPersistence()
1652                                       .findByU_N_S_Last(userId, nodeId, status, orderByComparator);
1653            }
1654    
1655            /**
1656            * Finds the wiki pages before and after the current wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
1657            *
1658            * <p>
1659            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1660            * </p>
1661            *
1662            * @param pageId the primary key of the current wiki page
1663            * @param userId the user id to search with
1664            * @param nodeId the node id to search with
1665            * @param status the status to search with
1666            * @param orderByComparator the comparator to order the set by
1667            * @return the previous, current, and next wiki page
1668            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1669            * @throws SystemException if a system exception occurred
1670            */
1671            public static com.liferay.portlet.wiki.model.WikiPage[] findByU_N_S_PrevAndNext(
1672                    long pageId, long userId, long nodeId, int status,
1673                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1674                    throws com.liferay.portal.kernel.exception.SystemException,
1675                            com.liferay.portlet.wiki.NoSuchPageException {
1676                    return getPersistence()
1677                                       .findByU_N_S_PrevAndNext(pageId, userId, nodeId, status,
1678                            orderByComparator);
1679            }
1680    
1681            /**
1682            * Finds the wiki page where nodeId = &#63; and title = &#63; and version = &#63; or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found.
1683            *
1684            * @param nodeId the node id to search with
1685            * @param title the title to search with
1686            * @param version the version to search with
1687            * @return the matching wiki page
1688            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1689            * @throws SystemException if a system exception occurred
1690            */
1691            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_V(
1692                    long nodeId, java.lang.String title, double version)
1693                    throws com.liferay.portal.kernel.exception.SystemException,
1694                            com.liferay.portlet.wiki.NoSuchPageException {
1695                    return getPersistence().findByN_T_V(nodeId, title, version);
1696            }
1697    
1698            /**
1699            * Finds the wiki page where nodeId = &#63; and title = &#63; and version = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
1700            *
1701            * @param nodeId the node id to search with
1702            * @param title the title to search with
1703            * @param version the version to search with
1704            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
1705            * @throws SystemException if a system exception occurred
1706            */
1707            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(
1708                    long nodeId, java.lang.String title, double version)
1709                    throws com.liferay.portal.kernel.exception.SystemException {
1710                    return getPersistence().fetchByN_T_V(nodeId, title, version);
1711            }
1712    
1713            /**
1714            * Finds the wiki page where nodeId = &#63; and title = &#63; and version = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
1715            *
1716            * @param nodeId the node id to search with
1717            * @param title the title to search with
1718            * @param version the version to search with
1719            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
1720            * @throws SystemException if a system exception occurred
1721            */
1722            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(
1723                    long nodeId, java.lang.String title, double version,
1724                    boolean retrieveFromCache)
1725                    throws com.liferay.portal.kernel.exception.SystemException {
1726                    return getPersistence()
1727                                       .fetchByN_T_V(nodeId, title, version, retrieveFromCache);
1728            }
1729    
1730            /**
1731            * Finds all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
1732            *
1733            * @param nodeId the node id to search with
1734            * @param title the title to search with
1735            * @param head the head to search with
1736            * @return the matching wiki pages
1737            * @throws SystemException if a system exception occurred
1738            */
1739            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
1740                    long nodeId, java.lang.String title, boolean head)
1741                    throws com.liferay.portal.kernel.exception.SystemException {
1742                    return getPersistence().findByN_T_H(nodeId, title, head);
1743            }
1744    
1745            /**
1746            * Finds a range of all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
1747            *
1748            * <p>
1749            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1750            * </p>
1751            *
1752            * @param nodeId the node id to search with
1753            * @param title the title to search with
1754            * @param head the head to search with
1755            * @param start the lower bound of the range of wiki pages to return
1756            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1757            * @return the range of matching wiki pages
1758            * @throws SystemException if a system exception occurred
1759            */
1760            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
1761                    long nodeId, java.lang.String title, boolean head, int start, int end)
1762                    throws com.liferay.portal.kernel.exception.SystemException {
1763                    return getPersistence().findByN_T_H(nodeId, title, head, start, end);
1764            }
1765    
1766            /**
1767            * Finds an ordered range of all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
1768            *
1769            * <p>
1770            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1771            * </p>
1772            *
1773            * @param nodeId the node id to search with
1774            * @param title the title to search with
1775            * @param head the head to search with
1776            * @param start the lower bound of the range of wiki pages to return
1777            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1778            * @param orderByComparator the comparator to order the results by
1779            * @return the ordered range of matching wiki pages
1780            * @throws SystemException if a system exception occurred
1781            */
1782            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
1783                    long nodeId, java.lang.String title, boolean head, int start, int end,
1784                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1785                    throws com.liferay.portal.kernel.exception.SystemException {
1786                    return getPersistence()
1787                                       .findByN_T_H(nodeId, title, head, start, end,
1788                            orderByComparator);
1789            }
1790    
1791            /**
1792            * Finds the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
1793            *
1794            * <p>
1795            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1796            * </p>
1797            *
1798            * @param nodeId the node id to search with
1799            * @param title the title to search with
1800            * @param head the head to search with
1801            * @param orderByComparator the comparator to order the set by
1802            * @return the first matching wiki page
1803            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1804            * @throws SystemException if a system exception occurred
1805            */
1806            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
1807                    long nodeId, java.lang.String title, boolean head,
1808                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1809                    throws com.liferay.portal.kernel.exception.SystemException,
1810                            com.liferay.portlet.wiki.NoSuchPageException {
1811                    return getPersistence()
1812                                       .findByN_T_H_First(nodeId, title, head, orderByComparator);
1813            }
1814    
1815            /**
1816            * Finds the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
1817            *
1818            * <p>
1819            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1820            * </p>
1821            *
1822            * @param nodeId the node id to search with
1823            * @param title the title to search with
1824            * @param head the head to search with
1825            * @param orderByComparator the comparator to order the set by
1826            * @return the last matching wiki page
1827            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1828            * @throws SystemException if a system exception occurred
1829            */
1830            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
1831                    long nodeId, java.lang.String title, boolean head,
1832                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1833                    throws com.liferay.portal.kernel.exception.SystemException,
1834                            com.liferay.portlet.wiki.NoSuchPageException {
1835                    return getPersistence()
1836                                       .findByN_T_H_Last(nodeId, title, head, orderByComparator);
1837            }
1838    
1839            /**
1840            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
1841            *
1842            * <p>
1843            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1844            * </p>
1845            *
1846            * @param pageId the primary key of the current wiki page
1847            * @param nodeId the node id to search with
1848            * @param title the title to search with
1849            * @param head the head to search with
1850            * @param orderByComparator the comparator to order the set by
1851            * @return the previous, current, and next wiki page
1852            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1853            * @throws SystemException if a system exception occurred
1854            */
1855            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
1856                    long pageId, long nodeId, java.lang.String title, boolean head,
1857                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1858                    throws com.liferay.portal.kernel.exception.SystemException,
1859                            com.liferay.portlet.wiki.NoSuchPageException {
1860                    return getPersistence()
1861                                       .findByN_T_H_PrevAndNext(pageId, nodeId, title, head,
1862                            orderByComparator);
1863            }
1864    
1865            /**
1866            * Finds all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
1867            *
1868            * @param nodeId the node id to search with
1869            * @param title the title to search with
1870            * @param status the status to search with
1871            * @return the matching wiki pages
1872            * @throws SystemException if a system exception occurred
1873            */
1874            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
1875                    long nodeId, java.lang.String title, int status)
1876                    throws com.liferay.portal.kernel.exception.SystemException {
1877                    return getPersistence().findByN_T_S(nodeId, title, status);
1878            }
1879    
1880            /**
1881            * Finds a range of all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
1882            *
1883            * <p>
1884            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1885            * </p>
1886            *
1887            * @param nodeId the node id to search with
1888            * @param title the title to search with
1889            * @param status the status to search with
1890            * @param start the lower bound of the range of wiki pages to return
1891            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1892            * @return the range of matching wiki pages
1893            * @throws SystemException if a system exception occurred
1894            */
1895            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
1896                    long nodeId, java.lang.String title, int status, int start, int end)
1897                    throws com.liferay.portal.kernel.exception.SystemException {
1898                    return getPersistence().findByN_T_S(nodeId, title, status, start, end);
1899            }
1900    
1901            /**
1902            * Finds an ordered range of all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
1903            *
1904            * <p>
1905            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1906            * </p>
1907            *
1908            * @param nodeId the node id to search with
1909            * @param title the title to search with
1910            * @param status the status to search with
1911            * @param start the lower bound of the range of wiki pages to return
1912            * @param end the upper bound of the range of wiki pages to return (not inclusive)
1913            * @param orderByComparator the comparator to order the results by
1914            * @return the ordered range of matching wiki pages
1915            * @throws SystemException if a system exception occurred
1916            */
1917            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
1918                    long nodeId, java.lang.String title, int status, int start, int end,
1919                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1920                    throws com.liferay.portal.kernel.exception.SystemException {
1921                    return getPersistence()
1922                                       .findByN_T_S(nodeId, title, status, start, end,
1923                            orderByComparator);
1924            }
1925    
1926            /**
1927            * Finds the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
1928            *
1929            * <p>
1930            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1931            * </p>
1932            *
1933            * @param nodeId the node id to search with
1934            * @param title the title to search with
1935            * @param status the status to search with
1936            * @param orderByComparator the comparator to order the set by
1937            * @return the first matching wiki page
1938            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1939            * @throws SystemException if a system exception occurred
1940            */
1941            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_S_First(
1942                    long nodeId, java.lang.String title, int status,
1943                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1944                    throws com.liferay.portal.kernel.exception.SystemException,
1945                            com.liferay.portlet.wiki.NoSuchPageException {
1946                    return getPersistence()
1947                                       .findByN_T_S_First(nodeId, title, status, orderByComparator);
1948            }
1949    
1950            /**
1951            * Finds the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
1952            *
1953            * <p>
1954            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1955            * </p>
1956            *
1957            * @param nodeId the node id to search with
1958            * @param title the title to search with
1959            * @param status the status to search with
1960            * @param orderByComparator the comparator to order the set by
1961            * @return the last matching wiki page
1962            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1963            * @throws SystemException if a system exception occurred
1964            */
1965            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_S_Last(
1966                    long nodeId, java.lang.String title, int status,
1967                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1968                    throws com.liferay.portal.kernel.exception.SystemException,
1969                            com.liferay.portlet.wiki.NoSuchPageException {
1970                    return getPersistence()
1971                                       .findByN_T_S_Last(nodeId, title, status, orderByComparator);
1972            }
1973    
1974            /**
1975            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
1976            *
1977            * <p>
1978            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1979            * </p>
1980            *
1981            * @param pageId the primary key of the current wiki page
1982            * @param nodeId the node id to search with
1983            * @param title the title to search with
1984            * @param status the status to search with
1985            * @param orderByComparator the comparator to order the set by
1986            * @return the previous, current, and next wiki page
1987            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1988            * @throws SystemException if a system exception occurred
1989            */
1990            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_S_PrevAndNext(
1991                    long pageId, long nodeId, java.lang.String title, int status,
1992                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1993                    throws com.liferay.portal.kernel.exception.SystemException,
1994                            com.liferay.portlet.wiki.NoSuchPageException {
1995                    return getPersistence()
1996                                       .findByN_T_S_PrevAndNext(pageId, nodeId, title, status,
1997                            orderByComparator);
1998            }
1999    
2000            /**
2001            * Finds all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2002            *
2003            * @param nodeId the node id to search with
2004            * @param head the head to search with
2005            * @param parentTitle the parent title to search with
2006            * @return the matching wiki pages
2007            * @throws SystemException if a system exception occurred
2008            */
2009            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
2010                    long nodeId, boolean head, java.lang.String parentTitle)
2011                    throws com.liferay.portal.kernel.exception.SystemException {
2012                    return getPersistence().findByN_H_P(nodeId, head, parentTitle);
2013            }
2014    
2015            /**
2016            * Finds a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2017            *
2018            * <p>
2019            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2020            * </p>
2021            *
2022            * @param nodeId the node id to search with
2023            * @param head the head to search with
2024            * @param parentTitle the parent title to search with
2025            * @param start the lower bound of the range of wiki pages to return
2026            * @param end the upper bound of the range of wiki pages to return (not inclusive)
2027            * @return the range of matching wiki pages
2028            * @throws SystemException if a system exception occurred
2029            */
2030            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
2031                    long nodeId, boolean head, java.lang.String parentTitle, int start,
2032                    int end) throws com.liferay.portal.kernel.exception.SystemException {
2033                    return getPersistence()
2034                                       .findByN_H_P(nodeId, head, parentTitle, start, end);
2035            }
2036    
2037            /**
2038            * Finds an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2039            *
2040            * <p>
2041            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2042            * </p>
2043            *
2044            * @param nodeId the node id to search with
2045            * @param head the head to search with
2046            * @param parentTitle the parent title to search with
2047            * @param start the lower bound of the range of wiki pages to return
2048            * @param end the upper bound of the range of wiki pages to return (not inclusive)
2049            * @param orderByComparator the comparator to order the results by
2050            * @return the ordered range of matching wiki pages
2051            * @throws SystemException if a system exception occurred
2052            */
2053            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
2054                    long nodeId, boolean head, java.lang.String parentTitle, int start,
2055                    int end,
2056                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2057                    throws com.liferay.portal.kernel.exception.SystemException {
2058                    return getPersistence()
2059                                       .findByN_H_P(nodeId, head, parentTitle, start, end,
2060                            orderByComparator);
2061            }
2062    
2063            /**
2064            * Finds the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2065            *
2066            * <p>
2067            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2068            * </p>
2069            *
2070            * @param nodeId the node id to search with
2071            * @param head the head to search with
2072            * @param parentTitle the parent title to search with
2073            * @param orderByComparator the comparator to order the set by
2074            * @return the first matching wiki page
2075            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2076            * @throws SystemException if a system exception occurred
2077            */
2078            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
2079                    long nodeId, boolean head, java.lang.String parentTitle,
2080                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2081                    throws com.liferay.portal.kernel.exception.SystemException,
2082                            com.liferay.portlet.wiki.NoSuchPageException {
2083                    return getPersistence()
2084                                       .findByN_H_P_First(nodeId, head, parentTitle,
2085                            orderByComparator);
2086            }
2087    
2088            /**
2089            * Finds the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2090            *
2091            * <p>
2092            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2093            * </p>
2094            *
2095            * @param nodeId the node id to search with
2096            * @param head the head to search with
2097            * @param parentTitle the parent title to search with
2098            * @param orderByComparator the comparator to order the set by
2099            * @return the last matching wiki page
2100            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2101            * @throws SystemException if a system exception occurred
2102            */
2103            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
2104                    long nodeId, boolean head, java.lang.String parentTitle,
2105                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2106                    throws com.liferay.portal.kernel.exception.SystemException,
2107                            com.liferay.portlet.wiki.NoSuchPageException {
2108                    return getPersistence()
2109                                       .findByN_H_P_Last(nodeId, head, parentTitle,
2110                            orderByComparator);
2111            }
2112    
2113            /**
2114            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2115            *
2116            * <p>
2117            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2118            * </p>
2119            *
2120            * @param pageId the primary key of the current wiki page
2121            * @param nodeId the node id to search with
2122            * @param head the head to search with
2123            * @param parentTitle the parent title to search with
2124            * @param orderByComparator the comparator to order the set by
2125            * @return the previous, current, and next wiki page
2126            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2127            * @throws SystemException if a system exception occurred
2128            */
2129            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
2130                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
2131                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2132                    throws com.liferay.portal.kernel.exception.SystemException,
2133                            com.liferay.portlet.wiki.NoSuchPageException {
2134                    return getPersistence()
2135                                       .findByN_H_P_PrevAndNext(pageId, nodeId, head, parentTitle,
2136                            orderByComparator);
2137            }
2138    
2139            /**
2140            * Finds all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2141            *
2142            * @param nodeId the node id to search with
2143            * @param head the head to search with
2144            * @param status the status to search with
2145            * @return the matching wiki pages
2146            * @throws SystemException if a system exception occurred
2147            */
2148            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
2149                    long nodeId, boolean head, int status)
2150                    throws com.liferay.portal.kernel.exception.SystemException {
2151                    return getPersistence().findByN_H_S(nodeId, head, status);
2152            }
2153    
2154            /**
2155            * Finds a range of all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2156            *
2157            * <p>
2158            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2159            * </p>
2160            *
2161            * @param nodeId the node id to search with
2162            * @param head the head to search with
2163            * @param status the status to search with
2164            * @param start the lower bound of the range of wiki pages to return
2165            * @param end the upper bound of the range of wiki pages to return (not inclusive)
2166            * @return the range of matching wiki pages
2167            * @throws SystemException if a system exception occurred
2168            */
2169            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
2170                    long nodeId, boolean head, int status, int start, int end)
2171                    throws com.liferay.portal.kernel.exception.SystemException {
2172                    return getPersistence().findByN_H_S(nodeId, head, status, start, end);
2173            }
2174    
2175            /**
2176            * Finds an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2177            *
2178            * <p>
2179            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2180            * </p>
2181            *
2182            * @param nodeId the node id to search with
2183            * @param head the head to search with
2184            * @param status the status to search with
2185            * @param start the lower bound of the range of wiki pages to return
2186            * @param end the upper bound of the range of wiki pages to return (not inclusive)
2187            * @param orderByComparator the comparator to order the results by
2188            * @return the ordered range of matching wiki pages
2189            * @throws SystemException if a system exception occurred
2190            */
2191            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
2192                    long nodeId, boolean head, int status, int start, int end,
2193                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2194                    throws com.liferay.portal.kernel.exception.SystemException {
2195                    return getPersistence()
2196                                       .findByN_H_S(nodeId, head, status, start, end,
2197                            orderByComparator);
2198            }
2199    
2200            /**
2201            * Finds the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
2202            *
2203            * <p>
2204            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2205            * </p>
2206            *
2207            * @param nodeId the node id to search with
2208            * @param head the head to search with
2209            * @param status the status to search with
2210            * @param orderByComparator the comparator to order the set by
2211            * @return the first matching wiki page
2212            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2213            * @throws SystemException if a system exception occurred
2214            */
2215            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_S_First(
2216                    long nodeId, boolean head, int status,
2217                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2218                    throws com.liferay.portal.kernel.exception.SystemException,
2219                            com.liferay.portlet.wiki.NoSuchPageException {
2220                    return getPersistence()
2221                                       .findByN_H_S_First(nodeId, head, status, orderByComparator);
2222            }
2223    
2224            /**
2225            * Finds the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
2226            *
2227            * <p>
2228            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2229            * </p>
2230            *
2231            * @param nodeId the node id to search with
2232            * @param head the head to search with
2233            * @param status the status to search with
2234            * @param orderByComparator the comparator to order the set by
2235            * @return the last matching wiki page
2236            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2237            * @throws SystemException if a system exception occurred
2238            */
2239            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_S_Last(
2240                    long nodeId, boolean head, int status,
2241                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2242                    throws com.liferay.portal.kernel.exception.SystemException,
2243                            com.liferay.portlet.wiki.NoSuchPageException {
2244                    return getPersistence()
2245                                       .findByN_H_S_Last(nodeId, head, status, orderByComparator);
2246            }
2247    
2248            /**
2249            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
2250            *
2251            * <p>
2252            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2253            * </p>
2254            *
2255            * @param pageId the primary key of the current wiki page
2256            * @param nodeId the node id to search with
2257            * @param head the head to search with
2258            * @param status the status to search with
2259            * @param orderByComparator the comparator to order the set by
2260            * @return the previous, current, and next wiki page
2261            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2262            * @throws SystemException if a system exception occurred
2263            */
2264            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_S_PrevAndNext(
2265                    long pageId, long nodeId, boolean head, int status,
2266                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2267                    throws com.liferay.portal.kernel.exception.SystemException,
2268                            com.liferay.portlet.wiki.NoSuchPageException {
2269                    return getPersistence()
2270                                       .findByN_H_S_PrevAndNext(pageId, nodeId, head, status,
2271                            orderByComparator);
2272            }
2273    
2274            /**
2275            * Finds all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2276            *
2277            * @param nodeId the node id to search with
2278            * @param head the head to search with
2279            * @param parentTitle the parent title to search with
2280            * @param status the status to search with
2281            * @return the matching wiki pages
2282            * @throws SystemException if a system exception occurred
2283            */
2284            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
2285                    long nodeId, boolean head, java.lang.String parentTitle, int status)
2286                    throws com.liferay.portal.kernel.exception.SystemException {
2287                    return getPersistence().findByN_H_P_S(nodeId, head, parentTitle, status);
2288            }
2289    
2290            /**
2291            * Finds a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2292            *
2293            * <p>
2294            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2295            * </p>
2296            *
2297            * @param nodeId the node id to search with
2298            * @param head the head to search with
2299            * @param parentTitle the parent title to search with
2300            * @param status the status to search with
2301            * @param start the lower bound of the range of wiki pages to return
2302            * @param end the upper bound of the range of wiki pages to return (not inclusive)
2303            * @return the range of matching wiki pages
2304            * @throws SystemException if a system exception occurred
2305            */
2306            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
2307                    long nodeId, boolean head, java.lang.String parentTitle, int status,
2308                    int start, int end)
2309                    throws com.liferay.portal.kernel.exception.SystemException {
2310                    return getPersistence()
2311                                       .findByN_H_P_S(nodeId, head, parentTitle, status, start, end);
2312            }
2313    
2314            /**
2315            * Finds an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2316            *
2317            * <p>
2318            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2319            * </p>
2320            *
2321            * @param nodeId the node id to search with
2322            * @param head the head to search with
2323            * @param parentTitle the parent title to search with
2324            * @param status the status to search with
2325            * @param start the lower bound of the range of wiki pages to return
2326            * @param end the upper bound of the range of wiki pages to return (not inclusive)
2327            * @param orderByComparator the comparator to order the results by
2328            * @return the ordered range of matching wiki pages
2329            * @throws SystemException if a system exception occurred
2330            */
2331            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
2332                    long nodeId, boolean head, java.lang.String parentTitle, int status,
2333                    int start, int end,
2334                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2335                    throws com.liferay.portal.kernel.exception.SystemException {
2336                    return getPersistence()
2337                                       .findByN_H_P_S(nodeId, head, parentTitle, status, start,
2338                            end, orderByComparator);
2339            }
2340    
2341            /**
2342            * Finds the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2343            *
2344            * <p>
2345            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2346            * </p>
2347            *
2348            * @param nodeId the node id to search with
2349            * @param head the head to search with
2350            * @param parentTitle the parent title to search with
2351            * @param status the status to search with
2352            * @param orderByComparator the comparator to order the set by
2353            * @return the first matching wiki page
2354            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2355            * @throws SystemException if a system exception occurred
2356            */
2357            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_First(
2358                    long nodeId, boolean head, java.lang.String parentTitle, int status,
2359                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2360                    throws com.liferay.portal.kernel.exception.SystemException,
2361                            com.liferay.portlet.wiki.NoSuchPageException {
2362                    return getPersistence()
2363                                       .findByN_H_P_S_First(nodeId, head, parentTitle, status,
2364                            orderByComparator);
2365            }
2366    
2367            /**
2368            * Finds the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2369            *
2370            * <p>
2371            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2372            * </p>
2373            *
2374            * @param nodeId the node id to search with
2375            * @param head the head to search with
2376            * @param parentTitle the parent title to search with
2377            * @param status the status to search with
2378            * @param orderByComparator the comparator to order the set by
2379            * @return the last matching wiki page
2380            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2381            * @throws SystemException if a system exception occurred
2382            */
2383            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_Last(
2384                    long nodeId, boolean head, java.lang.String parentTitle, int status,
2385                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2386                    throws com.liferay.portal.kernel.exception.SystemException,
2387                            com.liferay.portlet.wiki.NoSuchPageException {
2388                    return getPersistence()
2389                                       .findByN_H_P_S_Last(nodeId, head, parentTitle, status,
2390                            orderByComparator);
2391            }
2392    
2393            /**
2394            * Finds the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2395            *
2396            * <p>
2397            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2398            * </p>
2399            *
2400            * @param pageId the primary key of the current wiki page
2401            * @param nodeId the node id to search with
2402            * @param head the head to search with
2403            * @param parentTitle the parent title to search with
2404            * @param status the status to search with
2405            * @param orderByComparator the comparator to order the set by
2406            * @return the previous, current, and next wiki page
2407            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2408            * @throws SystemException if a system exception occurred
2409            */
2410            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_S_PrevAndNext(
2411                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
2412                    int status,
2413                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2414                    throws com.liferay.portal.kernel.exception.SystemException,
2415                            com.liferay.portlet.wiki.NoSuchPageException {
2416                    return getPersistence()
2417                                       .findByN_H_P_S_PrevAndNext(pageId, nodeId, head,
2418                            parentTitle, status, orderByComparator);
2419            }
2420    
2421            /**
2422            * Finds all the wiki pages.
2423            *
2424            * @return the wiki pages
2425            * @throws SystemException if a system exception occurred
2426            */
2427            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
2428                    throws com.liferay.portal.kernel.exception.SystemException {
2429                    return getPersistence().findAll();
2430            }
2431    
2432            /**
2433            * Finds a range of all the wiki pages.
2434            *
2435            * <p>
2436            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2437            * </p>
2438            *
2439            * @param start the lower bound of the range of wiki pages to return
2440            * @param end the upper bound of the range of wiki pages to return (not inclusive)
2441            * @return the range of wiki pages
2442            * @throws SystemException if a system exception occurred
2443            */
2444            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
2445                    int start, int end)
2446                    throws com.liferay.portal.kernel.exception.SystemException {
2447                    return getPersistence().findAll(start, end);
2448            }
2449    
2450            /**
2451            * Finds an ordered range of all the wiki pages.
2452            *
2453            * <p>
2454            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2455            * </p>
2456            *
2457            * @param start the lower bound of the range of wiki pages to return
2458            * @param end the upper bound of the range of wiki pages to return (not inclusive)
2459            * @param orderByComparator the comparator to order the results by
2460            * @return the ordered range of wiki pages
2461            * @throws SystemException if a system exception occurred
2462            */
2463            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
2464                    int start, int end,
2465                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2466                    throws com.liferay.portal.kernel.exception.SystemException {
2467                    return getPersistence().findAll(start, end, orderByComparator);
2468            }
2469    
2470            /**
2471            * Removes all the wiki pages where uuid = &#63; from the database.
2472            *
2473            * @param uuid the uuid to search with
2474            * @throws SystemException if a system exception occurred
2475            */
2476            public static void removeByUuid(java.lang.String uuid)
2477                    throws com.liferay.portal.kernel.exception.SystemException {
2478                    getPersistence().removeByUuid(uuid);
2479            }
2480    
2481            /**
2482            * Removes the wiki page where uuid = &#63; and groupId = &#63; from the database.
2483            *
2484            * @param uuid the uuid to search with
2485            * @param groupId the group id to search with
2486            * @throws SystemException if a system exception occurred
2487            */
2488            public static void removeByUUID_G(java.lang.String uuid, long groupId)
2489                    throws com.liferay.portal.kernel.exception.SystemException,
2490                            com.liferay.portlet.wiki.NoSuchPageException {
2491                    getPersistence().removeByUUID_G(uuid, groupId);
2492            }
2493    
2494            /**
2495            * Removes all the wiki pages where nodeId = &#63; from the database.
2496            *
2497            * @param nodeId the node id to search with
2498            * @throws SystemException if a system exception occurred
2499            */
2500            public static void removeByNodeId(long nodeId)
2501                    throws com.liferay.portal.kernel.exception.SystemException {
2502                    getPersistence().removeByNodeId(nodeId);
2503            }
2504    
2505            /**
2506            * Removes all the wiki pages where format = &#63; from the database.
2507            *
2508            * @param format the format to search with
2509            * @throws SystemException if a system exception occurred
2510            */
2511            public static void removeByFormat(java.lang.String format)
2512                    throws com.liferay.portal.kernel.exception.SystemException {
2513                    getPersistence().removeByFormat(format);
2514            }
2515    
2516            /**
2517            * Removes all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; from the database.
2518            *
2519            * @param resourcePrimKey the resource prim key to search with
2520            * @param nodeId the node id to search with
2521            * @throws SystemException if a system exception occurred
2522            */
2523            public static void removeByR_N(long resourcePrimKey, long nodeId)
2524                    throws com.liferay.portal.kernel.exception.SystemException {
2525                    getPersistence().removeByR_N(resourcePrimKey, nodeId);
2526            }
2527    
2528            /**
2529            * Removes all the wiki pages where nodeId = &#63; and title = &#63; from the database.
2530            *
2531            * @param nodeId the node id to search with
2532            * @param title the title to search with
2533            * @throws SystemException if a system exception occurred
2534            */
2535            public static void removeByN_T(long nodeId, java.lang.String title)
2536                    throws com.liferay.portal.kernel.exception.SystemException {
2537                    getPersistence().removeByN_T(nodeId, title);
2538            }
2539    
2540            /**
2541            * Removes all the wiki pages where nodeId = &#63; and head = &#63; from the database.
2542            *
2543            * @param nodeId the node id to search with
2544            * @param head the head to search with
2545            * @throws SystemException if a system exception occurred
2546            */
2547            public static void removeByN_H(long nodeId, boolean head)
2548                    throws com.liferay.portal.kernel.exception.SystemException {
2549                    getPersistence().removeByN_H(nodeId, head);
2550            }
2551    
2552            /**
2553            * Removes all the wiki pages where nodeId = &#63; and parentTitle = &#63; from the database.
2554            *
2555            * @param nodeId the node id to search with
2556            * @param parentTitle the parent title to search with
2557            * @throws SystemException if a system exception occurred
2558            */
2559            public static void removeByN_P(long nodeId, java.lang.String parentTitle)
2560                    throws com.liferay.portal.kernel.exception.SystemException {
2561                    getPersistence().removeByN_P(nodeId, parentTitle);
2562            }
2563    
2564            /**
2565            * Removes all the wiki pages where nodeId = &#63; and redirectTitle = &#63; from the database.
2566            *
2567            * @param nodeId the node id to search with
2568            * @param redirectTitle the redirect title to search with
2569            * @throws SystemException if a system exception occurred
2570            */
2571            public static void removeByN_R(long nodeId, java.lang.String redirectTitle)
2572                    throws com.liferay.portal.kernel.exception.SystemException {
2573                    getPersistence().removeByN_R(nodeId, redirectTitle);
2574            }
2575    
2576            /**
2577            * Removes all the wiki pages where nodeId = &#63; and status = &#63; from the database.
2578            *
2579            * @param nodeId the node id to search with
2580            * @param status the status to search with
2581            * @throws SystemException if a system exception occurred
2582            */
2583            public static void removeByN_S(long nodeId, int status)
2584                    throws com.liferay.portal.kernel.exception.SystemException {
2585                    getPersistence().removeByN_S(nodeId, status);
2586            }
2587    
2588            /**
2589            * Removes the wiki page where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63; from the database.
2590            *
2591            * @param resourcePrimKey the resource prim key to search with
2592            * @param nodeId the node id to search with
2593            * @param version the version to search with
2594            * @throws SystemException if a system exception occurred
2595            */
2596            public static void removeByR_N_V(long resourcePrimKey, long nodeId,
2597                    double version)
2598                    throws com.liferay.portal.kernel.exception.SystemException,
2599                            com.liferay.portlet.wiki.NoSuchPageException {
2600                    getPersistence().removeByR_N_V(resourcePrimKey, nodeId, version);
2601            }
2602    
2603            /**
2604            * Removes all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63; from the database.
2605            *
2606            * @param resourcePrimKey the resource prim key to search with
2607            * @param nodeId the node id to search with
2608            * @param status the status to search with
2609            * @throws SystemException if a system exception occurred
2610            */
2611            public static void removeByR_N_S(long resourcePrimKey, long nodeId,
2612                    int status) throws com.liferay.portal.kernel.exception.SystemException {
2613                    getPersistence().removeByR_N_S(resourcePrimKey, nodeId, status);
2614            }
2615    
2616            /**
2617            * Removes all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63; from the database.
2618            *
2619            * @param userId the user id to search with
2620            * @param nodeId the node id to search with
2621            * @param status the status to search with
2622            * @throws SystemException if a system exception occurred
2623            */
2624            public static void removeByU_N_S(long userId, long nodeId, int status)
2625                    throws com.liferay.portal.kernel.exception.SystemException {
2626                    getPersistence().removeByU_N_S(userId, nodeId, status);
2627            }
2628    
2629            /**
2630            * Removes the wiki page where nodeId = &#63; and title = &#63; and version = &#63; from the database.
2631            *
2632            * @param nodeId the node id to search with
2633            * @param title the title to search with
2634            * @param version the version to search with
2635            * @throws SystemException if a system exception occurred
2636            */
2637            public static void removeByN_T_V(long nodeId, java.lang.String title,
2638                    double version)
2639                    throws com.liferay.portal.kernel.exception.SystemException,
2640                            com.liferay.portlet.wiki.NoSuchPageException {
2641                    getPersistence().removeByN_T_V(nodeId, title, version);
2642            }
2643    
2644            /**
2645            * Removes all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63; from the database.
2646            *
2647            * @param nodeId the node id to search with
2648            * @param title the title to search with
2649            * @param head the head to search with
2650            * @throws SystemException if a system exception occurred
2651            */
2652            public static void removeByN_T_H(long nodeId, java.lang.String title,
2653                    boolean head)
2654                    throws com.liferay.portal.kernel.exception.SystemException {
2655                    getPersistence().removeByN_T_H(nodeId, title, head);
2656            }
2657    
2658            /**
2659            * Removes all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63; from the database.
2660            *
2661            * @param nodeId the node id to search with
2662            * @param title the title to search with
2663            * @param status the status to search with
2664            * @throws SystemException if a system exception occurred
2665            */
2666            public static void removeByN_T_S(long nodeId, java.lang.String title,
2667                    int status) throws com.liferay.portal.kernel.exception.SystemException {
2668                    getPersistence().removeByN_T_S(nodeId, title, status);
2669            }
2670    
2671            /**
2672            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; from the database.
2673            *
2674            * @param nodeId the node id to search with
2675            * @param head the head to search with
2676            * @param parentTitle the parent title to search with
2677            * @throws SystemException if a system exception occurred
2678            */
2679            public static void removeByN_H_P(long nodeId, boolean head,
2680                    java.lang.String parentTitle)
2681                    throws com.liferay.portal.kernel.exception.SystemException {
2682                    getPersistence().removeByN_H_P(nodeId, head, parentTitle);
2683            }
2684    
2685            /**
2686            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63; from the database.
2687            *
2688            * @param nodeId the node id to search with
2689            * @param head the head to search with
2690            * @param status the status to search with
2691            * @throws SystemException if a system exception occurred
2692            */
2693            public static void removeByN_H_S(long nodeId, boolean head, int status)
2694                    throws com.liferay.portal.kernel.exception.SystemException {
2695                    getPersistence().removeByN_H_S(nodeId, head, status);
2696            }
2697    
2698            /**
2699            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63; from the database.
2700            *
2701            * @param nodeId the node id to search with
2702            * @param head the head to search with
2703            * @param parentTitle the parent title to search with
2704            * @param status the status to search with
2705            * @throws SystemException if a system exception occurred
2706            */
2707            public static void removeByN_H_P_S(long nodeId, boolean head,
2708                    java.lang.String parentTitle, int status)
2709                    throws com.liferay.portal.kernel.exception.SystemException {
2710                    getPersistence().removeByN_H_P_S(nodeId, head, parentTitle, status);
2711            }
2712    
2713            /**
2714            * Removes all the wiki pages from the database.
2715            *
2716            * @throws SystemException if a system exception occurred
2717            */
2718            public static void removeAll()
2719                    throws com.liferay.portal.kernel.exception.SystemException {
2720                    getPersistence().removeAll();
2721            }
2722    
2723            /**
2724            * Counts all the wiki pages where uuid = &#63;.
2725            *
2726            * @param uuid the uuid to search with
2727            * @return the number of matching wiki pages
2728            * @throws SystemException if a system exception occurred
2729            */
2730            public static int countByUuid(java.lang.String uuid)
2731                    throws com.liferay.portal.kernel.exception.SystemException {
2732                    return getPersistence().countByUuid(uuid);
2733            }
2734    
2735            /**
2736            * Counts all the wiki pages where uuid = &#63; and groupId = &#63;.
2737            *
2738            * @param uuid the uuid to search with
2739            * @param groupId the group id to search with
2740            * @return the number of matching wiki pages
2741            * @throws SystemException if a system exception occurred
2742            */
2743            public static int countByUUID_G(java.lang.String uuid, long groupId)
2744                    throws com.liferay.portal.kernel.exception.SystemException {
2745                    return getPersistence().countByUUID_G(uuid, groupId);
2746            }
2747    
2748            /**
2749            * Counts all the wiki pages where nodeId = &#63;.
2750            *
2751            * @param nodeId the node id to search with
2752            * @return the number of matching wiki pages
2753            * @throws SystemException if a system exception occurred
2754            */
2755            public static int countByNodeId(long nodeId)
2756                    throws com.liferay.portal.kernel.exception.SystemException {
2757                    return getPersistence().countByNodeId(nodeId);
2758            }
2759    
2760            /**
2761            * Counts all the wiki pages where format = &#63;.
2762            *
2763            * @param format the format to search with
2764            * @return the number of matching wiki pages
2765            * @throws SystemException if a system exception occurred
2766            */
2767            public static int countByFormat(java.lang.String format)
2768                    throws com.liferay.portal.kernel.exception.SystemException {
2769                    return getPersistence().countByFormat(format);
2770            }
2771    
2772            /**
2773            * Counts all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
2774            *
2775            * @param resourcePrimKey the resource prim key to search with
2776            * @param nodeId the node id to search with
2777            * @return the number of matching wiki pages
2778            * @throws SystemException if a system exception occurred
2779            */
2780            public static int countByR_N(long resourcePrimKey, long nodeId)
2781                    throws com.liferay.portal.kernel.exception.SystemException {
2782                    return getPersistence().countByR_N(resourcePrimKey, nodeId);
2783            }
2784    
2785            /**
2786            * Counts all the wiki pages where nodeId = &#63; and title = &#63;.
2787            *
2788            * @param nodeId the node id to search with
2789            * @param title the title to search with
2790            * @return the number of matching wiki pages
2791            * @throws SystemException if a system exception occurred
2792            */
2793            public static int countByN_T(long nodeId, java.lang.String title)
2794                    throws com.liferay.portal.kernel.exception.SystemException {
2795                    return getPersistence().countByN_T(nodeId, title);
2796            }
2797    
2798            /**
2799            * Counts all the wiki pages where nodeId = &#63; and head = &#63;.
2800            *
2801            * @param nodeId the node id to search with
2802            * @param head the head to search with
2803            * @return the number of matching wiki pages
2804            * @throws SystemException if a system exception occurred
2805            */
2806            public static int countByN_H(long nodeId, boolean head)
2807                    throws com.liferay.portal.kernel.exception.SystemException {
2808                    return getPersistence().countByN_H(nodeId, head);
2809            }
2810    
2811            /**
2812            * Counts all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
2813            *
2814            * @param nodeId the node id to search with
2815            * @param parentTitle the parent title to search with
2816            * @return the number of matching wiki pages
2817            * @throws SystemException if a system exception occurred
2818            */
2819            public static int countByN_P(long nodeId, java.lang.String parentTitle)
2820                    throws com.liferay.portal.kernel.exception.SystemException {
2821                    return getPersistence().countByN_P(nodeId, parentTitle);
2822            }
2823    
2824            /**
2825            * Counts all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
2826            *
2827            * @param nodeId the node id to search with
2828            * @param redirectTitle the redirect title to search with
2829            * @return the number of matching wiki pages
2830            * @throws SystemException if a system exception occurred
2831            */
2832            public static int countByN_R(long nodeId, java.lang.String redirectTitle)
2833                    throws com.liferay.portal.kernel.exception.SystemException {
2834                    return getPersistence().countByN_R(nodeId, redirectTitle);
2835            }
2836    
2837            /**
2838            * Counts all the wiki pages where nodeId = &#63; and status = &#63;.
2839            *
2840            * @param nodeId the node id to search with
2841            * @param status the status to search with
2842            * @return the number of matching wiki pages
2843            * @throws SystemException if a system exception occurred
2844            */
2845            public static int countByN_S(long nodeId, int status)
2846                    throws com.liferay.portal.kernel.exception.SystemException {
2847                    return getPersistence().countByN_S(nodeId, status);
2848            }
2849    
2850            /**
2851            * Counts all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63;.
2852            *
2853            * @param resourcePrimKey the resource prim key to search with
2854            * @param nodeId the node id to search with
2855            * @param version the version to search with
2856            * @return the number of matching wiki pages
2857            * @throws SystemException if a system exception occurred
2858            */
2859            public static int countByR_N_V(long resourcePrimKey, long nodeId,
2860                    double version)
2861                    throws com.liferay.portal.kernel.exception.SystemException {
2862                    return getPersistence().countByR_N_V(resourcePrimKey, nodeId, version);
2863            }
2864    
2865            /**
2866            * Counts all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2867            *
2868            * @param resourcePrimKey the resource prim key to search with
2869            * @param nodeId the node id to search with
2870            * @param status the status to search with
2871            * @return the number of matching wiki pages
2872            * @throws SystemException if a system exception occurred
2873            */
2874            public static int countByR_N_S(long resourcePrimKey, long nodeId, int status)
2875                    throws com.liferay.portal.kernel.exception.SystemException {
2876                    return getPersistence().countByR_N_S(resourcePrimKey, nodeId, status);
2877            }
2878    
2879            /**
2880            * Counts all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
2881            *
2882            * @param userId the user id to search with
2883            * @param nodeId the node id to search with
2884            * @param status the status to search with
2885            * @return the number of matching wiki pages
2886            * @throws SystemException if a system exception occurred
2887            */
2888            public static int countByU_N_S(long userId, long nodeId, int status)
2889                    throws com.liferay.portal.kernel.exception.SystemException {
2890                    return getPersistence().countByU_N_S(userId, nodeId, status);
2891            }
2892    
2893            /**
2894            * Counts all the wiki pages where nodeId = &#63; and title = &#63; and version = &#63;.
2895            *
2896            * @param nodeId the node id to search with
2897            * @param title the title to search with
2898            * @param version the version to search with
2899            * @return the number of matching wiki pages
2900            * @throws SystemException if a system exception occurred
2901            */
2902            public static int countByN_T_V(long nodeId, java.lang.String title,
2903                    double version)
2904                    throws com.liferay.portal.kernel.exception.SystemException {
2905                    return getPersistence().countByN_T_V(nodeId, title, version);
2906            }
2907    
2908            /**
2909            * Counts all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
2910            *
2911            * @param nodeId the node id to search with
2912            * @param title the title to search with
2913            * @param head the head to search with
2914            * @return the number of matching wiki pages
2915            * @throws SystemException if a system exception occurred
2916            */
2917            public static int countByN_T_H(long nodeId, java.lang.String title,
2918                    boolean head)
2919                    throws com.liferay.portal.kernel.exception.SystemException {
2920                    return getPersistence().countByN_T_H(nodeId, title, head);
2921            }
2922    
2923            /**
2924            * Counts all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
2925            *
2926            * @param nodeId the node id to search with
2927            * @param title the title to search with
2928            * @param status the status to search with
2929            * @return the number of matching wiki pages
2930            * @throws SystemException if a system exception occurred
2931            */
2932            public static int countByN_T_S(long nodeId, java.lang.String title,
2933                    int status) throws com.liferay.portal.kernel.exception.SystemException {
2934                    return getPersistence().countByN_T_S(nodeId, title, status);
2935            }
2936    
2937            /**
2938            * Counts all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2939            *
2940            * @param nodeId the node id to search with
2941            * @param head the head to search with
2942            * @param parentTitle the parent title to search with
2943            * @return the number of matching wiki pages
2944            * @throws SystemException if a system exception occurred
2945            */
2946            public static int countByN_H_P(long nodeId, boolean head,
2947                    java.lang.String parentTitle)
2948                    throws com.liferay.portal.kernel.exception.SystemException {
2949                    return getPersistence().countByN_H_P(nodeId, head, parentTitle);
2950            }
2951    
2952            /**
2953            * Counts all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2954            *
2955            * @param nodeId the node id to search with
2956            * @param head the head to search with
2957            * @param status the status to search with
2958            * @return the number of matching wiki pages
2959            * @throws SystemException if a system exception occurred
2960            */
2961            public static int countByN_H_S(long nodeId, boolean head, int status)
2962                    throws com.liferay.portal.kernel.exception.SystemException {
2963                    return getPersistence().countByN_H_S(nodeId, head, status);
2964            }
2965    
2966            /**
2967            * Counts all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2968            *
2969            * @param nodeId the node id to search with
2970            * @param head the head to search with
2971            * @param parentTitle the parent title to search with
2972            * @param status the status to search with
2973            * @return the number of matching wiki pages
2974            * @throws SystemException if a system exception occurred
2975            */
2976            public static int countByN_H_P_S(long nodeId, boolean head,
2977                    java.lang.String parentTitle, int status)
2978                    throws com.liferay.portal.kernel.exception.SystemException {
2979                    return getPersistence().countByN_H_P_S(nodeId, head, parentTitle, status);
2980            }
2981    
2982            /**
2983            * Counts all the wiki pages.
2984            *
2985            * @return the number of wiki pages
2986            * @throws SystemException if a system exception occurred
2987            */
2988            public static int countAll()
2989                    throws com.liferay.portal.kernel.exception.SystemException {
2990                    return getPersistence().countAll();
2991            }
2992    
2993            public static WikiPagePersistence getPersistence() {
2994                    if (_persistence == null) {
2995                            _persistence = (WikiPagePersistence)PortalBeanLocatorUtil.locate(WikiPagePersistence.class.getName());
2996                    }
2997    
2998                    return _persistence;
2999            }
3000    
3001            public void setPersistence(WikiPagePersistence persistence) {
3002                    _persistence = persistence;
3003            }
3004    
3005            private static WikiPagePersistence _persistence;
3006    }