001    /**
002     * Copyright (c) 2000-2013 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.kernel.util.ReferenceRegistry;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.wiki.model.WikiPage;
025    
026    import java.util.List;
027    
028    /**
029     * 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.
030     *
031     * <p>
032     * Caching information and settings can be found in <code>portal.properties</code>
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see WikiPagePersistence
037     * @see WikiPagePersistenceImpl
038     * @generated
039     */
040    public class WikiPageUtil {
041            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
045             */
046    
047            /**
048             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
049             */
050            public static void clearCache() {
051                    getPersistence().clearCache();
052            }
053    
054            /**
055             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
056             */
057            public static void clearCache(WikiPage wikiPage) {
058                    getPersistence().clearCache(wikiPage);
059            }
060    
061            /**
062             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
063             */
064            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
065                    throws SystemException {
066                    return getPersistence().countWithDynamicQuery(dynamicQuery);
067            }
068    
069            /**
070             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
071             */
072            public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery)
073                    throws SystemException {
074                    return getPersistence().findWithDynamicQuery(dynamicQuery);
075            }
076    
077            /**
078             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
079             */
080            public static List<WikiPage> findWithDynamicQuery(
081                    DynamicQuery dynamicQuery, int start, int end)
082                    throws SystemException {
083                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
084            }
085    
086            /**
087             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
088             */
089            public static List<WikiPage> findWithDynamicQuery(
090                    DynamicQuery dynamicQuery, int start, int end,
091                    OrderByComparator orderByComparator) throws SystemException {
092                    return getPersistence()
093                                       .findWithDynamicQuery(dynamicQuery, start, end,
094                            orderByComparator);
095            }
096    
097            /**
098             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
099             */
100            public static WikiPage update(WikiPage wikiPage, boolean merge)
101                    throws SystemException {
102                    return getPersistence().update(wikiPage, merge);
103            }
104    
105            /**
106             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
107             */
108            public static WikiPage update(WikiPage wikiPage, boolean merge,
109                    ServiceContext serviceContext) throws SystemException {
110                    return getPersistence().update(wikiPage, merge, serviceContext);
111            }
112    
113            /**
114            * Caches the wiki page in the entity cache if it is enabled.
115            *
116            * @param wikiPage the wiki page
117            */
118            public static void cacheResult(
119                    com.liferay.portlet.wiki.model.WikiPage wikiPage) {
120                    getPersistence().cacheResult(wikiPage);
121            }
122    
123            /**
124            * Caches the wiki pages in the entity cache if it is enabled.
125            *
126            * @param wikiPages the wiki pages
127            */
128            public static void cacheResult(
129                    java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages) {
130                    getPersistence().cacheResult(wikiPages);
131            }
132    
133            /**
134            * Creates a new wiki page with the primary key. Does not add the wiki page to the database.
135            *
136            * @param pageId the primary key for the new wiki page
137            * @return the new wiki page
138            */
139            public static com.liferay.portlet.wiki.model.WikiPage create(long pageId) {
140                    return getPersistence().create(pageId);
141            }
142    
143            /**
144            * Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.
145            *
146            * @param pageId the primary key of the wiki page
147            * @return the wiki page that was removed
148            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
149            * @throws SystemException if a system exception occurred
150            */
151            public static com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
152                    throws com.liferay.portal.kernel.exception.SystemException,
153                            com.liferay.portlet.wiki.NoSuchPageException {
154                    return getPersistence().remove(pageId);
155            }
156    
157            public static com.liferay.portlet.wiki.model.WikiPage updateImpl(
158                    com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
159                    throws com.liferay.portal.kernel.exception.SystemException {
160                    return getPersistence().updateImpl(wikiPage, merge);
161            }
162    
163            /**
164            * Returns the wiki page with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found.
165            *
166            * @param pageId the primary key of the wiki page
167            * @return the wiki page
168            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
169            * @throws SystemException if a system exception occurred
170            */
171            public static com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(
172                    long pageId)
173                    throws com.liferay.portal.kernel.exception.SystemException,
174                            com.liferay.portlet.wiki.NoSuchPageException {
175                    return getPersistence().findByPrimaryKey(pageId);
176            }
177    
178            /**
179            * Returns the wiki page with the primary key or returns <code>null</code> if it could not be found.
180            *
181            * @param pageId the primary key of the wiki page
182            * @return the wiki page, or <code>null</code> if a wiki page with the primary key could not be found
183            * @throws SystemException if a system exception occurred
184            */
185            public static com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
186                    long pageId) throws com.liferay.portal.kernel.exception.SystemException {
187                    return getPersistence().fetchByPrimaryKey(pageId);
188            }
189    
190            /**
191            * Returns all the wiki pages where uuid = &#63;.
192            *
193            * @param uuid the uuid
194            * @return the matching wiki pages
195            * @throws SystemException if a system exception occurred
196            */
197            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
198                    java.lang.String uuid)
199                    throws com.liferay.portal.kernel.exception.SystemException {
200                    return getPersistence().findByUuid(uuid);
201            }
202    
203            /**
204            * Returns a range of all the wiki pages where uuid = &#63;.
205            *
206            * <p>
207            * 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.
208            * </p>
209            *
210            * @param uuid the uuid
211            * @param start the lower bound of the range of wiki pages
212            * @param end the upper bound of the range of wiki pages (not inclusive)
213            * @return the range of matching wiki pages
214            * @throws SystemException if a system exception occurred
215            */
216            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
217                    java.lang.String uuid, int start, int end)
218                    throws com.liferay.portal.kernel.exception.SystemException {
219                    return getPersistence().findByUuid(uuid, start, end);
220            }
221    
222            /**
223            * Returns an ordered range of all the wiki pages where uuid = &#63;.
224            *
225            * <p>
226            * 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.
227            * </p>
228            *
229            * @param uuid the uuid
230            * @param start the lower bound of the range of wiki pages
231            * @param end the upper bound of the range of wiki pages (not inclusive)
232            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
233            * @return the ordered range of matching wiki pages
234            * @throws SystemException if a system exception occurred
235            */
236            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
237                    java.lang.String uuid, int start, int end,
238                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
239                    throws com.liferay.portal.kernel.exception.SystemException {
240                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
241            }
242    
243            /**
244            * Returns the first wiki page in the ordered set where uuid = &#63;.
245            *
246            * @param uuid the uuid
247            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
248            * @return the first matching wiki page
249            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
250            * @throws SystemException if a system exception occurred
251            */
252            public static com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
253                    java.lang.String uuid,
254                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
255                    throws com.liferay.portal.kernel.exception.SystemException,
256                            com.liferay.portlet.wiki.NoSuchPageException {
257                    return getPersistence().findByUuid_First(uuid, orderByComparator);
258            }
259    
260            /**
261            * Returns the first wiki page in the ordered set where uuid = &#63;.
262            *
263            * @param uuid the uuid
264            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
265            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
266            * @throws SystemException if a system exception occurred
267            */
268            public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_First(
269                    java.lang.String uuid,
270                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
271                    throws com.liferay.portal.kernel.exception.SystemException {
272                    return getPersistence().fetchByUuid_First(uuid, orderByComparator);
273            }
274    
275            /**
276            * Returns the last wiki page in the ordered set where uuid = &#63;.
277            *
278            * @param uuid the uuid
279            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
280            * @return the last matching wiki page
281            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
282            * @throws SystemException if a system exception occurred
283            */
284            public static com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
285                    java.lang.String uuid,
286                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
287                    throws com.liferay.portal.kernel.exception.SystemException,
288                            com.liferay.portlet.wiki.NoSuchPageException {
289                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
290            }
291    
292            /**
293            * Returns the last wiki page in the ordered set where uuid = &#63;.
294            *
295            * @param uuid the uuid
296            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
297            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
298            * @throws SystemException if a system exception occurred
299            */
300            public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_Last(
301                    java.lang.String uuid,
302                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
303                    throws com.liferay.portal.kernel.exception.SystemException {
304                    return getPersistence().fetchByUuid_Last(uuid, orderByComparator);
305            }
306    
307            /**
308            * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = &#63;.
309            *
310            * @param pageId the primary key of the current wiki page
311            * @param uuid the uuid
312            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
313            * @return the previous, current, and next wiki page
314            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
315            * @throws SystemException if a system exception occurred
316            */
317            public static com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
318                    long pageId, java.lang.String uuid,
319                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
320                    throws com.liferay.portal.kernel.exception.SystemException,
321                            com.liferay.portlet.wiki.NoSuchPageException {
322                    return getPersistence()
323                                       .findByUuid_PrevAndNext(pageId, uuid, orderByComparator);
324            }
325    
326            /**
327            * Returns the wiki page where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found.
328            *
329            * @param uuid the uuid
330            * @param groupId the group ID
331            * @return the matching wiki page
332            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
333            * @throws SystemException if a system exception occurred
334            */
335            public static com.liferay.portlet.wiki.model.WikiPage findByUUID_G(
336                    java.lang.String uuid, long groupId)
337                    throws com.liferay.portal.kernel.exception.SystemException,
338                            com.liferay.portlet.wiki.NoSuchPageException {
339                    return getPersistence().findByUUID_G(uuid, groupId);
340            }
341    
342            /**
343            * Returns the wiki page where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
344            *
345            * @param uuid the uuid
346            * @param groupId the group ID
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)
352                    throws com.liferay.portal.kernel.exception.SystemException {
353                    return getPersistence().fetchByUUID_G(uuid, groupId);
354            }
355    
356            /**
357            * Returns 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.
358            *
359            * @param uuid the uuid
360            * @param groupId the group ID
361            * @param retrieveFromCache whether to use the finder cache
362            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
363            * @throws SystemException if a system exception occurred
364            */
365            public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
366                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
367                    throws com.liferay.portal.kernel.exception.SystemException {
368                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
369            }
370    
371            /**
372            * Returns all the wiki pages where nodeId = &#63;.
373            *
374            * @param nodeId the node ID
375            * @return the matching wiki pages
376            * @throws SystemException if a system exception occurred
377            */
378            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
379                    long nodeId) throws com.liferay.portal.kernel.exception.SystemException {
380                    return getPersistence().findByNodeId(nodeId);
381            }
382    
383            /**
384            * Returns a range of all the wiki pages where nodeId = &#63;.
385            *
386            * <p>
387            * 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.
388            * </p>
389            *
390            * @param nodeId the node ID
391            * @param start the lower bound of the range of wiki pages
392            * @param end the upper bound of the range of wiki pages (not inclusive)
393            * @return the range of matching wiki pages
394            * @throws SystemException if a system exception occurred
395            */
396            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
397                    long nodeId, int start, int end)
398                    throws com.liferay.portal.kernel.exception.SystemException {
399                    return getPersistence().findByNodeId(nodeId, start, end);
400            }
401    
402            /**
403            * Returns an ordered range of all the wiki pages where nodeId = &#63;.
404            *
405            * <p>
406            * 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.
407            * </p>
408            *
409            * @param nodeId the node ID
410            * @param start the lower bound of the range of wiki pages
411            * @param end the upper bound of the range of wiki pages (not inclusive)
412            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
413            * @return the ordered range of matching wiki pages
414            * @throws SystemException if a system exception occurred
415            */
416            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
417                    long nodeId, int start, int end,
418                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
419                    throws com.liferay.portal.kernel.exception.SystemException {
420                    return getPersistence()
421                                       .findByNodeId(nodeId, start, end, orderByComparator);
422            }
423    
424            /**
425            * Returns the first wiki page in the ordered set where nodeId = &#63;.
426            *
427            * @param nodeId the node ID
428            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
429            * @return the first matching wiki page
430            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
431            * @throws SystemException if a system exception occurred
432            */
433            public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
434                    long nodeId,
435                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
436                    throws com.liferay.portal.kernel.exception.SystemException,
437                            com.liferay.portlet.wiki.NoSuchPageException {
438                    return getPersistence().findByNodeId_First(nodeId, orderByComparator);
439            }
440    
441            /**
442            * Returns the first wiki page in the ordered set where nodeId = &#63;.
443            *
444            * @param nodeId the node ID
445            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
446            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
447            * @throws SystemException if a system exception occurred
448            */
449            public static com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_First(
450                    long nodeId,
451                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
452                    throws com.liferay.portal.kernel.exception.SystemException {
453                    return getPersistence().fetchByNodeId_First(nodeId, orderByComparator);
454            }
455    
456            /**
457            * Returns the last wiki page in the ordered set where nodeId = &#63;.
458            *
459            * @param nodeId the node ID
460            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
461            * @return the last matching wiki page
462            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
463            * @throws SystemException if a system exception occurred
464            */
465            public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
466                    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().findByNodeId_Last(nodeId, orderByComparator);
471            }
472    
473            /**
474            * Returns the last wiki page in the ordered set where nodeId = &#63;.
475            *
476            * @param nodeId the node ID
477            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
478            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
479            * @throws SystemException if a system exception occurred
480            */
481            public static com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_Last(
482                    long nodeId,
483                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
484                    throws com.liferay.portal.kernel.exception.SystemException {
485                    return getPersistence().fetchByNodeId_Last(nodeId, orderByComparator);
486            }
487    
488            /**
489            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63;.
490            *
491            * @param pageId the primary key of the current wiki page
492            * @param nodeId the node ID
493            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
494            * @return the previous, current, and next wiki page
495            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
496            * @throws SystemException if a system exception occurred
497            */
498            public static com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
499                    long pageId, long nodeId,
500                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
501                    throws com.liferay.portal.kernel.exception.SystemException,
502                            com.liferay.portlet.wiki.NoSuchPageException {
503                    return getPersistence()
504                                       .findByNodeId_PrevAndNext(pageId, nodeId, orderByComparator);
505            }
506    
507            /**
508            * Returns all the wiki pages where format = &#63;.
509            *
510            * @param format the format
511            * @return the matching wiki pages
512            * @throws SystemException if a system exception occurred
513            */
514            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
515                    java.lang.String format)
516                    throws com.liferay.portal.kernel.exception.SystemException {
517                    return getPersistence().findByFormat(format);
518            }
519    
520            /**
521            * Returns a range of all the wiki pages where format = &#63;.
522            *
523            * <p>
524            * 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.
525            * </p>
526            *
527            * @param format the format
528            * @param start the lower bound of the range of wiki pages
529            * @param end the upper bound of the range of wiki pages (not inclusive)
530            * @return the range of matching wiki pages
531            * @throws SystemException if a system exception occurred
532            */
533            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
534                    java.lang.String format, int start, int end)
535                    throws com.liferay.portal.kernel.exception.SystemException {
536                    return getPersistence().findByFormat(format, start, end);
537            }
538    
539            /**
540            * Returns an ordered range of all the wiki pages where format = &#63;.
541            *
542            * <p>
543            * 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.
544            * </p>
545            *
546            * @param format the format
547            * @param start the lower bound of the range of wiki pages
548            * @param end the upper bound of the range of wiki pages (not inclusive)
549            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
550            * @return the ordered range of matching wiki pages
551            * @throws SystemException if a system exception occurred
552            */
553            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
554                    java.lang.String format, int start, int end,
555                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
556                    throws com.liferay.portal.kernel.exception.SystemException {
557                    return getPersistence()
558                                       .findByFormat(format, start, end, orderByComparator);
559            }
560    
561            /**
562            * Returns the first wiki page in the ordered set where format = &#63;.
563            *
564            * @param format the format
565            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
566            * @return the first matching wiki page
567            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
568            * @throws SystemException if a system exception occurred
569            */
570            public static com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
571                    java.lang.String format,
572                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
573                    throws com.liferay.portal.kernel.exception.SystemException,
574                            com.liferay.portlet.wiki.NoSuchPageException {
575                    return getPersistence().findByFormat_First(format, orderByComparator);
576            }
577    
578            /**
579            * Returns the first wiki page in the ordered set where format = &#63;.
580            *
581            * @param format the format
582            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
583            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
584            * @throws SystemException if a system exception occurred
585            */
586            public static com.liferay.portlet.wiki.model.WikiPage fetchByFormat_First(
587                    java.lang.String format,
588                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
589                    throws com.liferay.portal.kernel.exception.SystemException {
590                    return getPersistence().fetchByFormat_First(format, orderByComparator);
591            }
592    
593            /**
594            * Returns the last wiki page in the ordered set where format = &#63;.
595            *
596            * @param format the format
597            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
598            * @return the last matching wiki page
599            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
600            * @throws SystemException if a system exception occurred
601            */
602            public static com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
603                    java.lang.String format,
604                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
605                    throws com.liferay.portal.kernel.exception.SystemException,
606                            com.liferay.portlet.wiki.NoSuchPageException {
607                    return getPersistence().findByFormat_Last(format, orderByComparator);
608            }
609    
610            /**
611            * Returns the last wiki page in the ordered set where format = &#63;.
612            *
613            * @param format the format
614            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
615            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
616            * @throws SystemException if a system exception occurred
617            */
618            public static com.liferay.portlet.wiki.model.WikiPage fetchByFormat_Last(
619                    java.lang.String format,
620                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
621                    throws com.liferay.portal.kernel.exception.SystemException {
622                    return getPersistence().fetchByFormat_Last(format, orderByComparator);
623            }
624    
625            /**
626            * Returns the wiki pages before and after the current wiki page in the ordered set where format = &#63;.
627            *
628            * @param pageId the primary key of the current wiki page
629            * @param format the format
630            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
631            * @return the previous, current, and next wiki page
632            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
633            * @throws SystemException if a system exception occurred
634            */
635            public static com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
636                    long pageId, java.lang.String format,
637                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
638                    throws com.liferay.portal.kernel.exception.SystemException,
639                            com.liferay.portlet.wiki.NoSuchPageException {
640                    return getPersistence()
641                                       .findByFormat_PrevAndNext(pageId, format, orderByComparator);
642            }
643    
644            /**
645            * Returns all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
646            *
647            * @param resourcePrimKey the resource prim key
648            * @param nodeId the node ID
649            * @return the matching wiki pages
650            * @throws SystemException if a system exception occurred
651            */
652            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
653                    long resourcePrimKey, long nodeId)
654                    throws com.liferay.portal.kernel.exception.SystemException {
655                    return getPersistence().findByR_N(resourcePrimKey, nodeId);
656            }
657    
658            /**
659            * Returns a range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
660            *
661            * <p>
662            * 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.
663            * </p>
664            *
665            * @param resourcePrimKey the resource prim key
666            * @param nodeId the node ID
667            * @param start the lower bound of the range of wiki pages
668            * @param end the upper bound of the range of wiki pages (not inclusive)
669            * @return the range of matching wiki pages
670            * @throws SystemException if a system exception occurred
671            */
672            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
673                    long resourcePrimKey, long nodeId, int start, int end)
674                    throws com.liferay.portal.kernel.exception.SystemException {
675                    return getPersistence().findByR_N(resourcePrimKey, nodeId, start, end);
676            }
677    
678            /**
679            * Returns an ordered range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
680            *
681            * <p>
682            * 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.
683            * </p>
684            *
685            * @param resourcePrimKey the resource prim key
686            * @param nodeId the node ID
687            * @param start the lower bound of the range of wiki pages
688            * @param end the upper bound of the range of wiki pages (not inclusive)
689            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
690            * @return the ordered range of matching wiki pages
691            * @throws SystemException if a system exception occurred
692            */
693            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
694                    long resourcePrimKey, long nodeId, int start, int end,
695                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
696                    throws com.liferay.portal.kernel.exception.SystemException {
697                    return getPersistence()
698                                       .findByR_N(resourcePrimKey, nodeId, start, end,
699                            orderByComparator);
700            }
701    
702            /**
703            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
704            *
705            * @param resourcePrimKey the resource prim key
706            * @param nodeId the node ID
707            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
708            * @return the first matching wiki page
709            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
710            * @throws SystemException if a system exception occurred
711            */
712            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_First(
713                    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_First(resourcePrimKey, nodeId, orderByComparator);
719            }
720    
721            /**
722            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
723            *
724            * @param resourcePrimKey the resource prim key
725            * @param nodeId the node ID
726            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
727            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
728            * @throws SystemException if a system exception occurred
729            */
730            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_First(
731                    long resourcePrimKey, long nodeId,
732                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
733                    throws com.liferay.portal.kernel.exception.SystemException {
734                    return getPersistence()
735                                       .fetchByR_N_First(resourcePrimKey, nodeId, orderByComparator);
736            }
737    
738            /**
739            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
740            *
741            * @param resourcePrimKey the resource prim key
742            * @param nodeId the node ID
743            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
744            * @return the last matching wiki page
745            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
746            * @throws SystemException if a system exception occurred
747            */
748            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_Last(
749                    long resourcePrimKey, long nodeId,
750                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
751                    throws com.liferay.portal.kernel.exception.SystemException,
752                            com.liferay.portlet.wiki.NoSuchPageException {
753                    return getPersistence()
754                                       .findByR_N_Last(resourcePrimKey, nodeId, orderByComparator);
755            }
756    
757            /**
758            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
759            *
760            * @param resourcePrimKey the resource prim key
761            * @param nodeId the node ID
762            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
763            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
764            * @throws SystemException if a system exception occurred
765            */
766            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_Last(
767                    long resourcePrimKey, long nodeId,
768                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
769                    throws com.liferay.portal.kernel.exception.SystemException {
770                    return getPersistence()
771                                       .fetchByR_N_Last(resourcePrimKey, nodeId, orderByComparator);
772            }
773    
774            /**
775            * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
776            *
777            * @param pageId the primary key of the current wiki page
778            * @param resourcePrimKey the resource prim key
779            * @param nodeId the node ID
780            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
781            * @return the previous, current, and next wiki page
782            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
783            * @throws SystemException if a system exception occurred
784            */
785            public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_PrevAndNext(
786                    long pageId, long resourcePrimKey, long nodeId,
787                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
788                    throws com.liferay.portal.kernel.exception.SystemException,
789                            com.liferay.portlet.wiki.NoSuchPageException {
790                    return getPersistence()
791                                       .findByR_N_PrevAndNext(pageId, resourcePrimKey, nodeId,
792                            orderByComparator);
793            }
794    
795            /**
796            * Returns all the wiki pages where nodeId = &#63; and title = &#63;.
797            *
798            * @param nodeId the node ID
799            * @param title the title
800            * @return the matching wiki pages
801            * @throws SystemException if a system exception occurred
802            */
803            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
804                    long nodeId, java.lang.String title)
805                    throws com.liferay.portal.kernel.exception.SystemException {
806                    return getPersistence().findByN_T(nodeId, title);
807            }
808    
809            /**
810            * Returns a range of all the wiki pages where nodeId = &#63; and title = &#63;.
811            *
812            * <p>
813            * 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.
814            * </p>
815            *
816            * @param nodeId the node ID
817            * @param title the title
818            * @param start the lower bound of the range of wiki pages
819            * @param end the upper bound of the range of wiki pages (not inclusive)
820            * @return the range of matching wiki pages
821            * @throws SystemException if a system exception occurred
822            */
823            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
824                    long nodeId, java.lang.String title, int start, int end)
825                    throws com.liferay.portal.kernel.exception.SystemException {
826                    return getPersistence().findByN_T(nodeId, title, start, end);
827            }
828    
829            /**
830            * Returns an ordered range of all the wiki pages where nodeId = &#63; and title = &#63;.
831            *
832            * <p>
833            * 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.
834            * </p>
835            *
836            * @param nodeId the node ID
837            * @param title the title
838            * @param start the lower bound of the range of wiki pages
839            * @param end the upper bound of the range of wiki pages (not inclusive)
840            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
841            * @return the ordered range of matching wiki pages
842            * @throws SystemException if a system exception occurred
843            */
844            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
845                    long nodeId, java.lang.String title, int start, int end,
846                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
847                    throws com.liferay.portal.kernel.exception.SystemException {
848                    return getPersistence()
849                                       .findByN_T(nodeId, title, start, end, orderByComparator);
850            }
851    
852            /**
853            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63;.
854            *
855            * @param nodeId the node ID
856            * @param title the title
857            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
858            * @return the first matching wiki page
859            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
860            * @throws SystemException if a system exception occurred
861            */
862            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
863                    long nodeId, java.lang.String title,
864                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
865                    throws com.liferay.portal.kernel.exception.SystemException,
866                            com.liferay.portlet.wiki.NoSuchPageException {
867                    return getPersistence().findByN_T_First(nodeId, title, orderByComparator);
868            }
869    
870            /**
871            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63;.
872            *
873            * @param nodeId the node ID
874            * @param title the title
875            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
876            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
877            * @throws SystemException if a system exception occurred
878            */
879            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_First(
880                    long nodeId, java.lang.String title,
881                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
882                    throws com.liferay.portal.kernel.exception.SystemException {
883                    return getPersistence()
884                                       .fetchByN_T_First(nodeId, title, orderByComparator);
885            }
886    
887            /**
888            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63;.
889            *
890            * @param nodeId the node ID
891            * @param title the title
892            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
893            * @return the last matching wiki page
894            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
895            * @throws SystemException if a system exception occurred
896            */
897            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(
898                    long nodeId, java.lang.String title,
899                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
900                    throws com.liferay.portal.kernel.exception.SystemException,
901                            com.liferay.portlet.wiki.NoSuchPageException {
902                    return getPersistence().findByN_T_Last(nodeId, title, orderByComparator);
903            }
904    
905            /**
906            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63;.
907            *
908            * @param nodeId the node ID
909            * @param title the title
910            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
911            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
912            * @throws SystemException if a system exception occurred
913            */
914            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_Last(
915                    long nodeId, java.lang.String title,
916                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
917                    throws com.liferay.portal.kernel.exception.SystemException {
918                    return getPersistence().fetchByN_T_Last(nodeId, title, orderByComparator);
919            }
920    
921            /**
922            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63;.
923            *
924            * @param pageId the primary key of the current wiki page
925            * @param nodeId the node ID
926            * @param title the title
927            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
928            * @return the previous, current, and next wiki page
929            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
930            * @throws SystemException if a system exception occurred
931            */
932            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
933                    long pageId, long nodeId, java.lang.String title,
934                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
935                    throws com.liferay.portal.kernel.exception.SystemException,
936                            com.liferay.portlet.wiki.NoSuchPageException {
937                    return getPersistence()
938                                       .findByN_T_PrevAndNext(pageId, nodeId, title,
939                            orderByComparator);
940            }
941    
942            /**
943            * Returns all the wiki pages where nodeId = &#63; and head = &#63;.
944            *
945            * @param nodeId the node ID
946            * @param head the head
947            * @return the matching wiki pages
948            * @throws SystemException if a system exception occurred
949            */
950            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
951                    long nodeId, boolean head)
952                    throws com.liferay.portal.kernel.exception.SystemException {
953                    return getPersistence().findByN_H(nodeId, head);
954            }
955    
956            /**
957            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63;.
958            *
959            * <p>
960            * 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.
961            * </p>
962            *
963            * @param nodeId the node ID
964            * @param head the head
965            * @param start the lower bound of the range of wiki pages
966            * @param end the upper bound of the range of wiki pages (not inclusive)
967            * @return the range of matching wiki pages
968            * @throws SystemException if a system exception occurred
969            */
970            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
971                    long nodeId, boolean head, int start, int end)
972                    throws com.liferay.portal.kernel.exception.SystemException {
973                    return getPersistence().findByN_H(nodeId, head, start, end);
974            }
975    
976            /**
977            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63;.
978            *
979            * <p>
980            * 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.
981            * </p>
982            *
983            * @param nodeId the node ID
984            * @param head the head
985            * @param start the lower bound of the range of wiki pages
986            * @param end the upper bound of the range of wiki pages (not inclusive)
987            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
988            * @return the ordered range of matching wiki pages
989            * @throws SystemException if a system exception occurred
990            */
991            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
992                    long nodeId, boolean head, int start, int end,
993                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
994                    throws com.liferay.portal.kernel.exception.SystemException {
995                    return getPersistence()
996                                       .findByN_H(nodeId, head, start, end, orderByComparator);
997            }
998    
999            /**
1000            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63;.
1001            *
1002            * @param nodeId the node ID
1003            * @param head the head
1004            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1005            * @return the first matching wiki page
1006            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1007            * @throws SystemException if a system exception occurred
1008            */
1009            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
1010                    long nodeId, boolean head,
1011                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1012                    throws com.liferay.portal.kernel.exception.SystemException,
1013                            com.liferay.portlet.wiki.NoSuchPageException {
1014                    return getPersistence().findByN_H_First(nodeId, head, orderByComparator);
1015            }
1016    
1017            /**
1018            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63;.
1019            *
1020            * @param nodeId the node ID
1021            * @param head the head
1022            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1023            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1024            * @throws SystemException if a system exception occurred
1025            */
1026            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_First(
1027                    long nodeId, boolean head,
1028                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1029                    throws com.liferay.portal.kernel.exception.SystemException {
1030                    return getPersistence().fetchByN_H_First(nodeId, head, orderByComparator);
1031            }
1032    
1033            /**
1034            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63;.
1035            *
1036            * @param nodeId the node ID
1037            * @param head the head
1038            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1039            * @return the last matching wiki page
1040            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1041            * @throws SystemException if a system exception occurred
1042            */
1043            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(
1044                    long nodeId, boolean head,
1045                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1046                    throws com.liferay.portal.kernel.exception.SystemException,
1047                            com.liferay.portlet.wiki.NoSuchPageException {
1048                    return getPersistence().findByN_H_Last(nodeId, head, orderByComparator);
1049            }
1050    
1051            /**
1052            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63;.
1053            *
1054            * @param nodeId the node ID
1055            * @param head the head
1056            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1057            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1058            * @throws SystemException if a system exception occurred
1059            */
1060            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_Last(
1061                    long nodeId, boolean head,
1062                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1063                    throws com.liferay.portal.kernel.exception.SystemException {
1064                    return getPersistence().fetchByN_H_Last(nodeId, head, orderByComparator);
1065            }
1066    
1067            /**
1068            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63;.
1069            *
1070            * @param pageId the primary key of the current wiki page
1071            * @param nodeId the node ID
1072            * @param head the head
1073            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1074            * @return the previous, current, and next wiki page
1075            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1076            * @throws SystemException if a system exception occurred
1077            */
1078            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
1079                    long pageId, long nodeId, boolean head,
1080                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1081                    throws com.liferay.portal.kernel.exception.SystemException,
1082                            com.liferay.portlet.wiki.NoSuchPageException {
1083                    return getPersistence()
1084                                       .findByN_H_PrevAndNext(pageId, nodeId, head,
1085                            orderByComparator);
1086            }
1087    
1088            /**
1089            * Returns all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
1090            *
1091            * @param nodeId the node ID
1092            * @param parentTitle the parent title
1093            * @return the matching wiki pages
1094            * @throws SystemException if a system exception occurred
1095            */
1096            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
1097                    long nodeId, java.lang.String parentTitle)
1098                    throws com.liferay.portal.kernel.exception.SystemException {
1099                    return getPersistence().findByN_P(nodeId, parentTitle);
1100            }
1101    
1102            /**
1103            * Returns a range of all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
1104            *
1105            * <p>
1106            * 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.
1107            * </p>
1108            *
1109            * @param nodeId the node ID
1110            * @param parentTitle the parent title
1111            * @param start the lower bound of the range of wiki pages
1112            * @param end the upper bound of the range of wiki pages (not inclusive)
1113            * @return the range of matching wiki pages
1114            * @throws SystemException if a system exception occurred
1115            */
1116            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
1117                    long nodeId, java.lang.String parentTitle, int start, int end)
1118                    throws com.liferay.portal.kernel.exception.SystemException {
1119                    return getPersistence().findByN_P(nodeId, parentTitle, start, end);
1120            }
1121    
1122            /**
1123            * Returns an ordered range of all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
1124            *
1125            * <p>
1126            * 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.
1127            * </p>
1128            *
1129            * @param nodeId the node ID
1130            * @param parentTitle the parent title
1131            * @param start the lower bound of the range of wiki pages
1132            * @param end the upper bound of the range of wiki pages (not inclusive)
1133            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1134            * @return the ordered range of matching wiki pages
1135            * @throws SystemException if a system exception occurred
1136            */
1137            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
1138                    long nodeId, java.lang.String parentTitle, int start, int end,
1139                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1140                    throws com.liferay.portal.kernel.exception.SystemException {
1141                    return getPersistence()
1142                                       .findByN_P(nodeId, parentTitle, start, end, orderByComparator);
1143            }
1144    
1145            /**
1146            * Returns the first wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1147            *
1148            * @param nodeId the node ID
1149            * @param parentTitle the parent title
1150            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1151            * @return the first matching wiki page
1152            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1153            * @throws SystemException if a system exception occurred
1154            */
1155            public static com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
1156                    long nodeId, java.lang.String parentTitle,
1157                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1158                    throws com.liferay.portal.kernel.exception.SystemException,
1159                            com.liferay.portlet.wiki.NoSuchPageException {
1160                    return getPersistence()
1161                                       .findByN_P_First(nodeId, parentTitle, orderByComparator);
1162            }
1163    
1164            /**
1165            * Returns the first wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1166            *
1167            * @param nodeId the node ID
1168            * @param parentTitle the parent title
1169            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1170            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1171            * @throws SystemException if a system exception occurred
1172            */
1173            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_P_First(
1174                    long nodeId, java.lang.String parentTitle,
1175                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1176                    throws com.liferay.portal.kernel.exception.SystemException {
1177                    return getPersistence()
1178                                       .fetchByN_P_First(nodeId, parentTitle, orderByComparator);
1179            }
1180    
1181            /**
1182            * Returns the last wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1183            *
1184            * @param nodeId the node ID
1185            * @param parentTitle the parent title
1186            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1187            * @return the last matching wiki page
1188            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1189            * @throws SystemException if a system exception occurred
1190            */
1191            public static com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(
1192                    long nodeId, java.lang.String parentTitle,
1193                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1194                    throws com.liferay.portal.kernel.exception.SystemException,
1195                            com.liferay.portlet.wiki.NoSuchPageException {
1196                    return getPersistence()
1197                                       .findByN_P_Last(nodeId, parentTitle, orderByComparator);
1198            }
1199    
1200            /**
1201            * Returns the last wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1202            *
1203            * @param nodeId the node ID
1204            * @param parentTitle the parent title
1205            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1206            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1207            * @throws SystemException if a system exception occurred
1208            */
1209            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_P_Last(
1210                    long nodeId, java.lang.String parentTitle,
1211                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1212                    throws com.liferay.portal.kernel.exception.SystemException {
1213                    return getPersistence()
1214                                       .fetchByN_P_Last(nodeId, parentTitle, orderByComparator);
1215            }
1216    
1217            /**
1218            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1219            *
1220            * @param pageId the primary key of the current wiki page
1221            * @param nodeId the node ID
1222            * @param parentTitle the parent title
1223            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1224            * @return the previous, current, and next wiki page
1225            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1226            * @throws SystemException if a system exception occurred
1227            */
1228            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
1229                    long pageId, long nodeId, java.lang.String parentTitle,
1230                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1231                    throws com.liferay.portal.kernel.exception.SystemException,
1232                            com.liferay.portlet.wiki.NoSuchPageException {
1233                    return getPersistence()
1234                                       .findByN_P_PrevAndNext(pageId, nodeId, parentTitle,
1235                            orderByComparator);
1236            }
1237    
1238            /**
1239            * Returns all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1240            *
1241            * @param nodeId the node ID
1242            * @param redirectTitle the redirect title
1243            * @return the matching wiki pages
1244            * @throws SystemException if a system exception occurred
1245            */
1246            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1247                    long nodeId, java.lang.String redirectTitle)
1248                    throws com.liferay.portal.kernel.exception.SystemException {
1249                    return getPersistence().findByN_R(nodeId, redirectTitle);
1250            }
1251    
1252            /**
1253            * Returns a range of all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1254            *
1255            * <p>
1256            * 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.
1257            * </p>
1258            *
1259            * @param nodeId the node ID
1260            * @param redirectTitle the redirect title
1261            * @param start the lower bound of the range of wiki pages
1262            * @param end the upper bound of the range of wiki pages (not inclusive)
1263            * @return the range of matching wiki pages
1264            * @throws SystemException if a system exception occurred
1265            */
1266            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1267                    long nodeId, java.lang.String redirectTitle, int start, int end)
1268                    throws com.liferay.portal.kernel.exception.SystemException {
1269                    return getPersistence().findByN_R(nodeId, redirectTitle, start, end);
1270            }
1271    
1272            /**
1273            * Returns an ordered range of all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1274            *
1275            * <p>
1276            * 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.
1277            * </p>
1278            *
1279            * @param nodeId the node ID
1280            * @param redirectTitle the redirect title
1281            * @param start the lower bound of the range of wiki pages
1282            * @param end the upper bound of the range of wiki pages (not inclusive)
1283            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1284            * @return the ordered range of matching wiki pages
1285            * @throws SystemException if a system exception occurred
1286            */
1287            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1288                    long nodeId, java.lang.String redirectTitle, int start, int end,
1289                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1290                    throws com.liferay.portal.kernel.exception.SystemException {
1291                    return getPersistence()
1292                                       .findByN_R(nodeId, redirectTitle, start, end,
1293                            orderByComparator);
1294            }
1295    
1296            /**
1297            * Returns the first wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1298            *
1299            * @param nodeId the node ID
1300            * @param redirectTitle the redirect title
1301            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1302            * @return the first matching wiki page
1303            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1304            * @throws SystemException if a system exception occurred
1305            */
1306            public static com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
1307                    long nodeId, java.lang.String redirectTitle,
1308                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1309                    throws com.liferay.portal.kernel.exception.SystemException,
1310                            com.liferay.portlet.wiki.NoSuchPageException {
1311                    return getPersistence()
1312                                       .findByN_R_First(nodeId, redirectTitle, orderByComparator);
1313            }
1314    
1315            /**
1316            * Returns the first wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1317            *
1318            * @param nodeId the node ID
1319            * @param redirectTitle the redirect title
1320            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1321            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1322            * @throws SystemException if a system exception occurred
1323            */
1324            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_R_First(
1325                    long nodeId, java.lang.String redirectTitle,
1326                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1327                    throws com.liferay.portal.kernel.exception.SystemException {
1328                    return getPersistence()
1329                                       .fetchByN_R_First(nodeId, redirectTitle, orderByComparator);
1330            }
1331    
1332            /**
1333            * Returns the last wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1334            *
1335            * @param nodeId the node ID
1336            * @param redirectTitle the redirect title
1337            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1338            * @return the last matching wiki page
1339            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1340            * @throws SystemException if a system exception occurred
1341            */
1342            public static com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(
1343                    long nodeId, java.lang.String redirectTitle,
1344                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1345                    throws com.liferay.portal.kernel.exception.SystemException,
1346                            com.liferay.portlet.wiki.NoSuchPageException {
1347                    return getPersistence()
1348                                       .findByN_R_Last(nodeId, redirectTitle, orderByComparator);
1349            }
1350    
1351            /**
1352            * Returns the last wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1353            *
1354            * @param nodeId the node ID
1355            * @param redirectTitle the redirect title
1356            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1357            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1358            * @throws SystemException if a system exception occurred
1359            */
1360            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_R_Last(
1361                    long nodeId, java.lang.String redirectTitle,
1362                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1363                    throws com.liferay.portal.kernel.exception.SystemException {
1364                    return getPersistence()
1365                                       .fetchByN_R_Last(nodeId, redirectTitle, orderByComparator);
1366            }
1367    
1368            /**
1369            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1370            *
1371            * @param pageId the primary key of the current wiki page
1372            * @param nodeId the node ID
1373            * @param redirectTitle the redirect title
1374            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1375            * @return the previous, current, and next wiki page
1376            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1377            * @throws SystemException if a system exception occurred
1378            */
1379            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
1380                    long pageId, long nodeId, java.lang.String redirectTitle,
1381                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1382                    throws com.liferay.portal.kernel.exception.SystemException,
1383                            com.liferay.portlet.wiki.NoSuchPageException {
1384                    return getPersistence()
1385                                       .findByN_R_PrevAndNext(pageId, nodeId, redirectTitle,
1386                            orderByComparator);
1387            }
1388    
1389            /**
1390            * Returns all the wiki pages where nodeId = &#63; and status = &#63;.
1391            *
1392            * @param nodeId the node ID
1393            * @param status the status
1394            * @return the matching wiki pages
1395            * @throws SystemException if a system exception occurred
1396            */
1397            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
1398                    long nodeId, int status)
1399                    throws com.liferay.portal.kernel.exception.SystemException {
1400                    return getPersistence().findByN_S(nodeId, status);
1401            }
1402    
1403            /**
1404            * Returns a range of all the wiki pages where nodeId = &#63; and status = &#63;.
1405            *
1406            * <p>
1407            * 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.
1408            * </p>
1409            *
1410            * @param nodeId the node ID
1411            * @param status the status
1412            * @param start the lower bound of the range of wiki pages
1413            * @param end the upper bound of the range of wiki pages (not inclusive)
1414            * @return the range of matching wiki pages
1415            * @throws SystemException if a system exception occurred
1416            */
1417            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
1418                    long nodeId, int status, int start, int end)
1419                    throws com.liferay.portal.kernel.exception.SystemException {
1420                    return getPersistence().findByN_S(nodeId, status, start, end);
1421            }
1422    
1423            /**
1424            * Returns an ordered range of all the wiki pages where 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 nodeId the node ID
1431            * @param status the status
1432            * @param start the lower bound of the range of wiki pages
1433            * @param end the upper bound of the range of wiki pages (not inclusive)
1434            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1435            * @return the ordered 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> findByN_S(
1439                    long nodeId, int status, int start, int end,
1440                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1441                    throws com.liferay.portal.kernel.exception.SystemException {
1442                    return getPersistence()
1443                                       .findByN_S(nodeId, status, start, end, orderByComparator);
1444            }
1445    
1446            /**
1447            * Returns the first wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1448            *
1449            * @param nodeId the node ID
1450            * @param status the status
1451            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1452            * @return the first matching wiki page
1453            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1454            * @throws SystemException if a system exception occurred
1455            */
1456            public static com.liferay.portlet.wiki.model.WikiPage findByN_S_First(
1457                    long nodeId, int status,
1458                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1459                    throws com.liferay.portal.kernel.exception.SystemException,
1460                            com.liferay.portlet.wiki.NoSuchPageException {
1461                    return getPersistence()
1462                                       .findByN_S_First(nodeId, status, orderByComparator);
1463            }
1464    
1465            /**
1466            * Returns the first wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1467            *
1468            * @param nodeId the node ID
1469            * @param status the status
1470            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1471            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1472            * @throws SystemException if a system exception occurred
1473            */
1474            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_S_First(
1475                    long nodeId, int status,
1476                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1477                    throws com.liferay.portal.kernel.exception.SystemException {
1478                    return getPersistence()
1479                                       .fetchByN_S_First(nodeId, status, orderByComparator);
1480            }
1481    
1482            /**
1483            * Returns the last wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1484            *
1485            * @param nodeId the node ID
1486            * @param status the status
1487            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1488            * @return the last matching wiki page
1489            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1490            * @throws SystemException if a system exception occurred
1491            */
1492            public static com.liferay.portlet.wiki.model.WikiPage findByN_S_Last(
1493                    long nodeId, int status,
1494                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1495                    throws com.liferay.portal.kernel.exception.SystemException,
1496                            com.liferay.portlet.wiki.NoSuchPageException {
1497                    return getPersistence().findByN_S_Last(nodeId, status, orderByComparator);
1498            }
1499    
1500            /**
1501            * Returns the last wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1502            *
1503            * @param nodeId the node ID
1504            * @param status the status
1505            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1506            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1507            * @throws SystemException if a system exception occurred
1508            */
1509            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_S_Last(
1510                    long nodeId, int status,
1511                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1512                    throws com.liferay.portal.kernel.exception.SystemException {
1513                    return getPersistence()
1514                                       .fetchByN_S_Last(nodeId, status, orderByComparator);
1515            }
1516    
1517            /**
1518            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1519            *
1520            * @param pageId the primary key of the current wiki page
1521            * @param nodeId the node ID
1522            * @param status the status
1523            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1524            * @return the previous, current, and next wiki page
1525            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1526            * @throws SystemException if a system exception occurred
1527            */
1528            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_S_PrevAndNext(
1529                    long pageId, long nodeId, int status,
1530                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1531                    throws com.liferay.portal.kernel.exception.SystemException,
1532                            com.liferay.portlet.wiki.NoSuchPageException {
1533                    return getPersistence()
1534                                       .findByN_S_PrevAndNext(pageId, nodeId, status,
1535                            orderByComparator);
1536            }
1537    
1538            /**
1539            * Returns 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.
1540            *
1541            * @param resourcePrimKey the resource prim key
1542            * @param nodeId the node ID
1543            * @param version the version
1544            * @return the matching wiki page
1545            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1546            * @throws SystemException if a system exception occurred
1547            */
1548            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_V(
1549                    long resourcePrimKey, long nodeId, double version)
1550                    throws com.liferay.portal.kernel.exception.SystemException,
1551                            com.liferay.portlet.wiki.NoSuchPageException {
1552                    return getPersistence().findByR_N_V(resourcePrimKey, nodeId, version);
1553            }
1554    
1555            /**
1556            * Returns 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.
1557            *
1558            * @param resourcePrimKey the resource prim key
1559            * @param nodeId the node ID
1560            * @param version the version
1561            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
1562            * @throws SystemException if a system exception occurred
1563            */
1564            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V(
1565                    long resourcePrimKey, long nodeId, double version)
1566                    throws com.liferay.portal.kernel.exception.SystemException {
1567                    return getPersistence().fetchByR_N_V(resourcePrimKey, nodeId, version);
1568            }
1569    
1570            /**
1571            * Returns 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.
1572            *
1573            * @param resourcePrimKey the resource prim key
1574            * @param nodeId the node ID
1575            * @param version the version
1576            * @param retrieveFromCache whether to use the finder cache
1577            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
1578            * @throws SystemException if a system exception occurred
1579            */
1580            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V(
1581                    long resourcePrimKey, long nodeId, double version,
1582                    boolean retrieveFromCache)
1583                    throws com.liferay.portal.kernel.exception.SystemException {
1584                    return getPersistence()
1585                                       .fetchByR_N_V(resourcePrimKey, nodeId, version,
1586                            retrieveFromCache);
1587            }
1588    
1589            /**
1590            * Returns all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1591            *
1592            * @param resourcePrimKey the resource prim key
1593            * @param nodeId the node ID
1594            * @param status the status
1595            * @return the matching wiki pages
1596            * @throws SystemException if a system exception occurred
1597            */
1598            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
1599                    long resourcePrimKey, long nodeId, int status)
1600                    throws com.liferay.portal.kernel.exception.SystemException {
1601                    return getPersistence().findByR_N_S(resourcePrimKey, nodeId, status);
1602            }
1603    
1604            /**
1605            * Returns a range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1606            *
1607            * <p>
1608            * 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.
1609            * </p>
1610            *
1611            * @param resourcePrimKey the resource prim key
1612            * @param nodeId the node ID
1613            * @param status the status
1614            * @param start the lower bound of the range of wiki pages
1615            * @param end the upper bound of the range of wiki pages (not inclusive)
1616            * @return the range of matching wiki pages
1617            * @throws SystemException if a system exception occurred
1618            */
1619            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
1620                    long resourcePrimKey, long nodeId, int status, int start, int end)
1621                    throws com.liferay.portal.kernel.exception.SystemException {
1622                    return getPersistence()
1623                                       .findByR_N_S(resourcePrimKey, nodeId, status, start, end);
1624            }
1625    
1626            /**
1627            * Returns an ordered range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1628            *
1629            * <p>
1630            * 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.
1631            * </p>
1632            *
1633            * @param resourcePrimKey the resource prim key
1634            * @param nodeId the node ID
1635            * @param status the status
1636            * @param start the lower bound of the range of wiki pages
1637            * @param end the upper bound of the range of wiki pages (not inclusive)
1638            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1639            * @return the ordered range of matching wiki pages
1640            * @throws SystemException if a system exception occurred
1641            */
1642            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
1643                    long resourcePrimKey, long nodeId, int status, int start, int end,
1644                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1645                    throws com.liferay.portal.kernel.exception.SystemException {
1646                    return getPersistence()
1647                                       .findByR_N_S(resourcePrimKey, nodeId, status, start, end,
1648                            orderByComparator);
1649            }
1650    
1651            /**
1652            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1653            *
1654            * @param resourcePrimKey the resource prim key
1655            * @param nodeId the node ID
1656            * @param status the status
1657            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1658            * @return the first matching wiki page
1659            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1660            * @throws SystemException if a system exception occurred
1661            */
1662            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_S_First(
1663                    long resourcePrimKey, long nodeId, int status,
1664                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1665                    throws com.liferay.portal.kernel.exception.SystemException,
1666                            com.liferay.portlet.wiki.NoSuchPageException {
1667                    return getPersistence()
1668                                       .findByR_N_S_First(resourcePrimKey, nodeId, status,
1669                            orderByComparator);
1670            }
1671    
1672            /**
1673            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1674            *
1675            * @param resourcePrimKey the resource prim key
1676            * @param nodeId the node ID
1677            * @param status the status
1678            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1679            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1680            * @throws SystemException if a system exception occurred
1681            */
1682            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_First(
1683                    long resourcePrimKey, long nodeId, int status,
1684                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1685                    throws com.liferay.portal.kernel.exception.SystemException {
1686                    return getPersistence()
1687                                       .fetchByR_N_S_First(resourcePrimKey, nodeId, status,
1688                            orderByComparator);
1689            }
1690    
1691            /**
1692            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1693            *
1694            * @param resourcePrimKey the resource prim key
1695            * @param nodeId the node ID
1696            * @param status the status
1697            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1698            * @return the last matching wiki page
1699            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1700            * @throws SystemException if a system exception occurred
1701            */
1702            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_S_Last(
1703                    long resourcePrimKey, long nodeId, int status,
1704                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1705                    throws com.liferay.portal.kernel.exception.SystemException,
1706                            com.liferay.portlet.wiki.NoSuchPageException {
1707                    return getPersistence()
1708                                       .findByR_N_S_Last(resourcePrimKey, nodeId, status,
1709                            orderByComparator);
1710            }
1711    
1712            /**
1713            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1714            *
1715            * @param resourcePrimKey the resource prim key
1716            * @param nodeId the node ID
1717            * @param status the status
1718            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1719            * @return the last 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 fetchByR_N_S_Last(
1723                    long resourcePrimKey, long nodeId, int status,
1724                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1725                    throws com.liferay.portal.kernel.exception.SystemException {
1726                    return getPersistence()
1727                                       .fetchByR_N_S_Last(resourcePrimKey, nodeId, status,
1728                            orderByComparator);
1729            }
1730    
1731            /**
1732            * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1733            *
1734            * @param pageId the primary key of the current wiki page
1735            * @param resourcePrimKey the resource prim key
1736            * @param nodeId the node ID
1737            * @param status the status
1738            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1739            * @return the previous, current, and next wiki page
1740            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1741            * @throws SystemException if a system exception occurred
1742            */
1743            public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_S_PrevAndNext(
1744                    long pageId, long resourcePrimKey, long nodeId, int status,
1745                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1746                    throws com.liferay.portal.kernel.exception.SystemException,
1747                            com.liferay.portlet.wiki.NoSuchPageException {
1748                    return getPersistence()
1749                                       .findByR_N_S_PrevAndNext(pageId, resourcePrimKey, nodeId,
1750                            status, orderByComparator);
1751            }
1752    
1753            /**
1754            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63;.
1755            *
1756            * @param groupId the group ID
1757            * @param nodeId the node ID
1758            * @param head the head
1759            * @return the matching wiki pages
1760            * @throws SystemException if a system exception occurred
1761            */
1762            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H(
1763                    long groupId, long nodeId, boolean head)
1764                    throws com.liferay.portal.kernel.exception.SystemException {
1765                    return getPersistence().findByG_N_H(groupId, nodeId, head);
1766            }
1767    
1768            /**
1769            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63;.
1770            *
1771            * <p>
1772            * 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.
1773            * </p>
1774            *
1775            * @param groupId the group ID
1776            * @param nodeId the node ID
1777            * @param head the head
1778            * @param start the lower bound of the range of wiki pages
1779            * @param end the upper bound of the range of wiki pages (not inclusive)
1780            * @return the range of matching wiki pages
1781            * @throws SystemException if a system exception occurred
1782            */
1783            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H(
1784                    long groupId, long nodeId, boolean head, int start, int end)
1785                    throws com.liferay.portal.kernel.exception.SystemException {
1786                    return getPersistence().findByG_N_H(groupId, nodeId, head, start, end);
1787            }
1788    
1789            /**
1790            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63;.
1791            *
1792            * <p>
1793            * 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.
1794            * </p>
1795            *
1796            * @param groupId the group ID
1797            * @param nodeId the node ID
1798            * @param head the head
1799            * @param start the lower bound of the range of wiki pages
1800            * @param end the upper bound of the range of wiki pages (not inclusive)
1801            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1802            * @return the ordered range of matching wiki pages
1803            * @throws SystemException if a system exception occurred
1804            */
1805            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H(
1806                    long groupId, long nodeId, boolean head, int start, int end,
1807                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1808                    throws com.liferay.portal.kernel.exception.SystemException {
1809                    return getPersistence()
1810                                       .findByG_N_H(groupId, nodeId, head, start, end,
1811                            orderByComparator);
1812            }
1813    
1814            /**
1815            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63;.
1816            *
1817            * @param groupId the group ID
1818            * @param nodeId the node ID
1819            * @param head the head
1820            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1821            * @return the first matching wiki page
1822            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1823            * @throws SystemException if a system exception occurred
1824            */
1825            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_First(
1826                    long groupId, long nodeId, boolean head,
1827                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1828                    throws com.liferay.portal.kernel.exception.SystemException,
1829                            com.liferay.portlet.wiki.NoSuchPageException {
1830                    return getPersistence()
1831                                       .findByG_N_H_First(groupId, nodeId, head, orderByComparator);
1832            }
1833    
1834            /**
1835            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63;.
1836            *
1837            * @param groupId the group ID
1838            * @param nodeId the node ID
1839            * @param head the head
1840            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1841            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1842            * @throws SystemException if a system exception occurred
1843            */
1844            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_First(
1845                    long groupId, long nodeId, boolean head,
1846                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1847                    throws com.liferay.portal.kernel.exception.SystemException {
1848                    return getPersistence()
1849                                       .fetchByG_N_H_First(groupId, nodeId, head, orderByComparator);
1850            }
1851    
1852            /**
1853            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63;.
1854            *
1855            * @param groupId the group ID
1856            * @param nodeId the node ID
1857            * @param head the head
1858            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1859            * @return the last matching wiki page
1860            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1861            * @throws SystemException if a system exception occurred
1862            */
1863            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_Last(
1864                    long groupId, long nodeId, boolean head,
1865                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1866                    throws com.liferay.portal.kernel.exception.SystemException,
1867                            com.liferay.portlet.wiki.NoSuchPageException {
1868                    return getPersistence()
1869                                       .findByG_N_H_Last(groupId, nodeId, head, orderByComparator);
1870            }
1871    
1872            /**
1873            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63;.
1874            *
1875            * @param groupId the group ID
1876            * @param nodeId the node ID
1877            * @param head the head
1878            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1879            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1880            * @throws SystemException if a system exception occurred
1881            */
1882            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_Last(
1883                    long groupId, long nodeId, boolean head,
1884                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1885                    throws com.liferay.portal.kernel.exception.SystemException {
1886                    return getPersistence()
1887                                       .fetchByG_N_H_Last(groupId, nodeId, head, orderByComparator);
1888            }
1889    
1890            /**
1891            * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63;.
1892            *
1893            * @param pageId the primary key of the current wiki page
1894            * @param groupId the group ID
1895            * @param nodeId the node ID
1896            * @param head the head
1897            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1898            * @return the previous, current, and next wiki page
1899            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1900            * @throws SystemException if a system exception occurred
1901            */
1902            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_PrevAndNext(
1903                    long pageId, long groupId, long nodeId, boolean head,
1904                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1905                    throws com.liferay.portal.kernel.exception.SystemException,
1906                            com.liferay.portlet.wiki.NoSuchPageException {
1907                    return getPersistence()
1908                                       .findByG_N_H_PrevAndNext(pageId, groupId, nodeId, head,
1909                            orderByComparator);
1910            }
1911    
1912            /**
1913            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63;.
1914            *
1915            * @param groupId the group ID
1916            * @param nodeId the node ID
1917            * @param head the head
1918            * @return the matching wiki pages that the user has permission to view
1919            * @throws SystemException if a system exception occurred
1920            */
1921            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H(
1922                    long groupId, long nodeId, boolean head)
1923                    throws com.liferay.portal.kernel.exception.SystemException {
1924                    return getPersistence().filterFindByG_N_H(groupId, nodeId, head);
1925            }
1926    
1927            /**
1928            * Returns a range of all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63;.
1929            *
1930            * <p>
1931            * 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.
1932            * </p>
1933            *
1934            * @param groupId the group ID
1935            * @param nodeId the node ID
1936            * @param head the head
1937            * @param start the lower bound of the range of wiki pages
1938            * @param end the upper bound of the range of wiki pages (not inclusive)
1939            * @return the range of matching wiki pages that the user has permission to view
1940            * @throws SystemException if a system exception occurred
1941            */
1942            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H(
1943                    long groupId, long nodeId, boolean head, int start, int end)
1944                    throws com.liferay.portal.kernel.exception.SystemException {
1945                    return getPersistence()
1946                                       .filterFindByG_N_H(groupId, nodeId, head, start, end);
1947            }
1948    
1949            /**
1950            * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = &#63; and nodeId = &#63; and head = &#63;.
1951            *
1952            * <p>
1953            * 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.
1954            * </p>
1955            *
1956            * @param groupId the group ID
1957            * @param nodeId the node ID
1958            * @param head the head
1959            * @param start the lower bound of the range of wiki pages
1960            * @param end the upper bound of the range of wiki pages (not inclusive)
1961            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1962            * @return the ordered range of matching wiki pages that the user has permission to view
1963            * @throws SystemException if a system exception occurred
1964            */
1965            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H(
1966                    long groupId, long nodeId, boolean head, int start, int end,
1967                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1968                    throws com.liferay.portal.kernel.exception.SystemException {
1969                    return getPersistence()
1970                                       .filterFindByG_N_H(groupId, nodeId, head, start, end,
1971                            orderByComparator);
1972            }
1973    
1974            /**
1975            * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63;.
1976            *
1977            * @param pageId the primary key of the current wiki page
1978            * @param groupId the group ID
1979            * @param nodeId the node ID
1980            * @param head the head
1981            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1982            * @return the previous, current, and next wiki page
1983            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1984            * @throws SystemException if a system exception occurred
1985            */
1986            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_PrevAndNext(
1987                    long pageId, long groupId, long nodeId, boolean head,
1988                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1989                    throws com.liferay.portal.kernel.exception.SystemException,
1990                            com.liferay.portlet.wiki.NoSuchPageException {
1991                    return getPersistence()
1992                                       .filterFindByG_N_H_PrevAndNext(pageId, groupId, nodeId,
1993                            head, orderByComparator);
1994            }
1995    
1996            /**
1997            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and status = &#63;.
1998            *
1999            * @param groupId the group ID
2000            * @param nodeId the node ID
2001            * @param status the status
2002            * @return the matching wiki pages
2003            * @throws SystemException if a system exception occurred
2004            */
2005            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S(
2006                    long groupId, long nodeId, int status)
2007                    throws com.liferay.portal.kernel.exception.SystemException {
2008                    return getPersistence().findByG_N_S(groupId, nodeId, status);
2009            }
2010    
2011            /**
2012            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and status = &#63;.
2013            *
2014            * <p>
2015            * 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.
2016            * </p>
2017            *
2018            * @param groupId the group ID
2019            * @param nodeId the node ID
2020            * @param status the status
2021            * @param start the lower bound of the range of wiki pages
2022            * @param end the upper bound of the range of wiki pages (not inclusive)
2023            * @return the range of matching wiki pages
2024            * @throws SystemException if a system exception occurred
2025            */
2026            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S(
2027                    long groupId, long nodeId, int status, int start, int end)
2028                    throws com.liferay.portal.kernel.exception.SystemException {
2029                    return getPersistence().findByG_N_S(groupId, nodeId, status, start, end);
2030            }
2031    
2032            /**
2033            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and status = &#63;.
2034            *
2035            * <p>
2036            * 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.
2037            * </p>
2038            *
2039            * @param groupId the group ID
2040            * @param nodeId the node ID
2041            * @param status the status
2042            * @param start the lower bound of the range of wiki pages
2043            * @param end the upper bound of the range of wiki pages (not inclusive)
2044            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2045            * @return the ordered range of matching wiki pages
2046            * @throws SystemException if a system exception occurred
2047            */
2048            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S(
2049                    long groupId, long nodeId, int status, int start, int end,
2050                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2051                    throws com.liferay.portal.kernel.exception.SystemException {
2052                    return getPersistence()
2053                                       .findByG_N_S(groupId, nodeId, status, start, end,
2054                            orderByComparator);
2055            }
2056    
2057            /**
2058            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and status = &#63;.
2059            *
2060            * @param groupId the group ID
2061            * @param nodeId the node ID
2062            * @param status the status
2063            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2064            * @return the first matching wiki page
2065            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2066            * @throws SystemException if a system exception occurred
2067            */
2068            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_S_First(
2069                    long groupId, long nodeId, int status,
2070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2071                    throws com.liferay.portal.kernel.exception.SystemException,
2072                            com.liferay.portlet.wiki.NoSuchPageException {
2073                    return getPersistence()
2074                                       .findByG_N_S_First(groupId, nodeId, status, orderByComparator);
2075            }
2076    
2077            /**
2078            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and status = &#63;.
2079            *
2080            * @param groupId the group ID
2081            * @param nodeId the node ID
2082            * @param status the status
2083            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2084            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2085            * @throws SystemException if a system exception occurred
2086            */
2087            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_S_First(
2088                    long groupId, long nodeId, int status,
2089                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2090                    throws com.liferay.portal.kernel.exception.SystemException {
2091                    return getPersistence()
2092                                       .fetchByG_N_S_First(groupId, nodeId, status,
2093                            orderByComparator);
2094            }
2095    
2096            /**
2097            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and status = &#63;.
2098            *
2099            * @param groupId the group ID
2100            * @param nodeId the node ID
2101            * @param status the status
2102            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2103            * @return the last matching wiki page
2104            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2105            * @throws SystemException if a system exception occurred
2106            */
2107            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_S_Last(
2108                    long groupId, long nodeId, int status,
2109                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2110                    throws com.liferay.portal.kernel.exception.SystemException,
2111                            com.liferay.portlet.wiki.NoSuchPageException {
2112                    return getPersistence()
2113                                       .findByG_N_S_Last(groupId, nodeId, status, orderByComparator);
2114            }
2115    
2116            /**
2117            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and status = &#63;.
2118            *
2119            * @param groupId the group ID
2120            * @param nodeId the node ID
2121            * @param status the status
2122            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2123            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2124            * @throws SystemException if a system exception occurred
2125            */
2126            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_S_Last(
2127                    long groupId, long nodeId, int status,
2128                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2129                    throws com.liferay.portal.kernel.exception.SystemException {
2130                    return getPersistence()
2131                                       .fetchByG_N_S_Last(groupId, nodeId, status, orderByComparator);
2132            }
2133    
2134            /**
2135            * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and status = &#63;.
2136            *
2137            * @param pageId the primary key of the current wiki page
2138            * @param groupId the group ID
2139            * @param nodeId the node ID
2140            * @param status the status
2141            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2142            * @return the previous, current, and next wiki page
2143            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2144            * @throws SystemException if a system exception occurred
2145            */
2146            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_S_PrevAndNext(
2147                    long pageId, long groupId, long nodeId, int status,
2148                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2149                    throws com.liferay.portal.kernel.exception.SystemException,
2150                            com.liferay.portlet.wiki.NoSuchPageException {
2151                    return getPersistence()
2152                                       .findByG_N_S_PrevAndNext(pageId, groupId, nodeId, status,
2153                            orderByComparator);
2154            }
2155    
2156            /**
2157            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and status = &#63;.
2158            *
2159            * @param groupId the group ID
2160            * @param nodeId the node ID
2161            * @param status the status
2162            * @return the matching wiki pages that the user has permission to view
2163            * @throws SystemException if a system exception occurred
2164            */
2165            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S(
2166                    long groupId, long nodeId, int status)
2167                    throws com.liferay.portal.kernel.exception.SystemException {
2168                    return getPersistence().filterFindByG_N_S(groupId, nodeId, status);
2169            }
2170    
2171            /**
2172            * Returns a range of all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and status = &#63;.
2173            *
2174            * <p>
2175            * 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.
2176            * </p>
2177            *
2178            * @param groupId the group ID
2179            * @param nodeId the node ID
2180            * @param status the status
2181            * @param start the lower bound of the range of wiki pages
2182            * @param end the upper bound of the range of wiki pages (not inclusive)
2183            * @return the range of matching wiki pages that the user has permission to view
2184            * @throws SystemException if a system exception occurred
2185            */
2186            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S(
2187                    long groupId, long nodeId, int status, int start, int end)
2188                    throws com.liferay.portal.kernel.exception.SystemException {
2189                    return getPersistence()
2190                                       .filterFindByG_N_S(groupId, nodeId, status, start, end);
2191            }
2192    
2193            /**
2194            * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = &#63; and nodeId = &#63; and status = &#63;.
2195            *
2196            * <p>
2197            * 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.
2198            * </p>
2199            *
2200            * @param groupId the group ID
2201            * @param nodeId the node ID
2202            * @param status the status
2203            * @param start the lower bound of the range of wiki pages
2204            * @param end the upper bound of the range of wiki pages (not inclusive)
2205            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2206            * @return the ordered range of matching wiki pages that the user has permission to view
2207            * @throws SystemException if a system exception occurred
2208            */
2209            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S(
2210                    long groupId, long nodeId, int status, int start, int end,
2211                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2212                    throws com.liferay.portal.kernel.exception.SystemException {
2213                    return getPersistence()
2214                                       .filterFindByG_N_S(groupId, nodeId, status, start, end,
2215                            orderByComparator);
2216            }
2217    
2218            /**
2219            * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and status = &#63;.
2220            *
2221            * @param pageId the primary key of the current wiki page
2222            * @param groupId the group ID
2223            * @param nodeId the node ID
2224            * @param status the status
2225            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2226            * @return the previous, current, and next wiki page
2227            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2228            * @throws SystemException if a system exception occurred
2229            */
2230            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_S_PrevAndNext(
2231                    long pageId, long groupId, long nodeId, int status,
2232                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2233                    throws com.liferay.portal.kernel.exception.SystemException,
2234                            com.liferay.portlet.wiki.NoSuchPageException {
2235                    return getPersistence()
2236                                       .filterFindByG_N_S_PrevAndNext(pageId, groupId, nodeId,
2237                            status, orderByComparator);
2238            }
2239    
2240            /**
2241            * Returns all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
2242            *
2243            * @param userId the user ID
2244            * @param nodeId the node ID
2245            * @param status the status
2246            * @return the matching wiki pages
2247            * @throws SystemException if a system exception occurred
2248            */
2249            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
2250                    long userId, long nodeId, int status)
2251                    throws com.liferay.portal.kernel.exception.SystemException {
2252                    return getPersistence().findByU_N_S(userId, nodeId, status);
2253            }
2254    
2255            /**
2256            * Returns a range of all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
2257            *
2258            * <p>
2259            * 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.
2260            * </p>
2261            *
2262            * @param userId the user ID
2263            * @param nodeId the node ID
2264            * @param status the status
2265            * @param start the lower bound of the range of wiki pages
2266            * @param end the upper bound of the range of wiki pages (not inclusive)
2267            * @return the range of matching wiki pages
2268            * @throws SystemException if a system exception occurred
2269            */
2270            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
2271                    long userId, long nodeId, int status, int start, int end)
2272                    throws com.liferay.portal.kernel.exception.SystemException {
2273                    return getPersistence().findByU_N_S(userId, nodeId, status, start, end);
2274            }
2275    
2276            /**
2277            * Returns an ordered range of all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
2278            *
2279            * <p>
2280            * 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.
2281            * </p>
2282            *
2283            * @param userId the user ID
2284            * @param nodeId the node ID
2285            * @param status the status
2286            * @param start the lower bound of the range of wiki pages
2287            * @param end the upper bound of the range of wiki pages (not inclusive)
2288            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2289            * @return the ordered range of matching wiki pages
2290            * @throws SystemException if a system exception occurred
2291            */
2292            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
2293                    long userId, long nodeId, int status, int start, int end,
2294                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2295                    throws com.liferay.portal.kernel.exception.SystemException {
2296                    return getPersistence()
2297                                       .findByU_N_S(userId, nodeId, status, start, end,
2298                            orderByComparator);
2299            }
2300    
2301            /**
2302            * Returns the first wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
2303            *
2304            * @param userId the user ID
2305            * @param nodeId the node ID
2306            * @param status the status
2307            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2308            * @return the first matching wiki page
2309            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2310            * @throws SystemException if a system exception occurred
2311            */
2312            public static com.liferay.portlet.wiki.model.WikiPage findByU_N_S_First(
2313                    long userId, long nodeId, int status,
2314                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2315                    throws com.liferay.portal.kernel.exception.SystemException,
2316                            com.liferay.portlet.wiki.NoSuchPageException {
2317                    return getPersistence()
2318                                       .findByU_N_S_First(userId, nodeId, status, orderByComparator);
2319            }
2320    
2321            /**
2322            * Returns the first wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
2323            *
2324            * @param userId the user ID
2325            * @param nodeId the node ID
2326            * @param status the status
2327            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2328            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2329            * @throws SystemException if a system exception occurred
2330            */
2331            public static com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_First(
2332                    long userId, long nodeId, int status,
2333                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2334                    throws com.liferay.portal.kernel.exception.SystemException {
2335                    return getPersistence()
2336                                       .fetchByU_N_S_First(userId, nodeId, status, orderByComparator);
2337            }
2338    
2339            /**
2340            * Returns the last wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
2341            *
2342            * @param userId the user ID
2343            * @param nodeId the node ID
2344            * @param status the status
2345            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2346            * @return the last matching wiki page
2347            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2348            * @throws SystemException if a system exception occurred
2349            */
2350            public static com.liferay.portlet.wiki.model.WikiPage findByU_N_S_Last(
2351                    long userId, long nodeId, int status,
2352                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2353                    throws com.liferay.portal.kernel.exception.SystemException,
2354                            com.liferay.portlet.wiki.NoSuchPageException {
2355                    return getPersistence()
2356                                       .findByU_N_S_Last(userId, nodeId, status, orderByComparator);
2357            }
2358    
2359            /**
2360            * Returns the last wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
2361            *
2362            * @param userId the user ID
2363            * @param nodeId the node ID
2364            * @param status the status
2365            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2366            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2367            * @throws SystemException if a system exception occurred
2368            */
2369            public static com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_Last(
2370                    long userId, long nodeId, int status,
2371                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2372                    throws com.liferay.portal.kernel.exception.SystemException {
2373                    return getPersistence()
2374                                       .fetchByU_N_S_Last(userId, nodeId, status, orderByComparator);
2375            }
2376    
2377            /**
2378            * Returns the wiki pages before and after the current wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
2379            *
2380            * @param pageId the primary key of the current wiki page
2381            * @param userId the user ID
2382            * @param nodeId the node ID
2383            * @param status the status
2384            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2385            * @return the previous, current, and next wiki page
2386            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2387            * @throws SystemException if a system exception occurred
2388            */
2389            public static com.liferay.portlet.wiki.model.WikiPage[] findByU_N_S_PrevAndNext(
2390                    long pageId, long userId, long nodeId, int status,
2391                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2392                    throws com.liferay.portal.kernel.exception.SystemException,
2393                            com.liferay.portlet.wiki.NoSuchPageException {
2394                    return getPersistence()
2395                                       .findByU_N_S_PrevAndNext(pageId, userId, nodeId, status,
2396                            orderByComparator);
2397            }
2398    
2399            /**
2400            * Returns 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.
2401            *
2402            * @param nodeId the node ID
2403            * @param title the title
2404            * @param version the version
2405            * @return the matching wiki page
2406            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2407            * @throws SystemException if a system exception occurred
2408            */
2409            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_V(
2410                    long nodeId, java.lang.String title, double version)
2411                    throws com.liferay.portal.kernel.exception.SystemException,
2412                            com.liferay.portlet.wiki.NoSuchPageException {
2413                    return getPersistence().findByN_T_V(nodeId, title, version);
2414            }
2415    
2416            /**
2417            * Returns 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.
2418            *
2419            * @param nodeId the node ID
2420            * @param title the title
2421            * @param version the version
2422            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
2423            * @throws SystemException if a system exception occurred
2424            */
2425            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(
2426                    long nodeId, java.lang.String title, double version)
2427                    throws com.liferay.portal.kernel.exception.SystemException {
2428                    return getPersistence().fetchByN_T_V(nodeId, title, version);
2429            }
2430    
2431            /**
2432            * Returns 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.
2433            *
2434            * @param nodeId the node ID
2435            * @param title the title
2436            * @param version the version
2437            * @param retrieveFromCache whether to use the finder cache
2438            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
2439            * @throws SystemException if a system exception occurred
2440            */
2441            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(
2442                    long nodeId, java.lang.String title, double version,
2443                    boolean retrieveFromCache)
2444                    throws com.liferay.portal.kernel.exception.SystemException {
2445                    return getPersistence()
2446                                       .fetchByN_T_V(nodeId, title, version, retrieveFromCache);
2447            }
2448    
2449            /**
2450            * Returns all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
2451            *
2452            * @param nodeId the node ID
2453            * @param title the title
2454            * @param head the head
2455            * @return the matching wiki pages
2456            * @throws SystemException if a system exception occurred
2457            */
2458            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
2459                    long nodeId, java.lang.String title, boolean head)
2460                    throws com.liferay.portal.kernel.exception.SystemException {
2461                    return getPersistence().findByN_T_H(nodeId, title, head);
2462            }
2463    
2464            /**
2465            * Returns a range of all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
2466            *
2467            * <p>
2468            * 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.
2469            * </p>
2470            *
2471            * @param nodeId the node ID
2472            * @param title the title
2473            * @param head the head
2474            * @param start the lower bound of the range of wiki pages
2475            * @param end the upper bound of the range of wiki pages (not inclusive)
2476            * @return the range of matching wiki pages
2477            * @throws SystemException if a system exception occurred
2478            */
2479            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
2480                    long nodeId, java.lang.String title, boolean head, int start, int end)
2481                    throws com.liferay.portal.kernel.exception.SystemException {
2482                    return getPersistence().findByN_T_H(nodeId, title, head, start, end);
2483            }
2484    
2485            /**
2486            * Returns an ordered range of all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
2487            *
2488            * <p>
2489            * 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.
2490            * </p>
2491            *
2492            * @param nodeId the node ID
2493            * @param title the title
2494            * @param head the head
2495            * @param start the lower bound of the range of wiki pages
2496            * @param end the upper bound of the range of wiki pages (not inclusive)
2497            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2498            * @return the ordered range of matching wiki pages
2499            * @throws SystemException if a system exception occurred
2500            */
2501            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
2502                    long nodeId, java.lang.String title, boolean head, int start, int end,
2503                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2504                    throws com.liferay.portal.kernel.exception.SystemException {
2505                    return getPersistence()
2506                                       .findByN_T_H(nodeId, title, head, start, end,
2507                            orderByComparator);
2508            }
2509    
2510            /**
2511            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
2512            *
2513            * @param nodeId the node ID
2514            * @param title the title
2515            * @param head the head
2516            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2517            * @return the first matching wiki page
2518            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2519            * @throws SystemException if a system exception occurred
2520            */
2521            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
2522                    long nodeId, java.lang.String title, boolean head,
2523                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2524                    throws com.liferay.portal.kernel.exception.SystemException,
2525                            com.liferay.portlet.wiki.NoSuchPageException {
2526                    return getPersistence()
2527                                       .findByN_T_H_First(nodeId, title, head, orderByComparator);
2528            }
2529    
2530            /**
2531            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
2532            *
2533            * @param nodeId the node ID
2534            * @param title the title
2535            * @param head the head
2536            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2537            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2538            * @throws SystemException if a system exception occurred
2539            */
2540            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_First(
2541                    long nodeId, java.lang.String title, boolean head,
2542                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2543                    throws com.liferay.portal.kernel.exception.SystemException {
2544                    return getPersistence()
2545                                       .fetchByN_T_H_First(nodeId, title, head, orderByComparator);
2546            }
2547    
2548            /**
2549            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
2550            *
2551            * @param nodeId the node ID
2552            * @param title the title
2553            * @param head the head
2554            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2555            * @return the last matching wiki page
2556            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2557            * @throws SystemException if a system exception occurred
2558            */
2559            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
2560                    long nodeId, java.lang.String title, boolean head,
2561                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2562                    throws com.liferay.portal.kernel.exception.SystemException,
2563                            com.liferay.portlet.wiki.NoSuchPageException {
2564                    return getPersistence()
2565                                       .findByN_T_H_Last(nodeId, title, head, orderByComparator);
2566            }
2567    
2568            /**
2569            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
2570            *
2571            * @param nodeId the node ID
2572            * @param title the title
2573            * @param head the head
2574            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2575            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2576            * @throws SystemException if a system exception occurred
2577            */
2578            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_Last(
2579                    long nodeId, java.lang.String title, boolean head,
2580                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2581                    throws com.liferay.portal.kernel.exception.SystemException {
2582                    return getPersistence()
2583                                       .fetchByN_T_H_Last(nodeId, title, head, orderByComparator);
2584            }
2585    
2586            /**
2587            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
2588            *
2589            * @param pageId the primary key of the current wiki page
2590            * @param nodeId the node ID
2591            * @param title the title
2592            * @param head the head
2593            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2594            * @return the previous, current, and next wiki page
2595            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2596            * @throws SystemException if a system exception occurred
2597            */
2598            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
2599                    long pageId, long nodeId, java.lang.String title, boolean head,
2600                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2601                    throws com.liferay.portal.kernel.exception.SystemException,
2602                            com.liferay.portlet.wiki.NoSuchPageException {
2603                    return getPersistence()
2604                                       .findByN_T_H_PrevAndNext(pageId, nodeId, title, head,
2605                            orderByComparator);
2606            }
2607    
2608            /**
2609            * Returns all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
2610            *
2611            * @param nodeId the node ID
2612            * @param title the title
2613            * @param status the status
2614            * @return the matching wiki pages
2615            * @throws SystemException if a system exception occurred
2616            */
2617            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
2618                    long nodeId, java.lang.String title, int status)
2619                    throws com.liferay.portal.kernel.exception.SystemException {
2620                    return getPersistence().findByN_T_S(nodeId, title, status);
2621            }
2622    
2623            /**
2624            * Returns a range of all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
2625            *
2626            * <p>
2627            * 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.
2628            * </p>
2629            *
2630            * @param nodeId the node ID
2631            * @param title the title
2632            * @param status the status
2633            * @param start the lower bound of the range of wiki pages
2634            * @param end the upper bound of the range of wiki pages (not inclusive)
2635            * @return the range of matching wiki pages
2636            * @throws SystemException if a system exception occurred
2637            */
2638            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
2639                    long nodeId, java.lang.String title, int status, int start, int end)
2640                    throws com.liferay.portal.kernel.exception.SystemException {
2641                    return getPersistence().findByN_T_S(nodeId, title, status, start, end);
2642            }
2643    
2644            /**
2645            * Returns an ordered range of all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
2646            *
2647            * <p>
2648            * 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.
2649            * </p>
2650            *
2651            * @param nodeId the node ID
2652            * @param title the title
2653            * @param status the status
2654            * @param start the lower bound of the range of wiki pages
2655            * @param end the upper bound of the range of wiki pages (not inclusive)
2656            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2657            * @return the ordered range of matching wiki pages
2658            * @throws SystemException if a system exception occurred
2659            */
2660            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
2661                    long nodeId, java.lang.String title, int status, int start, int end,
2662                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2663                    throws com.liferay.portal.kernel.exception.SystemException {
2664                    return getPersistence()
2665                                       .findByN_T_S(nodeId, title, status, start, end,
2666                            orderByComparator);
2667            }
2668    
2669            /**
2670            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
2671            *
2672            * @param nodeId the node ID
2673            * @param title the title
2674            * @param status the status
2675            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2676            * @return the first matching wiki page
2677            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2678            * @throws SystemException if a system exception occurred
2679            */
2680            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_S_First(
2681                    long nodeId, java.lang.String title, int status,
2682                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2683                    throws com.liferay.portal.kernel.exception.SystemException,
2684                            com.liferay.portlet.wiki.NoSuchPageException {
2685                    return getPersistence()
2686                                       .findByN_T_S_First(nodeId, title, status, orderByComparator);
2687            }
2688    
2689            /**
2690            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
2691            *
2692            * @param nodeId the node ID
2693            * @param title the title
2694            * @param status the status
2695            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2696            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2697            * @throws SystemException if a system exception occurred
2698            */
2699            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_First(
2700                    long nodeId, java.lang.String title, int status,
2701                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2702                    throws com.liferay.portal.kernel.exception.SystemException {
2703                    return getPersistence()
2704                                       .fetchByN_T_S_First(nodeId, title, status, orderByComparator);
2705            }
2706    
2707            /**
2708            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
2709            *
2710            * @param nodeId the node ID
2711            * @param title the title
2712            * @param status the status
2713            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2714            * @return the last matching wiki page
2715            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2716            * @throws SystemException if a system exception occurred
2717            */
2718            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_S_Last(
2719                    long nodeId, java.lang.String title, int status,
2720                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2721                    throws com.liferay.portal.kernel.exception.SystemException,
2722                            com.liferay.portlet.wiki.NoSuchPageException {
2723                    return getPersistence()
2724                                       .findByN_T_S_Last(nodeId, title, status, orderByComparator);
2725            }
2726    
2727            /**
2728            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
2729            *
2730            * @param nodeId the node ID
2731            * @param title the title
2732            * @param status the status
2733            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2734            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2735            * @throws SystemException if a system exception occurred
2736            */
2737            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_Last(
2738                    long nodeId, java.lang.String title, int status,
2739                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2740                    throws com.liferay.portal.kernel.exception.SystemException {
2741                    return getPersistence()
2742                                       .fetchByN_T_S_Last(nodeId, title, status, orderByComparator);
2743            }
2744    
2745            /**
2746            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
2747            *
2748            * @param pageId the primary key of the current wiki page
2749            * @param nodeId the node ID
2750            * @param title the title
2751            * @param status the status
2752            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2753            * @return the previous, current, and next wiki page
2754            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2755            * @throws SystemException if a system exception occurred
2756            */
2757            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_S_PrevAndNext(
2758                    long pageId, long nodeId, java.lang.String title, int status,
2759                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2760                    throws com.liferay.portal.kernel.exception.SystemException,
2761                            com.liferay.portlet.wiki.NoSuchPageException {
2762                    return getPersistence()
2763                                       .findByN_T_S_PrevAndNext(pageId, nodeId, title, status,
2764                            orderByComparator);
2765            }
2766    
2767            /**
2768            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2769            *
2770            * @param nodeId the node ID
2771            * @param head the head
2772            * @param parentTitle the parent title
2773            * @return the matching wiki pages
2774            * @throws SystemException if a system exception occurred
2775            */
2776            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
2777                    long nodeId, boolean head, java.lang.String parentTitle)
2778                    throws com.liferay.portal.kernel.exception.SystemException {
2779                    return getPersistence().findByN_H_P(nodeId, head, parentTitle);
2780            }
2781    
2782            /**
2783            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2784            *
2785            * <p>
2786            * 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.
2787            * </p>
2788            *
2789            * @param nodeId the node ID
2790            * @param head the head
2791            * @param parentTitle the parent title
2792            * @param start the lower bound of the range of wiki pages
2793            * @param end the upper bound of the range of wiki pages (not inclusive)
2794            * @return the range of matching wiki pages
2795            * @throws SystemException if a system exception occurred
2796            */
2797            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
2798                    long nodeId, boolean head, java.lang.String parentTitle, int start,
2799                    int end) throws com.liferay.portal.kernel.exception.SystemException {
2800                    return getPersistence()
2801                                       .findByN_H_P(nodeId, head, parentTitle, start, end);
2802            }
2803    
2804            /**
2805            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2806            *
2807            * <p>
2808            * 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.
2809            * </p>
2810            *
2811            * @param nodeId the node ID
2812            * @param head the head
2813            * @param parentTitle the parent title
2814            * @param start the lower bound of the range of wiki pages
2815            * @param end the upper bound of the range of wiki pages (not inclusive)
2816            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2817            * @return the ordered range of matching wiki pages
2818            * @throws SystemException if a system exception occurred
2819            */
2820            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
2821                    long nodeId, boolean head, java.lang.String parentTitle, int start,
2822                    int end,
2823                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2824                    throws com.liferay.portal.kernel.exception.SystemException {
2825                    return getPersistence()
2826                                       .findByN_H_P(nodeId, head, parentTitle, start, end,
2827                            orderByComparator);
2828            }
2829    
2830            /**
2831            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2832            *
2833            * @param nodeId the node ID
2834            * @param head the head
2835            * @param parentTitle the parent title
2836            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2837            * @return the first matching wiki page
2838            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2839            * @throws SystemException if a system exception occurred
2840            */
2841            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
2842                    long nodeId, boolean head, java.lang.String parentTitle,
2843                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2844                    throws com.liferay.portal.kernel.exception.SystemException,
2845                            com.liferay.portlet.wiki.NoSuchPageException {
2846                    return getPersistence()
2847                                       .findByN_H_P_First(nodeId, head, parentTitle,
2848                            orderByComparator);
2849            }
2850    
2851            /**
2852            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2853            *
2854            * @param nodeId the node ID
2855            * @param head the head
2856            * @param parentTitle the parent title
2857            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2858            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2859            * @throws SystemException if a system exception occurred
2860            */
2861            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_First(
2862                    long nodeId, boolean head, java.lang.String parentTitle,
2863                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2864                    throws com.liferay.portal.kernel.exception.SystemException {
2865                    return getPersistence()
2866                                       .fetchByN_H_P_First(nodeId, head, parentTitle,
2867                            orderByComparator);
2868            }
2869    
2870            /**
2871            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2872            *
2873            * @param nodeId the node ID
2874            * @param head the head
2875            * @param parentTitle the parent title
2876            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2877            * @return the last matching wiki page
2878            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2879            * @throws SystemException if a system exception occurred
2880            */
2881            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
2882                    long nodeId, boolean head, java.lang.String parentTitle,
2883                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2884                    throws com.liferay.portal.kernel.exception.SystemException,
2885                            com.liferay.portlet.wiki.NoSuchPageException {
2886                    return getPersistence()
2887                                       .findByN_H_P_Last(nodeId, head, parentTitle,
2888                            orderByComparator);
2889            }
2890    
2891            /**
2892            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2893            *
2894            * @param nodeId the node ID
2895            * @param head the head
2896            * @param parentTitle the parent title
2897            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2898            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2899            * @throws SystemException if a system exception occurred
2900            */
2901            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_Last(
2902                    long nodeId, boolean head, java.lang.String parentTitle,
2903                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2904                    throws com.liferay.portal.kernel.exception.SystemException {
2905                    return getPersistence()
2906                                       .fetchByN_H_P_Last(nodeId, head, parentTitle,
2907                            orderByComparator);
2908            }
2909    
2910            /**
2911            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2912            *
2913            * @param pageId the primary key of the current wiki page
2914            * @param nodeId the node ID
2915            * @param head the head
2916            * @param parentTitle the parent title
2917            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2918            * @return the previous, current, and next wiki page
2919            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2920            * @throws SystemException if a system exception occurred
2921            */
2922            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
2923                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
2924                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2925                    throws com.liferay.portal.kernel.exception.SystemException,
2926                            com.liferay.portlet.wiki.NoSuchPageException {
2927                    return getPersistence()
2928                                       .findByN_H_P_PrevAndNext(pageId, nodeId, head, parentTitle,
2929                            orderByComparator);
2930            }
2931    
2932            /**
2933            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2934            *
2935            * @param nodeId the node ID
2936            * @param head the head
2937            * @param status the status
2938            * @return the matching wiki pages
2939            * @throws SystemException if a system exception occurred
2940            */
2941            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
2942                    long nodeId, boolean head, int status)
2943                    throws com.liferay.portal.kernel.exception.SystemException {
2944                    return getPersistence().findByN_H_S(nodeId, head, status);
2945            }
2946    
2947            /**
2948            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2949            *
2950            * <p>
2951            * 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.
2952            * </p>
2953            *
2954            * @param nodeId the node ID
2955            * @param head the head
2956            * @param status the status
2957            * @param start the lower bound of the range of wiki pages
2958            * @param end the upper bound of the range of wiki pages (not inclusive)
2959            * @return the range of matching wiki pages
2960            * @throws SystemException if a system exception occurred
2961            */
2962            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
2963                    long nodeId, boolean head, int status, int start, int end)
2964                    throws com.liferay.portal.kernel.exception.SystemException {
2965                    return getPersistence().findByN_H_S(nodeId, head, status, start, end);
2966            }
2967    
2968            /**
2969            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2970            *
2971            * <p>
2972            * 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.
2973            * </p>
2974            *
2975            * @param nodeId the node ID
2976            * @param head the head
2977            * @param status the status
2978            * @param start the lower bound of the range of wiki pages
2979            * @param end the upper bound of the range of wiki pages (not inclusive)
2980            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2981            * @return the ordered range of matching wiki pages
2982            * @throws SystemException if a system exception occurred
2983            */
2984            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
2985                    long nodeId, boolean head, int status, int start, int end,
2986                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2987                    throws com.liferay.portal.kernel.exception.SystemException {
2988                    return getPersistence()
2989                                       .findByN_H_S(nodeId, head, status, start, end,
2990                            orderByComparator);
2991            }
2992    
2993            /**
2994            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
2995            *
2996            * @param nodeId the node ID
2997            * @param head the head
2998            * @param status the status
2999            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3000            * @return the first matching wiki page
3001            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3002            * @throws SystemException if a system exception occurred
3003            */
3004            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_S_First(
3005                    long nodeId, boolean head, int status,
3006                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3007                    throws com.liferay.portal.kernel.exception.SystemException,
3008                            com.liferay.portlet.wiki.NoSuchPageException {
3009                    return getPersistence()
3010                                       .findByN_H_S_First(nodeId, head, status, orderByComparator);
3011            }
3012    
3013            /**
3014            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
3015            *
3016            * @param nodeId the node ID
3017            * @param head the head
3018            * @param status the status
3019            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3020            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3021            * @throws SystemException if a system exception occurred
3022            */
3023            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_First(
3024                    long nodeId, boolean head, int status,
3025                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3026                    throws com.liferay.portal.kernel.exception.SystemException {
3027                    return getPersistence()
3028                                       .fetchByN_H_S_First(nodeId, head, status, orderByComparator);
3029            }
3030    
3031            /**
3032            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
3033            *
3034            * @param nodeId the node ID
3035            * @param head the head
3036            * @param status the status
3037            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3038            * @return the last matching wiki page
3039            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3040            * @throws SystemException if a system exception occurred
3041            */
3042            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_S_Last(
3043                    long nodeId, boolean head, int status,
3044                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3045                    throws com.liferay.portal.kernel.exception.SystemException,
3046                            com.liferay.portlet.wiki.NoSuchPageException {
3047                    return getPersistence()
3048                                       .findByN_H_S_Last(nodeId, head, status, orderByComparator);
3049            }
3050    
3051            /**
3052            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
3053            *
3054            * @param nodeId the node ID
3055            * @param head the head
3056            * @param status the status
3057            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3058            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3059            * @throws SystemException if a system exception occurred
3060            */
3061            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_Last(
3062                    long nodeId, boolean head, int status,
3063                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3064                    throws com.liferay.portal.kernel.exception.SystemException {
3065                    return getPersistence()
3066                                       .fetchByN_H_S_Last(nodeId, head, status, orderByComparator);
3067            }
3068    
3069            /**
3070            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
3071            *
3072            * @param pageId the primary key of the current wiki page
3073            * @param nodeId the node ID
3074            * @param head the head
3075            * @param status the status
3076            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3077            * @return the previous, current, and next wiki page
3078            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3079            * @throws SystemException if a system exception occurred
3080            */
3081            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_S_PrevAndNext(
3082                    long pageId, long nodeId, boolean head, int status,
3083                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3084                    throws com.liferay.portal.kernel.exception.SystemException,
3085                            com.liferay.portlet.wiki.NoSuchPageException {
3086                    return getPersistence()
3087                                       .findByN_H_S_PrevAndNext(pageId, nodeId, head, status,
3088                            orderByComparator);
3089            }
3090    
3091            /**
3092            * Returns all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3093            *
3094            * @param groupId the group ID
3095            * @param userId the user ID
3096            * @param nodeId the node ID
3097            * @param status the status
3098            * @return the matching wiki pages
3099            * @throws SystemException if a system exception occurred
3100            */
3101            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S(
3102                    long groupId, long userId, long nodeId, int status)
3103                    throws com.liferay.portal.kernel.exception.SystemException {
3104                    return getPersistence().findByG_U_N_S(groupId, userId, nodeId, status);
3105            }
3106    
3107            /**
3108            * Returns a range of all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3109            *
3110            * <p>
3111            * 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.
3112            * </p>
3113            *
3114            * @param groupId the group ID
3115            * @param userId the user ID
3116            * @param nodeId the node ID
3117            * @param status the status
3118            * @param start the lower bound of the range of wiki pages
3119            * @param end the upper bound of the range of wiki pages (not inclusive)
3120            * @return the range of matching wiki pages
3121            * @throws SystemException if a system exception occurred
3122            */
3123            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S(
3124                    long groupId, long userId, long nodeId, int status, int start, int end)
3125                    throws com.liferay.portal.kernel.exception.SystemException {
3126                    return getPersistence()
3127                                       .findByG_U_N_S(groupId, userId, nodeId, status, start, end);
3128            }
3129    
3130            /**
3131            * Returns an ordered range of all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3132            *
3133            * <p>
3134            * 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.
3135            * </p>
3136            *
3137            * @param groupId the group ID
3138            * @param userId the user ID
3139            * @param nodeId the node ID
3140            * @param status the status
3141            * @param start the lower bound of the range of wiki pages
3142            * @param end the upper bound of the range of wiki pages (not inclusive)
3143            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3144            * @return the ordered range of matching wiki pages
3145            * @throws SystemException if a system exception occurred
3146            */
3147            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S(
3148                    long groupId, long userId, long nodeId, int status, int start, int end,
3149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3150                    throws com.liferay.portal.kernel.exception.SystemException {
3151                    return getPersistence()
3152                                       .findByG_U_N_S(groupId, userId, nodeId, status, start, end,
3153                            orderByComparator);
3154            }
3155    
3156            /**
3157            * Returns the first wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3158            *
3159            * @param groupId the group ID
3160            * @param userId the user ID
3161            * @param nodeId the node ID
3162            * @param status the status
3163            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3164            * @return the first matching wiki page
3165            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3166            * @throws SystemException if a system exception occurred
3167            */
3168            public static com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_First(
3169                    long groupId, long userId, long nodeId, int status,
3170                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3171                    throws com.liferay.portal.kernel.exception.SystemException,
3172                            com.liferay.portlet.wiki.NoSuchPageException {
3173                    return getPersistence()
3174                                       .findByG_U_N_S_First(groupId, userId, nodeId, status,
3175                            orderByComparator);
3176            }
3177    
3178            /**
3179            * Returns the first wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3180            *
3181            * @param groupId the group ID
3182            * @param userId the user ID
3183            * @param nodeId the node ID
3184            * @param status the status
3185            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3186            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3187            * @throws SystemException if a system exception occurred
3188            */
3189            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_First(
3190                    long groupId, long userId, long nodeId, int status,
3191                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3192                    throws com.liferay.portal.kernel.exception.SystemException {
3193                    return getPersistence()
3194                                       .fetchByG_U_N_S_First(groupId, userId, nodeId, status,
3195                            orderByComparator);
3196            }
3197    
3198            /**
3199            * Returns the last wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3200            *
3201            * @param groupId the group ID
3202            * @param userId the user ID
3203            * @param nodeId the node ID
3204            * @param status the status
3205            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3206            * @return the last matching wiki page
3207            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3208            * @throws SystemException if a system exception occurred
3209            */
3210            public static com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_Last(
3211                    long groupId, long userId, long nodeId, int status,
3212                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3213                    throws com.liferay.portal.kernel.exception.SystemException,
3214                            com.liferay.portlet.wiki.NoSuchPageException {
3215                    return getPersistence()
3216                                       .findByG_U_N_S_Last(groupId, userId, nodeId, status,
3217                            orderByComparator);
3218            }
3219    
3220            /**
3221            * Returns the last wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3222            *
3223            * @param groupId the group ID
3224            * @param userId the user ID
3225            * @param nodeId the node ID
3226            * @param status the status
3227            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3228            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3229            * @throws SystemException if a system exception occurred
3230            */
3231            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_Last(
3232                    long groupId, long userId, long nodeId, int status,
3233                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3234                    throws com.liferay.portal.kernel.exception.SystemException {
3235                    return getPersistence()
3236                                       .fetchByG_U_N_S_Last(groupId, userId, nodeId, status,
3237                            orderByComparator);
3238            }
3239    
3240            /**
3241            * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3242            *
3243            * @param pageId the primary key of the current wiki page
3244            * @param groupId the group ID
3245            * @param userId the user ID
3246            * @param nodeId the node ID
3247            * @param status the status
3248            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3249            * @return the previous, current, and next wiki page
3250            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3251            * @throws SystemException if a system exception occurred
3252            */
3253            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_U_N_S_PrevAndNext(
3254                    long pageId, long groupId, long userId, long nodeId, int status,
3255                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3256                    throws com.liferay.portal.kernel.exception.SystemException,
3257                            com.liferay.portlet.wiki.NoSuchPageException {
3258                    return getPersistence()
3259                                       .findByG_U_N_S_PrevAndNext(pageId, groupId, userId, nodeId,
3260                            status, orderByComparator);
3261            }
3262    
3263            /**
3264            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3265            *
3266            * @param groupId the group ID
3267            * @param userId the user ID
3268            * @param nodeId the node ID
3269            * @param status the status
3270            * @return the matching wiki pages that the user has permission to view
3271            * @throws SystemException if a system exception occurred
3272            */
3273            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S(
3274                    long groupId, long userId, long nodeId, int status)
3275                    throws com.liferay.portal.kernel.exception.SystemException {
3276                    return getPersistence()
3277                                       .filterFindByG_U_N_S(groupId, userId, nodeId, status);
3278            }
3279    
3280            /**
3281            * Returns a range of all the wiki pages that the user has permission to view where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3282            *
3283            * <p>
3284            * 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.
3285            * </p>
3286            *
3287            * @param groupId the group ID
3288            * @param userId the user ID
3289            * @param nodeId the node ID
3290            * @param status the status
3291            * @param start the lower bound of the range of wiki pages
3292            * @param end the upper bound of the range of wiki pages (not inclusive)
3293            * @return the range of matching wiki pages that the user has permission to view
3294            * @throws SystemException if a system exception occurred
3295            */
3296            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S(
3297                    long groupId, long userId, long nodeId, int status, int start, int end)
3298                    throws com.liferay.portal.kernel.exception.SystemException {
3299                    return getPersistence()
3300                                       .filterFindByG_U_N_S(groupId, userId, nodeId, status, start,
3301                            end);
3302            }
3303    
3304            /**
3305            * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3306            *
3307            * <p>
3308            * 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.
3309            * </p>
3310            *
3311            * @param groupId the group ID
3312            * @param userId the user ID
3313            * @param nodeId the node ID
3314            * @param status the status
3315            * @param start the lower bound of the range of wiki pages
3316            * @param end the upper bound of the range of wiki pages (not inclusive)
3317            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3318            * @return the ordered range of matching wiki pages that the user has permission to view
3319            * @throws SystemException if a system exception occurred
3320            */
3321            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S(
3322                    long groupId, long userId, long nodeId, int status, int start, int end,
3323                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3324                    throws com.liferay.portal.kernel.exception.SystemException {
3325                    return getPersistence()
3326                                       .filterFindByG_U_N_S(groupId, userId, nodeId, status, start,
3327                            end, orderByComparator);
3328            }
3329    
3330            /**
3331            * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3332            *
3333            * @param pageId the primary key of the current wiki page
3334            * @param groupId the group ID
3335            * @param userId the user ID
3336            * @param nodeId the node ID
3337            * @param status the status
3338            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3339            * @return the previous, current, and next wiki page
3340            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3341            * @throws SystemException if a system exception occurred
3342            */
3343            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_U_N_S_PrevAndNext(
3344                    long pageId, long groupId, long userId, long nodeId, int status,
3345                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3346                    throws com.liferay.portal.kernel.exception.SystemException,
3347                            com.liferay.portlet.wiki.NoSuchPageException {
3348                    return getPersistence()
3349                                       .filterFindByG_U_N_S_PrevAndNext(pageId, groupId, userId,
3350                            nodeId, status, orderByComparator);
3351            }
3352    
3353            /**
3354            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3355            *
3356            * @param groupId the group ID
3357            * @param nodeId the node ID
3358            * @param title the title
3359            * @param head the head
3360            * @return the matching wiki pages
3361            * @throws SystemException if a system exception occurred
3362            */
3363            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H(
3364                    long groupId, long nodeId, java.lang.String title, boolean head)
3365                    throws com.liferay.portal.kernel.exception.SystemException {
3366                    return getPersistence().findByG_N_T_H(groupId, nodeId, title, head);
3367            }
3368    
3369            /**
3370            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3371            *
3372            * <p>
3373            * 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.
3374            * </p>
3375            *
3376            * @param groupId the group ID
3377            * @param nodeId the node ID
3378            * @param title the title
3379            * @param head the head
3380            * @param start the lower bound of the range of wiki pages
3381            * @param end the upper bound of the range of wiki pages (not inclusive)
3382            * @return the range of matching wiki pages
3383            * @throws SystemException if a system exception occurred
3384            */
3385            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H(
3386                    long groupId, long nodeId, java.lang.String title, boolean head,
3387                    int start, int end)
3388                    throws com.liferay.portal.kernel.exception.SystemException {
3389                    return getPersistence()
3390                                       .findByG_N_T_H(groupId, nodeId, title, head, start, end);
3391            }
3392    
3393            /**
3394            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3395            *
3396            * <p>
3397            * 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.
3398            * </p>
3399            *
3400            * @param groupId the group ID
3401            * @param nodeId the node ID
3402            * @param title the title
3403            * @param head the head
3404            * @param start the lower bound of the range of wiki pages
3405            * @param end the upper bound of the range of wiki pages (not inclusive)
3406            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3407            * @return the ordered range of matching wiki pages
3408            * @throws SystemException if a system exception occurred
3409            */
3410            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H(
3411                    long groupId, long nodeId, java.lang.String title, boolean head,
3412                    int start, int end,
3413                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3414                    throws com.liferay.portal.kernel.exception.SystemException {
3415                    return getPersistence()
3416                                       .findByG_N_T_H(groupId, nodeId, title, head, start, end,
3417                            orderByComparator);
3418            }
3419    
3420            /**
3421            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3422            *
3423            * @param groupId the group ID
3424            * @param nodeId the node ID
3425            * @param title the title
3426            * @param head the head
3427            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3428            * @return the first matching wiki page
3429            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3430            * @throws SystemException if a system exception occurred
3431            */
3432            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_First(
3433                    long groupId, long nodeId, java.lang.String title, boolean head,
3434                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3435                    throws com.liferay.portal.kernel.exception.SystemException,
3436                            com.liferay.portlet.wiki.NoSuchPageException {
3437                    return getPersistence()
3438                                       .findByG_N_T_H_First(groupId, nodeId, title, head,
3439                            orderByComparator);
3440            }
3441    
3442            /**
3443            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3444            *
3445            * @param groupId the group ID
3446            * @param nodeId the node ID
3447            * @param title the title
3448            * @param head the head
3449            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3450            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3451            * @throws SystemException if a system exception occurred
3452            */
3453            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_First(
3454                    long groupId, long nodeId, java.lang.String title, boolean head,
3455                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3456                    throws com.liferay.portal.kernel.exception.SystemException {
3457                    return getPersistence()
3458                                       .fetchByG_N_T_H_First(groupId, nodeId, title, head,
3459                            orderByComparator);
3460            }
3461    
3462            /**
3463            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3464            *
3465            * @param groupId the group ID
3466            * @param nodeId the node ID
3467            * @param title the title
3468            * @param head the head
3469            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3470            * @return the last matching wiki page
3471            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3472            * @throws SystemException if a system exception occurred
3473            */
3474            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_Last(
3475                    long groupId, long nodeId, java.lang.String title, boolean head,
3476                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3477                    throws com.liferay.portal.kernel.exception.SystemException,
3478                            com.liferay.portlet.wiki.NoSuchPageException {
3479                    return getPersistence()
3480                                       .findByG_N_T_H_Last(groupId, nodeId, title, head,
3481                            orderByComparator);
3482            }
3483    
3484            /**
3485            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3486            *
3487            * @param groupId the group ID
3488            * @param nodeId the node ID
3489            * @param title the title
3490            * @param head the head
3491            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3492            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3493            * @throws SystemException if a system exception occurred
3494            */
3495            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_Last(
3496                    long groupId, long nodeId, java.lang.String title, boolean head,
3497                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3498                    throws com.liferay.portal.kernel.exception.SystemException {
3499                    return getPersistence()
3500                                       .fetchByG_N_T_H_Last(groupId, nodeId, title, head,
3501                            orderByComparator);
3502            }
3503    
3504            /**
3505            * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3506            *
3507            * @param pageId the primary key of the current wiki page
3508            * @param groupId the group ID
3509            * @param nodeId the node ID
3510            * @param title the title
3511            * @param head the head
3512            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3513            * @return the previous, current, and next wiki page
3514            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3515            * @throws SystemException if a system exception occurred
3516            */
3517            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_T_H_PrevAndNext(
3518                    long pageId, long groupId, long nodeId, java.lang.String title,
3519                    boolean head,
3520                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3521                    throws com.liferay.portal.kernel.exception.SystemException,
3522                            com.liferay.portlet.wiki.NoSuchPageException {
3523                    return getPersistence()
3524                                       .findByG_N_T_H_PrevAndNext(pageId, groupId, nodeId, title,
3525                            head, orderByComparator);
3526            }
3527    
3528            /**
3529            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3530            *
3531            * @param groupId the group ID
3532            * @param nodeId the node ID
3533            * @param title the title
3534            * @param head the head
3535            * @return the matching wiki pages that the user has permission to view
3536            * @throws SystemException if a system exception occurred
3537            */
3538            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H(
3539                    long groupId, long nodeId, java.lang.String title, boolean head)
3540                    throws com.liferay.portal.kernel.exception.SystemException {
3541                    return getPersistence().filterFindByG_N_T_H(groupId, nodeId, title, head);
3542            }
3543    
3544            /**
3545            * Returns a range of all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3546            *
3547            * <p>
3548            * 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.
3549            * </p>
3550            *
3551            * @param groupId the group ID
3552            * @param nodeId the node ID
3553            * @param title the title
3554            * @param head the head
3555            * @param start the lower bound of the range of wiki pages
3556            * @param end the upper bound of the range of wiki pages (not inclusive)
3557            * @return the range of matching wiki pages that the user has permission to view
3558            * @throws SystemException if a system exception occurred
3559            */
3560            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H(
3561                    long groupId, long nodeId, java.lang.String title, boolean head,
3562                    int start, int end)
3563                    throws com.liferay.portal.kernel.exception.SystemException {
3564                    return getPersistence()
3565                                       .filterFindByG_N_T_H(groupId, nodeId, title, head, start, end);
3566            }
3567    
3568            /**
3569            * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3570            *
3571            * <p>
3572            * 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.
3573            * </p>
3574            *
3575            * @param groupId the group ID
3576            * @param nodeId the node ID
3577            * @param title the title
3578            * @param head the head
3579            * @param start the lower bound of the range of wiki pages
3580            * @param end the upper bound of the range of wiki pages (not inclusive)
3581            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3582            * @return the ordered range of matching wiki pages that the user has permission to view
3583            * @throws SystemException if a system exception occurred
3584            */
3585            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H(
3586                    long groupId, long nodeId, java.lang.String title, boolean head,
3587                    int start, int end,
3588                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3589                    throws com.liferay.portal.kernel.exception.SystemException {
3590                    return getPersistence()
3591                                       .filterFindByG_N_T_H(groupId, nodeId, title, head, start,
3592                            end, orderByComparator);
3593            }
3594    
3595            /**
3596            * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
3597            *
3598            * @param pageId the primary key of the current wiki page
3599            * @param groupId the group ID
3600            * @param nodeId the node ID
3601            * @param title the title
3602            * @param head the head
3603            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3604            * @return the previous, current, and next wiki page
3605            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3606            * @throws SystemException if a system exception occurred
3607            */
3608            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_T_H_PrevAndNext(
3609                    long pageId, long groupId, long nodeId, java.lang.String title,
3610                    boolean head,
3611                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3612                    throws com.liferay.portal.kernel.exception.SystemException,
3613                            com.liferay.portlet.wiki.NoSuchPageException {
3614                    return getPersistence()
3615                                       .filterFindByG_N_T_H_PrevAndNext(pageId, groupId, nodeId,
3616                            title, head, orderByComparator);
3617            }
3618    
3619            /**
3620            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3621            *
3622            * @param groupId the group ID
3623            * @param nodeId the node ID
3624            * @param head the head
3625            * @param status the status
3626            * @return the matching wiki pages
3627            * @throws SystemException if a system exception occurred
3628            */
3629            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S(
3630                    long groupId, long nodeId, boolean head, int status)
3631                    throws com.liferay.portal.kernel.exception.SystemException {
3632                    return getPersistence().findByG_N_H_S(groupId, nodeId, head, status);
3633            }
3634    
3635            /**
3636            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3637            *
3638            * <p>
3639            * 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.
3640            * </p>
3641            *
3642            * @param groupId the group ID
3643            * @param nodeId the node ID
3644            * @param head the head
3645            * @param status the status
3646            * @param start the lower bound of the range of wiki pages
3647            * @param end the upper bound of the range of wiki pages (not inclusive)
3648            * @return the range of matching wiki pages
3649            * @throws SystemException if a system exception occurred
3650            */
3651            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S(
3652                    long groupId, long nodeId, boolean head, int status, int start, int end)
3653                    throws com.liferay.portal.kernel.exception.SystemException {
3654                    return getPersistence()
3655                                       .findByG_N_H_S(groupId, nodeId, head, status, start, end);
3656            }
3657    
3658            /**
3659            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3660            *
3661            * <p>
3662            * 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.
3663            * </p>
3664            *
3665            * @param groupId the group ID
3666            * @param nodeId the node ID
3667            * @param head the head
3668            * @param status the status
3669            * @param start the lower bound of the range of wiki pages
3670            * @param end the upper bound of the range of wiki pages (not inclusive)
3671            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3672            * @return the ordered range of matching wiki pages
3673            * @throws SystemException if a system exception occurred
3674            */
3675            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S(
3676                    long groupId, long nodeId, boolean head, int status, int start,
3677                    int end,
3678                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3679                    throws com.liferay.portal.kernel.exception.SystemException {
3680                    return getPersistence()
3681                                       .findByG_N_H_S(groupId, nodeId, head, status, start, end,
3682                            orderByComparator);
3683            }
3684    
3685            /**
3686            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3687            *
3688            * @param groupId the group ID
3689            * @param nodeId the node ID
3690            * @param head the head
3691            * @param status the status
3692            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3693            * @return the first matching wiki page
3694            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3695            * @throws SystemException if a system exception occurred
3696            */
3697            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_First(
3698                    long groupId, long nodeId, boolean head, int status,
3699                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3700                    throws com.liferay.portal.kernel.exception.SystemException,
3701                            com.liferay.portlet.wiki.NoSuchPageException {
3702                    return getPersistence()
3703                                       .findByG_N_H_S_First(groupId, nodeId, head, status,
3704                            orderByComparator);
3705            }
3706    
3707            /**
3708            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3709            *
3710            * @param groupId the group ID
3711            * @param nodeId the node ID
3712            * @param head the head
3713            * @param status the status
3714            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3715            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3716            * @throws SystemException if a system exception occurred
3717            */
3718            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_First(
3719                    long groupId, long nodeId, boolean head, int status,
3720                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3721                    throws com.liferay.portal.kernel.exception.SystemException {
3722                    return getPersistence()
3723                                       .fetchByG_N_H_S_First(groupId, nodeId, head, status,
3724                            orderByComparator);
3725            }
3726    
3727            /**
3728            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3729            *
3730            * @param groupId the group ID
3731            * @param nodeId the node ID
3732            * @param head the head
3733            * @param status the status
3734            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3735            * @return the last matching wiki page
3736            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3737            * @throws SystemException if a system exception occurred
3738            */
3739            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_Last(
3740                    long groupId, long nodeId, boolean head, int status,
3741                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3742                    throws com.liferay.portal.kernel.exception.SystemException,
3743                            com.liferay.portlet.wiki.NoSuchPageException {
3744                    return getPersistence()
3745                                       .findByG_N_H_S_Last(groupId, nodeId, head, status,
3746                            orderByComparator);
3747            }
3748    
3749            /**
3750            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3751            *
3752            * @param groupId the group ID
3753            * @param nodeId the node ID
3754            * @param head the head
3755            * @param status the status
3756            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3757            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3758            * @throws SystemException if a system exception occurred
3759            */
3760            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_Last(
3761                    long groupId, long nodeId, boolean head, int status,
3762                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3763                    throws com.liferay.portal.kernel.exception.SystemException {
3764                    return getPersistence()
3765                                       .fetchByG_N_H_S_Last(groupId, nodeId, head, status,
3766                            orderByComparator);
3767            }
3768    
3769            /**
3770            * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3771            *
3772            * @param pageId the primary key of the current wiki page
3773            * @param groupId the group ID
3774            * @param nodeId the node ID
3775            * @param head the head
3776            * @param status the status
3777            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3778            * @return the previous, current, and next wiki page
3779            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3780            * @throws SystemException if a system exception occurred
3781            */
3782            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_S_PrevAndNext(
3783                    long pageId, long groupId, long nodeId, boolean head, int status,
3784                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3785                    throws com.liferay.portal.kernel.exception.SystemException,
3786                            com.liferay.portlet.wiki.NoSuchPageException {
3787                    return getPersistence()
3788                                       .findByG_N_H_S_PrevAndNext(pageId, groupId, nodeId, head,
3789                            status, orderByComparator);
3790            }
3791    
3792            /**
3793            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3794            *
3795            * @param groupId the group ID
3796            * @param nodeId the node ID
3797            * @param head the head
3798            * @param status the status
3799            * @return the matching wiki pages that the user has permission to view
3800            * @throws SystemException if a system exception occurred
3801            */
3802            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S(
3803                    long groupId, long nodeId, boolean head, int status)
3804                    throws com.liferay.portal.kernel.exception.SystemException {
3805                    return getPersistence()
3806                                       .filterFindByG_N_H_S(groupId, nodeId, head, status);
3807            }
3808    
3809            /**
3810            * Returns a range of all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3811            *
3812            * <p>
3813            * 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.
3814            * </p>
3815            *
3816            * @param groupId the group ID
3817            * @param nodeId the node ID
3818            * @param head the head
3819            * @param status the status
3820            * @param start the lower bound of the range of wiki pages
3821            * @param end the upper bound of the range of wiki pages (not inclusive)
3822            * @return the range of matching wiki pages that the user has permission to view
3823            * @throws SystemException if a system exception occurred
3824            */
3825            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S(
3826                    long groupId, long nodeId, boolean head, int status, int start, int end)
3827                    throws com.liferay.portal.kernel.exception.SystemException {
3828                    return getPersistence()
3829                                       .filterFindByG_N_H_S(groupId, nodeId, head, status, start,
3830                            end);
3831            }
3832    
3833            /**
3834            * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3835            *
3836            * <p>
3837            * 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.
3838            * </p>
3839            *
3840            * @param groupId the group ID
3841            * @param nodeId the node ID
3842            * @param head the head
3843            * @param status the status
3844            * @param start the lower bound of the range of wiki pages
3845            * @param end the upper bound of the range of wiki pages (not inclusive)
3846            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3847            * @return the ordered range of matching wiki pages that the user has permission to view
3848            * @throws SystemException if a system exception occurred
3849            */
3850            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S(
3851                    long groupId, long nodeId, boolean head, int status, int start,
3852                    int end,
3853                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3854                    throws com.liferay.portal.kernel.exception.SystemException {
3855                    return getPersistence()
3856                                       .filterFindByG_N_H_S(groupId, nodeId, head, status, start,
3857                            end, orderByComparator);
3858            }
3859    
3860            /**
3861            * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
3862            *
3863            * @param pageId the primary key of the current wiki page
3864            * @param groupId the group ID
3865            * @param nodeId the node ID
3866            * @param head the head
3867            * @param status the status
3868            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3869            * @return the previous, current, and next wiki page
3870            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3871            * @throws SystemException if a system exception occurred
3872            */
3873            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_S_PrevAndNext(
3874                    long pageId, long groupId, long nodeId, boolean head, int status,
3875                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3876                    throws com.liferay.portal.kernel.exception.SystemException,
3877                            com.liferay.portlet.wiki.NoSuchPageException {
3878                    return getPersistence()
3879                                       .filterFindByG_N_H_S_PrevAndNext(pageId, groupId, nodeId,
3880                            head, status, orderByComparator);
3881            }
3882    
3883            /**
3884            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
3885            *
3886            * @param nodeId the node ID
3887            * @param head the head
3888            * @param parentTitle the parent title
3889            * @param status the status
3890            * @return the matching wiki pages
3891            * @throws SystemException if a system exception occurred
3892            */
3893            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
3894                    long nodeId, boolean head, java.lang.String parentTitle, int status)
3895                    throws com.liferay.portal.kernel.exception.SystemException {
3896                    return getPersistence().findByN_H_P_S(nodeId, head, parentTitle, status);
3897            }
3898    
3899            /**
3900            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
3901            *
3902            * <p>
3903            * 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.
3904            * </p>
3905            *
3906            * @param nodeId the node ID
3907            * @param head the head
3908            * @param parentTitle the parent title
3909            * @param status the status
3910            * @param start the lower bound of the range of wiki pages
3911            * @param end the upper bound of the range of wiki pages (not inclusive)
3912            * @return the range of matching wiki pages
3913            * @throws SystemException if a system exception occurred
3914            */
3915            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
3916                    long nodeId, boolean head, java.lang.String parentTitle, int status,
3917                    int start, int end)
3918                    throws com.liferay.portal.kernel.exception.SystemException {
3919                    return getPersistence()
3920                                       .findByN_H_P_S(nodeId, head, parentTitle, status, start, end);
3921            }
3922    
3923            /**
3924            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
3925            *
3926            * <p>
3927            * 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.
3928            * </p>
3929            *
3930            * @param nodeId the node ID
3931            * @param head the head
3932            * @param parentTitle the parent title
3933            * @param status the status
3934            * @param start the lower bound of the range of wiki pages
3935            * @param end the upper bound of the range of wiki pages (not inclusive)
3936            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3937            * @return the ordered range of matching wiki pages
3938            * @throws SystemException if a system exception occurred
3939            */
3940            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
3941                    long nodeId, boolean head, java.lang.String parentTitle, int status,
3942                    int start, int end,
3943                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3944                    throws com.liferay.portal.kernel.exception.SystemException {
3945                    return getPersistence()
3946                                       .findByN_H_P_S(nodeId, head, parentTitle, status, start,
3947                            end, orderByComparator);
3948            }
3949    
3950            /**
3951            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
3952            *
3953            * @param nodeId the node ID
3954            * @param head the head
3955            * @param parentTitle the parent title
3956            * @param status the status
3957            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3958            * @return the first matching wiki page
3959            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3960            * @throws SystemException if a system exception occurred
3961            */
3962            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_First(
3963                    long nodeId, boolean head, java.lang.String parentTitle, int status,
3964                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3965                    throws com.liferay.portal.kernel.exception.SystemException,
3966                            com.liferay.portlet.wiki.NoSuchPageException {
3967                    return getPersistence()
3968                                       .findByN_H_P_S_First(nodeId, head, parentTitle, status,
3969                            orderByComparator);
3970            }
3971    
3972            /**
3973            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
3974            *
3975            * @param nodeId the node ID
3976            * @param head the head
3977            * @param parentTitle the parent title
3978            * @param status the status
3979            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3980            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3981            * @throws SystemException if a system exception occurred
3982            */
3983            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_First(
3984                    long nodeId, boolean head, java.lang.String parentTitle, int status,
3985                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3986                    throws com.liferay.portal.kernel.exception.SystemException {
3987                    return getPersistence()
3988                                       .fetchByN_H_P_S_First(nodeId, head, parentTitle, status,
3989                            orderByComparator);
3990            }
3991    
3992            /**
3993            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
3994            *
3995            * @param nodeId the node ID
3996            * @param head the head
3997            * @param parentTitle the parent title
3998            * @param status the status
3999            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4000            * @return the last matching wiki page
4001            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4002            * @throws SystemException if a system exception occurred
4003            */
4004            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_Last(
4005                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4006                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4007                    throws com.liferay.portal.kernel.exception.SystemException,
4008                            com.liferay.portlet.wiki.NoSuchPageException {
4009                    return getPersistence()
4010                                       .findByN_H_P_S_Last(nodeId, head, parentTitle, status,
4011                            orderByComparator);
4012            }
4013    
4014            /**
4015            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4016            *
4017            * @param nodeId the node ID
4018            * @param head the head
4019            * @param parentTitle the parent title
4020            * @param status the status
4021            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4022            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4023            * @throws SystemException if a system exception occurred
4024            */
4025            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_Last(
4026                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4027                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4028                    throws com.liferay.portal.kernel.exception.SystemException {
4029                    return getPersistence()
4030                                       .fetchByN_H_P_S_Last(nodeId, head, parentTitle, status,
4031                            orderByComparator);
4032            }
4033    
4034            /**
4035            * Returns 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;.
4036            *
4037            * @param pageId the primary key of the current wiki page
4038            * @param nodeId the node ID
4039            * @param head the head
4040            * @param parentTitle the parent title
4041            * @param status the status
4042            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4043            * @return the previous, current, and next wiki page
4044            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4045            * @throws SystemException if a system exception occurred
4046            */
4047            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_S_PrevAndNext(
4048                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
4049                    int status,
4050                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4051                    throws com.liferay.portal.kernel.exception.SystemException,
4052                            com.liferay.portlet.wiki.NoSuchPageException {
4053                    return getPersistence()
4054                                       .findByN_H_P_S_PrevAndNext(pageId, nodeId, head,
4055                            parentTitle, status, orderByComparator);
4056            }
4057    
4058            /**
4059            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4060            *
4061            * @param groupId the group ID
4062            * @param nodeId the node ID
4063            * @param head the head
4064            * @param parentTitle the parent title
4065            * @param status the status
4066            * @return the matching wiki pages
4067            * @throws SystemException if a system exception occurred
4068            */
4069            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S(
4070                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
4071                    int status) throws com.liferay.portal.kernel.exception.SystemException {
4072                    return getPersistence()
4073                                       .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status);
4074            }
4075    
4076            /**
4077            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4078            *
4079            * <p>
4080            * 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.
4081            * </p>
4082            *
4083            * @param groupId the group ID
4084            * @param nodeId the node ID
4085            * @param head the head
4086            * @param parentTitle the parent title
4087            * @param status the status
4088            * @param start the lower bound of the range of wiki pages
4089            * @param end the upper bound of the range of wiki pages (not inclusive)
4090            * @return the range of matching wiki pages
4091            * @throws SystemException if a system exception occurred
4092            */
4093            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S(
4094                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
4095                    int status, int start, int end)
4096                    throws com.liferay.portal.kernel.exception.SystemException {
4097                    return getPersistence()
4098                                       .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status,
4099                            start, end);
4100            }
4101    
4102            /**
4103            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4104            *
4105            * <p>
4106            * 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.
4107            * </p>
4108            *
4109            * @param groupId the group ID
4110            * @param nodeId the node ID
4111            * @param head the head
4112            * @param parentTitle the parent title
4113            * @param status the status
4114            * @param start the lower bound of the range of wiki pages
4115            * @param end the upper bound of the range of wiki pages (not inclusive)
4116            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4117            * @return the ordered range of matching wiki pages
4118            * @throws SystemException if a system exception occurred
4119            */
4120            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S(
4121                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
4122                    int status, int start, int end,
4123                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4124                    throws com.liferay.portal.kernel.exception.SystemException {
4125                    return getPersistence()
4126                                       .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status,
4127                            start, end, orderByComparator);
4128            }
4129    
4130            /**
4131            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4132            *
4133            * @param groupId the group ID
4134            * @param nodeId the node ID
4135            * @param head the head
4136            * @param parentTitle the parent title
4137            * @param status the status
4138            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4139            * @return the first matching wiki page
4140            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4141            * @throws SystemException if a system exception occurred
4142            */
4143            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_First(
4144                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
4145                    int status,
4146                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4147                    throws com.liferay.portal.kernel.exception.SystemException,
4148                            com.liferay.portlet.wiki.NoSuchPageException {
4149                    return getPersistence()
4150                                       .findByG_N_H_P_S_First(groupId, nodeId, head, parentTitle,
4151                            status, orderByComparator);
4152            }
4153    
4154            /**
4155            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4156            *
4157            * @param groupId the group ID
4158            * @param nodeId the node ID
4159            * @param head the head
4160            * @param parentTitle the parent title
4161            * @param status the status
4162            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4163            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
4164            * @throws SystemException if a system exception occurred
4165            */
4166            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_First(
4167                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
4168                    int status,
4169                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4170                    throws com.liferay.portal.kernel.exception.SystemException {
4171                    return getPersistence()
4172                                       .fetchByG_N_H_P_S_First(groupId, nodeId, head, parentTitle,
4173                            status, orderByComparator);
4174            }
4175    
4176            /**
4177            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4178            *
4179            * @param groupId the group ID
4180            * @param nodeId the node ID
4181            * @param head the head
4182            * @param parentTitle the parent title
4183            * @param status the status
4184            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4185            * @return the last matching wiki page
4186            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4187            * @throws SystemException if a system exception occurred
4188            */
4189            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_Last(
4190                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
4191                    int status,
4192                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4193                    throws com.liferay.portal.kernel.exception.SystemException,
4194                            com.liferay.portlet.wiki.NoSuchPageException {
4195                    return getPersistence()
4196                                       .findByG_N_H_P_S_Last(groupId, nodeId, head, parentTitle,
4197                            status, orderByComparator);
4198            }
4199    
4200            /**
4201            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4202            *
4203            * @param groupId the group ID
4204            * @param nodeId the node ID
4205            * @param head the head
4206            * @param parentTitle the parent title
4207            * @param status the status
4208            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4209            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4210            * @throws SystemException if a system exception occurred
4211            */
4212            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_Last(
4213                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
4214                    int status,
4215                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4216                    throws com.liferay.portal.kernel.exception.SystemException {
4217                    return getPersistence()
4218                                       .fetchByG_N_H_P_S_Last(groupId, nodeId, head, parentTitle,
4219                            status, orderByComparator);
4220            }
4221    
4222            /**
4223            * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4224            *
4225            * @param pageId the primary key of the current wiki page
4226            * @param groupId the group ID
4227            * @param nodeId the node ID
4228            * @param head the head
4229            * @param parentTitle the parent title
4230            * @param status the status
4231            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4232            * @return the previous, current, and next wiki page
4233            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4234            * @throws SystemException if a system exception occurred
4235            */
4236            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_P_S_PrevAndNext(
4237                    long pageId, long groupId, long nodeId, boolean head,
4238                    java.lang.String parentTitle, int status,
4239                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4240                    throws com.liferay.portal.kernel.exception.SystemException,
4241                            com.liferay.portlet.wiki.NoSuchPageException {
4242                    return getPersistence()
4243                                       .findByG_N_H_P_S_PrevAndNext(pageId, groupId, nodeId, head,
4244                            parentTitle, status, orderByComparator);
4245            }
4246    
4247            /**
4248            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4249            *
4250            * @param groupId the group ID
4251            * @param nodeId the node ID
4252            * @param head the head
4253            * @param parentTitle the parent title
4254            * @param status the status
4255            * @return the matching wiki pages that the user has permission to view
4256            * @throws SystemException if a system exception occurred
4257            */
4258            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S(
4259                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
4260                    int status) throws com.liferay.portal.kernel.exception.SystemException {
4261                    return getPersistence()
4262                                       .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle,
4263                            status);
4264            }
4265    
4266            /**
4267            * Returns a range of all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4268            *
4269            * <p>
4270            * 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.
4271            * </p>
4272            *
4273            * @param groupId the group ID
4274            * @param nodeId the node ID
4275            * @param head the head
4276            * @param parentTitle the parent title
4277            * @param status the status
4278            * @param start the lower bound of the range of wiki pages
4279            * @param end the upper bound of the range of wiki pages (not inclusive)
4280            * @return the range of matching wiki pages that the user has permission to view
4281            * @throws SystemException if a system exception occurred
4282            */
4283            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S(
4284                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
4285                    int status, int start, int end)
4286                    throws com.liferay.portal.kernel.exception.SystemException {
4287                    return getPersistence()
4288                                       .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle,
4289                            status, start, end);
4290            }
4291    
4292            /**
4293            * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4294            *
4295            * <p>
4296            * 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.
4297            * </p>
4298            *
4299            * @param groupId the group ID
4300            * @param nodeId the node ID
4301            * @param head the head
4302            * @param parentTitle the parent title
4303            * @param status the status
4304            * @param start the lower bound of the range of wiki pages
4305            * @param end the upper bound of the range of wiki pages (not inclusive)
4306            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4307            * @return the ordered range of matching wiki pages that the user has permission to view
4308            * @throws SystemException if a system exception occurred
4309            */
4310            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S(
4311                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
4312                    int status, int start, int end,
4313                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4314                    throws com.liferay.portal.kernel.exception.SystemException {
4315                    return getPersistence()
4316                                       .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle,
4317                            status, start, end, orderByComparator);
4318            }
4319    
4320            /**
4321            * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4322            *
4323            * @param pageId the primary key of the current wiki page
4324            * @param groupId the group ID
4325            * @param nodeId the node ID
4326            * @param head the head
4327            * @param parentTitle the parent title
4328            * @param status the status
4329            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4330            * @return the previous, current, and next wiki page
4331            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4332            * @throws SystemException if a system exception occurred
4333            */
4334            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_P_S_PrevAndNext(
4335                    long pageId, long groupId, long nodeId, boolean head,
4336                    java.lang.String parentTitle, int status,
4337                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4338                    throws com.liferay.portal.kernel.exception.SystemException,
4339                            com.liferay.portlet.wiki.NoSuchPageException {
4340                    return getPersistence()
4341                                       .filterFindByG_N_H_P_S_PrevAndNext(pageId, groupId, nodeId,
4342                            head, parentTitle, status, orderByComparator);
4343            }
4344    
4345            /**
4346            * Returns all the wiki pages.
4347            *
4348            * @return the wiki pages
4349            * @throws SystemException if a system exception occurred
4350            */
4351            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
4352                    throws com.liferay.portal.kernel.exception.SystemException {
4353                    return getPersistence().findAll();
4354            }
4355    
4356            /**
4357            * Returns a range of all the wiki pages.
4358            *
4359            * <p>
4360            * 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.
4361            * </p>
4362            *
4363            * @param start the lower bound of the range of wiki pages
4364            * @param end the upper bound of the range of wiki pages (not inclusive)
4365            * @return the range of wiki pages
4366            * @throws SystemException if a system exception occurred
4367            */
4368            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
4369                    int start, int end)
4370                    throws com.liferay.portal.kernel.exception.SystemException {
4371                    return getPersistence().findAll(start, end);
4372            }
4373    
4374            /**
4375            * Returns an ordered range of all the wiki pages.
4376            *
4377            * <p>
4378            * 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.
4379            * </p>
4380            *
4381            * @param start the lower bound of the range of wiki pages
4382            * @param end the upper bound of the range of wiki pages (not inclusive)
4383            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4384            * @return the ordered range of wiki pages
4385            * @throws SystemException if a system exception occurred
4386            */
4387            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
4388                    int start, int end,
4389                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4390                    throws com.liferay.portal.kernel.exception.SystemException {
4391                    return getPersistence().findAll(start, end, orderByComparator);
4392            }
4393    
4394            /**
4395            * Removes all the wiki pages where uuid = &#63; from the database.
4396            *
4397            * @param uuid the uuid
4398            * @throws SystemException if a system exception occurred
4399            */
4400            public static void removeByUuid(java.lang.String uuid)
4401                    throws com.liferay.portal.kernel.exception.SystemException {
4402                    getPersistence().removeByUuid(uuid);
4403            }
4404    
4405            /**
4406            * Removes the wiki page where uuid = &#63; and groupId = &#63; from the database.
4407            *
4408            * @param uuid the uuid
4409            * @param groupId the group ID
4410            * @return the wiki page that was removed
4411            * @throws SystemException if a system exception occurred
4412            */
4413            public static com.liferay.portlet.wiki.model.WikiPage removeByUUID_G(
4414                    java.lang.String uuid, long groupId)
4415                    throws com.liferay.portal.kernel.exception.SystemException,
4416                            com.liferay.portlet.wiki.NoSuchPageException {
4417                    return getPersistence().removeByUUID_G(uuid, groupId);
4418            }
4419    
4420            /**
4421            * Removes all the wiki pages where nodeId = &#63; from the database.
4422            *
4423            * @param nodeId the node ID
4424            * @throws SystemException if a system exception occurred
4425            */
4426            public static void removeByNodeId(long nodeId)
4427                    throws com.liferay.portal.kernel.exception.SystemException {
4428                    getPersistence().removeByNodeId(nodeId);
4429            }
4430    
4431            /**
4432            * Removes all the wiki pages where format = &#63; from the database.
4433            *
4434            * @param format the format
4435            * @throws SystemException if a system exception occurred
4436            */
4437            public static void removeByFormat(java.lang.String format)
4438                    throws com.liferay.portal.kernel.exception.SystemException {
4439                    getPersistence().removeByFormat(format);
4440            }
4441    
4442            /**
4443            * Removes all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; from the database.
4444            *
4445            * @param resourcePrimKey the resource prim key
4446            * @param nodeId the node ID
4447            * @throws SystemException if a system exception occurred
4448            */
4449            public static void removeByR_N(long resourcePrimKey, long nodeId)
4450                    throws com.liferay.portal.kernel.exception.SystemException {
4451                    getPersistence().removeByR_N(resourcePrimKey, nodeId);
4452            }
4453    
4454            /**
4455            * Removes all the wiki pages where nodeId = &#63; and title = &#63; from the database.
4456            *
4457            * @param nodeId the node ID
4458            * @param title the title
4459            * @throws SystemException if a system exception occurred
4460            */
4461            public static void removeByN_T(long nodeId, java.lang.String title)
4462                    throws com.liferay.portal.kernel.exception.SystemException {
4463                    getPersistence().removeByN_T(nodeId, title);
4464            }
4465    
4466            /**
4467            * Removes all the wiki pages where nodeId = &#63; and head = &#63; from the database.
4468            *
4469            * @param nodeId the node ID
4470            * @param head the head
4471            * @throws SystemException if a system exception occurred
4472            */
4473            public static void removeByN_H(long nodeId, boolean head)
4474                    throws com.liferay.portal.kernel.exception.SystemException {
4475                    getPersistence().removeByN_H(nodeId, head);
4476            }
4477    
4478            /**
4479            * Removes all the wiki pages where nodeId = &#63; and parentTitle = &#63; from the database.
4480            *
4481            * @param nodeId the node ID
4482            * @param parentTitle the parent title
4483            * @throws SystemException if a system exception occurred
4484            */
4485            public static void removeByN_P(long nodeId, java.lang.String parentTitle)
4486                    throws com.liferay.portal.kernel.exception.SystemException {
4487                    getPersistence().removeByN_P(nodeId, parentTitle);
4488            }
4489    
4490            /**
4491            * Removes all the wiki pages where nodeId = &#63; and redirectTitle = &#63; from the database.
4492            *
4493            * @param nodeId the node ID
4494            * @param redirectTitle the redirect title
4495            * @throws SystemException if a system exception occurred
4496            */
4497            public static void removeByN_R(long nodeId, java.lang.String redirectTitle)
4498                    throws com.liferay.portal.kernel.exception.SystemException {
4499                    getPersistence().removeByN_R(nodeId, redirectTitle);
4500            }
4501    
4502            /**
4503            * Removes all the wiki pages where nodeId = &#63; and status = &#63; from the database.
4504            *
4505            * @param nodeId the node ID
4506            * @param status the status
4507            * @throws SystemException if a system exception occurred
4508            */
4509            public static void removeByN_S(long nodeId, int status)
4510                    throws com.liferay.portal.kernel.exception.SystemException {
4511                    getPersistence().removeByN_S(nodeId, status);
4512            }
4513    
4514            /**
4515            * Removes the wiki page where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63; from the database.
4516            *
4517            * @param resourcePrimKey the resource prim key
4518            * @param nodeId the node ID
4519            * @param version the version
4520            * @return the wiki page that was removed
4521            * @throws SystemException if a system exception occurred
4522            */
4523            public static com.liferay.portlet.wiki.model.WikiPage removeByR_N_V(
4524                    long resourcePrimKey, long nodeId, double version)
4525                    throws com.liferay.portal.kernel.exception.SystemException,
4526                            com.liferay.portlet.wiki.NoSuchPageException {
4527                    return getPersistence().removeByR_N_V(resourcePrimKey, nodeId, version);
4528            }
4529    
4530            /**
4531            * Removes all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63; from the database.
4532            *
4533            * @param resourcePrimKey the resource prim key
4534            * @param nodeId the node ID
4535            * @param status the status
4536            * @throws SystemException if a system exception occurred
4537            */
4538            public static void removeByR_N_S(long resourcePrimKey, long nodeId,
4539                    int status) throws com.liferay.portal.kernel.exception.SystemException {
4540                    getPersistence().removeByR_N_S(resourcePrimKey, nodeId, status);
4541            }
4542    
4543            /**
4544            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; from the database.
4545            *
4546            * @param groupId the group ID
4547            * @param nodeId the node ID
4548            * @param head the head
4549            * @throws SystemException if a system exception occurred
4550            */
4551            public static void removeByG_N_H(long groupId, long nodeId, boolean head)
4552                    throws com.liferay.portal.kernel.exception.SystemException {
4553                    getPersistence().removeByG_N_H(groupId, nodeId, head);
4554            }
4555    
4556            /**
4557            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and status = &#63; from the database.
4558            *
4559            * @param groupId the group ID
4560            * @param nodeId the node ID
4561            * @param status the status
4562            * @throws SystemException if a system exception occurred
4563            */
4564            public static void removeByG_N_S(long groupId, long nodeId, int status)
4565                    throws com.liferay.portal.kernel.exception.SystemException {
4566                    getPersistence().removeByG_N_S(groupId, nodeId, status);
4567            }
4568    
4569            /**
4570            * Removes all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63; from the database.
4571            *
4572            * @param userId the user ID
4573            * @param nodeId the node ID
4574            * @param status the status
4575            * @throws SystemException if a system exception occurred
4576            */
4577            public static void removeByU_N_S(long userId, long nodeId, int status)
4578                    throws com.liferay.portal.kernel.exception.SystemException {
4579                    getPersistence().removeByU_N_S(userId, nodeId, status);
4580            }
4581    
4582            /**
4583            * Removes the wiki page where nodeId = &#63; and title = &#63; and version = &#63; from the database.
4584            *
4585            * @param nodeId the node ID
4586            * @param title the title
4587            * @param version the version
4588            * @return the wiki page that was removed
4589            * @throws SystemException if a system exception occurred
4590            */
4591            public static com.liferay.portlet.wiki.model.WikiPage removeByN_T_V(
4592                    long nodeId, java.lang.String title, double version)
4593                    throws com.liferay.portal.kernel.exception.SystemException,
4594                            com.liferay.portlet.wiki.NoSuchPageException {
4595                    return getPersistence().removeByN_T_V(nodeId, title, version);
4596            }
4597    
4598            /**
4599            * Removes all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63; from the database.
4600            *
4601            * @param nodeId the node ID
4602            * @param title the title
4603            * @param head the head
4604            * @throws SystemException if a system exception occurred
4605            */
4606            public static void removeByN_T_H(long nodeId, java.lang.String title,
4607                    boolean head)
4608                    throws com.liferay.portal.kernel.exception.SystemException {
4609                    getPersistence().removeByN_T_H(nodeId, title, head);
4610            }
4611    
4612            /**
4613            * Removes all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63; from the database.
4614            *
4615            * @param nodeId the node ID
4616            * @param title the title
4617            * @param status the status
4618            * @throws SystemException if a system exception occurred
4619            */
4620            public static void removeByN_T_S(long nodeId, java.lang.String title,
4621                    int status) throws com.liferay.portal.kernel.exception.SystemException {
4622                    getPersistence().removeByN_T_S(nodeId, title, status);
4623            }
4624    
4625            /**
4626            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; from the database.
4627            *
4628            * @param nodeId the node ID
4629            * @param head the head
4630            * @param parentTitle the parent title
4631            * @throws SystemException if a system exception occurred
4632            */
4633            public static void removeByN_H_P(long nodeId, boolean head,
4634                    java.lang.String parentTitle)
4635                    throws com.liferay.portal.kernel.exception.SystemException {
4636                    getPersistence().removeByN_H_P(nodeId, head, parentTitle);
4637            }
4638    
4639            /**
4640            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63; from the database.
4641            *
4642            * @param nodeId the node ID
4643            * @param head the head
4644            * @param status the status
4645            * @throws SystemException if a system exception occurred
4646            */
4647            public static void removeByN_H_S(long nodeId, boolean head, int status)
4648                    throws com.liferay.portal.kernel.exception.SystemException {
4649                    getPersistence().removeByN_H_S(nodeId, head, status);
4650            }
4651    
4652            /**
4653            * Removes all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63; from the database.
4654            *
4655            * @param groupId the group ID
4656            * @param userId the user ID
4657            * @param nodeId the node ID
4658            * @param status the status
4659            * @throws SystemException if a system exception occurred
4660            */
4661            public static void removeByG_U_N_S(long groupId, long userId, long nodeId,
4662                    int status) throws com.liferay.portal.kernel.exception.SystemException {
4663                    getPersistence().removeByG_U_N_S(groupId, userId, nodeId, status);
4664            }
4665    
4666            /**
4667            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63; from the database.
4668            *
4669            * @param groupId the group ID
4670            * @param nodeId the node ID
4671            * @param title the title
4672            * @param head the head
4673            * @throws SystemException if a system exception occurred
4674            */
4675            public static void removeByG_N_T_H(long groupId, long nodeId,
4676                    java.lang.String title, boolean head)
4677                    throws com.liferay.portal.kernel.exception.SystemException {
4678                    getPersistence().removeByG_N_T_H(groupId, nodeId, title, head);
4679            }
4680    
4681            /**
4682            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63; from the database.
4683            *
4684            * @param groupId the group ID
4685            * @param nodeId the node ID
4686            * @param head the head
4687            * @param status the status
4688            * @throws SystemException if a system exception occurred
4689            */
4690            public static void removeByG_N_H_S(long groupId, long nodeId, boolean head,
4691                    int status) throws com.liferay.portal.kernel.exception.SystemException {
4692                    getPersistence().removeByG_N_H_S(groupId, nodeId, head, status);
4693            }
4694    
4695            /**
4696            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63; from the database.
4697            *
4698            * @param nodeId the node ID
4699            * @param head the head
4700            * @param parentTitle the parent title
4701            * @param status the status
4702            * @throws SystemException if a system exception occurred
4703            */
4704            public static void removeByN_H_P_S(long nodeId, boolean head,
4705                    java.lang.String parentTitle, int status)
4706                    throws com.liferay.portal.kernel.exception.SystemException {
4707                    getPersistence().removeByN_H_P_S(nodeId, head, parentTitle, status);
4708            }
4709    
4710            /**
4711            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63; from the database.
4712            *
4713            * @param groupId the group ID
4714            * @param nodeId the node ID
4715            * @param head the head
4716            * @param parentTitle the parent title
4717            * @param status the status
4718            * @throws SystemException if a system exception occurred
4719            */
4720            public static void removeByG_N_H_P_S(long groupId, long nodeId,
4721                    boolean head, java.lang.String parentTitle, int status)
4722                    throws com.liferay.portal.kernel.exception.SystemException {
4723                    getPersistence()
4724                            .removeByG_N_H_P_S(groupId, nodeId, head, parentTitle, status);
4725            }
4726    
4727            /**
4728            * Removes all the wiki pages from the database.
4729            *
4730            * @throws SystemException if a system exception occurred
4731            */
4732            public static void removeAll()
4733                    throws com.liferay.portal.kernel.exception.SystemException {
4734                    getPersistence().removeAll();
4735            }
4736    
4737            /**
4738            * Returns the number of wiki pages where uuid = &#63;.
4739            *
4740            * @param uuid the uuid
4741            * @return the number of matching wiki pages
4742            * @throws SystemException if a system exception occurred
4743            */
4744            public static int countByUuid(java.lang.String uuid)
4745                    throws com.liferay.portal.kernel.exception.SystemException {
4746                    return getPersistence().countByUuid(uuid);
4747            }
4748    
4749            /**
4750            * Returns the number of wiki pages where uuid = &#63; and groupId = &#63;.
4751            *
4752            * @param uuid the uuid
4753            * @param groupId the group ID
4754            * @return the number of matching wiki pages
4755            * @throws SystemException if a system exception occurred
4756            */
4757            public static int countByUUID_G(java.lang.String uuid, long groupId)
4758                    throws com.liferay.portal.kernel.exception.SystemException {
4759                    return getPersistence().countByUUID_G(uuid, groupId);
4760            }
4761    
4762            /**
4763            * Returns the number of wiki pages where nodeId = &#63;.
4764            *
4765            * @param nodeId the node ID
4766            * @return the number of matching wiki pages
4767            * @throws SystemException if a system exception occurred
4768            */
4769            public static int countByNodeId(long nodeId)
4770                    throws com.liferay.portal.kernel.exception.SystemException {
4771                    return getPersistence().countByNodeId(nodeId);
4772            }
4773    
4774            /**
4775            * Returns the number of wiki pages where format = &#63;.
4776            *
4777            * @param format the format
4778            * @return the number of matching wiki pages
4779            * @throws SystemException if a system exception occurred
4780            */
4781            public static int countByFormat(java.lang.String format)
4782                    throws com.liferay.portal.kernel.exception.SystemException {
4783                    return getPersistence().countByFormat(format);
4784            }
4785    
4786            /**
4787            * Returns the number of wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
4788            *
4789            * @param resourcePrimKey the resource prim key
4790            * @param nodeId the node ID
4791            * @return the number of matching wiki pages
4792            * @throws SystemException if a system exception occurred
4793            */
4794            public static int countByR_N(long resourcePrimKey, long nodeId)
4795                    throws com.liferay.portal.kernel.exception.SystemException {
4796                    return getPersistence().countByR_N(resourcePrimKey, nodeId);
4797            }
4798    
4799            /**
4800            * Returns the number of wiki pages where nodeId = &#63; and title = &#63;.
4801            *
4802            * @param nodeId the node ID
4803            * @param title the title
4804            * @return the number of matching wiki pages
4805            * @throws SystemException if a system exception occurred
4806            */
4807            public static int countByN_T(long nodeId, java.lang.String title)
4808                    throws com.liferay.portal.kernel.exception.SystemException {
4809                    return getPersistence().countByN_T(nodeId, title);
4810            }
4811    
4812            /**
4813            * Returns the number of wiki pages where nodeId = &#63; and head = &#63;.
4814            *
4815            * @param nodeId the node ID
4816            * @param head the head
4817            * @return the number of matching wiki pages
4818            * @throws SystemException if a system exception occurred
4819            */
4820            public static int countByN_H(long nodeId, boolean head)
4821                    throws com.liferay.portal.kernel.exception.SystemException {
4822                    return getPersistence().countByN_H(nodeId, head);
4823            }
4824    
4825            /**
4826            * Returns the number of wiki pages where nodeId = &#63; and parentTitle = &#63;.
4827            *
4828            * @param nodeId the node ID
4829            * @param parentTitle the parent title
4830            * @return the number of matching wiki pages
4831            * @throws SystemException if a system exception occurred
4832            */
4833            public static int countByN_P(long nodeId, java.lang.String parentTitle)
4834                    throws com.liferay.portal.kernel.exception.SystemException {
4835                    return getPersistence().countByN_P(nodeId, parentTitle);
4836            }
4837    
4838            /**
4839            * Returns the number of wiki pages where nodeId = &#63; and redirectTitle = &#63;.
4840            *
4841            * @param nodeId the node ID
4842            * @param redirectTitle the redirect title
4843            * @return the number of matching wiki pages
4844            * @throws SystemException if a system exception occurred
4845            */
4846            public static int countByN_R(long nodeId, java.lang.String redirectTitle)
4847                    throws com.liferay.portal.kernel.exception.SystemException {
4848                    return getPersistence().countByN_R(nodeId, redirectTitle);
4849            }
4850    
4851            /**
4852            * Returns the number of wiki pages where nodeId = &#63; and status = &#63;.
4853            *
4854            * @param nodeId the node ID
4855            * @param status the status
4856            * @return the number of matching wiki pages
4857            * @throws SystemException if a system exception occurred
4858            */
4859            public static int countByN_S(long nodeId, int status)
4860                    throws com.liferay.portal.kernel.exception.SystemException {
4861                    return getPersistence().countByN_S(nodeId, status);
4862            }
4863    
4864            /**
4865            * Returns the number of wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63;.
4866            *
4867            * @param resourcePrimKey the resource prim key
4868            * @param nodeId the node ID
4869            * @param version the version
4870            * @return the number of matching wiki pages
4871            * @throws SystemException if a system exception occurred
4872            */
4873            public static int countByR_N_V(long resourcePrimKey, long nodeId,
4874                    double version)
4875                    throws com.liferay.portal.kernel.exception.SystemException {
4876                    return getPersistence().countByR_N_V(resourcePrimKey, nodeId, version);
4877            }
4878    
4879            /**
4880            * Returns the number of wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
4881            *
4882            * @param resourcePrimKey the resource prim key
4883            * @param nodeId the node ID
4884            * @param status the status
4885            * @return the number of matching wiki pages
4886            * @throws SystemException if a system exception occurred
4887            */
4888            public static int countByR_N_S(long resourcePrimKey, long nodeId, int status)
4889                    throws com.liferay.portal.kernel.exception.SystemException {
4890                    return getPersistence().countByR_N_S(resourcePrimKey, nodeId, status);
4891            }
4892    
4893            /**
4894            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63;.
4895            *
4896            * @param groupId the group ID
4897            * @param nodeId the node ID
4898            * @param head the head
4899            * @return the number of matching wiki pages
4900            * @throws SystemException if a system exception occurred
4901            */
4902            public static int countByG_N_H(long groupId, long nodeId, boolean head)
4903                    throws com.liferay.portal.kernel.exception.SystemException {
4904                    return getPersistence().countByG_N_H(groupId, nodeId, head);
4905            }
4906    
4907            /**
4908            * Returns the number of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63;.
4909            *
4910            * @param groupId the group ID
4911            * @param nodeId the node ID
4912            * @param head the head
4913            * @return the number of matching wiki pages that the user has permission to view
4914            * @throws SystemException if a system exception occurred
4915            */
4916            public static int filterCountByG_N_H(long groupId, long nodeId, boolean head)
4917                    throws com.liferay.portal.kernel.exception.SystemException {
4918                    return getPersistence().filterCountByG_N_H(groupId, nodeId, head);
4919            }
4920    
4921            /**
4922            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and status = &#63;.
4923            *
4924            * @param groupId the group ID
4925            * @param nodeId the node ID
4926            * @param status the status
4927            * @return the number of matching wiki pages
4928            * @throws SystemException if a system exception occurred
4929            */
4930            public static int countByG_N_S(long groupId, long nodeId, int status)
4931                    throws com.liferay.portal.kernel.exception.SystemException {
4932                    return getPersistence().countByG_N_S(groupId, nodeId, status);
4933            }
4934    
4935            /**
4936            * Returns the number of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and status = &#63;.
4937            *
4938            * @param groupId the group ID
4939            * @param nodeId the node ID
4940            * @param status the status
4941            * @return the number of matching wiki pages that the user has permission to view
4942            * @throws SystemException if a system exception occurred
4943            */
4944            public static int filterCountByG_N_S(long groupId, long nodeId, int status)
4945                    throws com.liferay.portal.kernel.exception.SystemException {
4946                    return getPersistence().filterCountByG_N_S(groupId, nodeId, status);
4947            }
4948    
4949            /**
4950            * Returns the number of wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
4951            *
4952            * @param userId the user ID
4953            * @param nodeId the node ID
4954            * @param status the status
4955            * @return the number of matching wiki pages
4956            * @throws SystemException if a system exception occurred
4957            */
4958            public static int countByU_N_S(long userId, long nodeId, int status)
4959                    throws com.liferay.portal.kernel.exception.SystemException {
4960                    return getPersistence().countByU_N_S(userId, nodeId, status);
4961            }
4962    
4963            /**
4964            * Returns the number of wiki pages where nodeId = &#63; and title = &#63; and version = &#63;.
4965            *
4966            * @param nodeId the node ID
4967            * @param title the title
4968            * @param version the version
4969            * @return the number of matching wiki pages
4970            * @throws SystemException if a system exception occurred
4971            */
4972            public static int countByN_T_V(long nodeId, java.lang.String title,
4973                    double version)
4974                    throws com.liferay.portal.kernel.exception.SystemException {
4975                    return getPersistence().countByN_T_V(nodeId, title, version);
4976            }
4977    
4978            /**
4979            * Returns the number of wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
4980            *
4981            * @param nodeId the node ID
4982            * @param title the title
4983            * @param head the head
4984            * @return the number of matching wiki pages
4985            * @throws SystemException if a system exception occurred
4986            */
4987            public static int countByN_T_H(long nodeId, java.lang.String title,
4988                    boolean head)
4989                    throws com.liferay.portal.kernel.exception.SystemException {
4990                    return getPersistence().countByN_T_H(nodeId, title, head);
4991            }
4992    
4993            /**
4994            * Returns the number of wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
4995            *
4996            * @param nodeId the node ID
4997            * @param title the title
4998            * @param status the status
4999            * @return the number of matching wiki pages
5000            * @throws SystemException if a system exception occurred
5001            */
5002            public static int countByN_T_S(long nodeId, java.lang.String title,
5003                    int status) throws com.liferay.portal.kernel.exception.SystemException {
5004                    return getPersistence().countByN_T_S(nodeId, title, status);
5005            }
5006    
5007            /**
5008            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
5009            *
5010            * @param nodeId the node ID
5011            * @param head the head
5012            * @param parentTitle the parent title
5013            * @return the number of matching wiki pages
5014            * @throws SystemException if a system exception occurred
5015            */
5016            public static int countByN_H_P(long nodeId, boolean head,
5017                    java.lang.String parentTitle)
5018                    throws com.liferay.portal.kernel.exception.SystemException {
5019                    return getPersistence().countByN_H_P(nodeId, head, parentTitle);
5020            }
5021    
5022            /**
5023            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
5024            *
5025            * @param nodeId the node ID
5026            * @param head the head
5027            * @param status the status
5028            * @return the number of matching wiki pages
5029            * @throws SystemException if a system exception occurred
5030            */
5031            public static int countByN_H_S(long nodeId, boolean head, int status)
5032                    throws com.liferay.portal.kernel.exception.SystemException {
5033                    return getPersistence().countByN_H_S(nodeId, head, status);
5034            }
5035    
5036            /**
5037            * Returns the number of wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
5038            *
5039            * @param groupId the group ID
5040            * @param userId the user ID
5041            * @param nodeId the node ID
5042            * @param status the status
5043            * @return the number of matching wiki pages
5044            * @throws SystemException if a system exception occurred
5045            */
5046            public static int countByG_U_N_S(long groupId, long userId, long nodeId,
5047                    int status) throws com.liferay.portal.kernel.exception.SystemException {
5048                    return getPersistence().countByG_U_N_S(groupId, userId, nodeId, status);
5049            }
5050    
5051            /**
5052            * Returns the number of wiki pages that the user has permission to view where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
5053            *
5054            * @param groupId the group ID
5055            * @param userId the user ID
5056            * @param nodeId the node ID
5057            * @param status the status
5058            * @return the number of matching wiki pages that the user has permission to view
5059            * @throws SystemException if a system exception occurred
5060            */
5061            public static int filterCountByG_U_N_S(long groupId, long userId,
5062                    long nodeId, int status)
5063                    throws com.liferay.portal.kernel.exception.SystemException {
5064                    return getPersistence()
5065                                       .filterCountByG_U_N_S(groupId, userId, nodeId, status);
5066            }
5067    
5068            /**
5069            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
5070            *
5071            * @param groupId the group ID
5072            * @param nodeId the node ID
5073            * @param title the title
5074            * @param head the head
5075            * @return the number of matching wiki pages
5076            * @throws SystemException if a system exception occurred
5077            */
5078            public static int countByG_N_T_H(long groupId, long nodeId,
5079                    java.lang.String title, boolean head)
5080                    throws com.liferay.portal.kernel.exception.SystemException {
5081                    return getPersistence().countByG_N_T_H(groupId, nodeId, title, head);
5082            }
5083    
5084            /**
5085            * Returns the number of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
5086            *
5087            * @param groupId the group ID
5088            * @param nodeId the node ID
5089            * @param title the title
5090            * @param head the head
5091            * @return the number of matching wiki pages that the user has permission to view
5092            * @throws SystemException if a system exception occurred
5093            */
5094            public static int filterCountByG_N_T_H(long groupId, long nodeId,
5095                    java.lang.String title, boolean head)
5096                    throws com.liferay.portal.kernel.exception.SystemException {
5097                    return getPersistence()
5098                                       .filterCountByG_N_T_H(groupId, nodeId, title, head);
5099            }
5100    
5101            /**
5102            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5103            *
5104            * @param groupId the group ID
5105            * @param nodeId the node ID
5106            * @param head the head
5107            * @param status the status
5108            * @return the number of matching wiki pages
5109            * @throws SystemException if a system exception occurred
5110            */
5111            public static int countByG_N_H_S(long groupId, long nodeId, boolean head,
5112                    int status) throws com.liferay.portal.kernel.exception.SystemException {
5113                    return getPersistence().countByG_N_H_S(groupId, nodeId, head, status);
5114            }
5115    
5116            /**
5117            * Returns the number of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5118            *
5119            * @param groupId the group ID
5120            * @param nodeId the node ID
5121            * @param head the head
5122            * @param status the status
5123            * @return the number of matching wiki pages that the user has permission to view
5124            * @throws SystemException if a system exception occurred
5125            */
5126            public static int filterCountByG_N_H_S(long groupId, long nodeId,
5127                    boolean head, int status)
5128                    throws com.liferay.portal.kernel.exception.SystemException {
5129                    return getPersistence()
5130                                       .filterCountByG_N_H_S(groupId, nodeId, head, status);
5131            }
5132    
5133            /**
5134            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5135            *
5136            * @param nodeId the node ID
5137            * @param head the head
5138            * @param parentTitle the parent title
5139            * @param status the status
5140            * @return the number of matching wiki pages
5141            * @throws SystemException if a system exception occurred
5142            */
5143            public static int countByN_H_P_S(long nodeId, boolean head,
5144                    java.lang.String parentTitle, int status)
5145                    throws com.liferay.portal.kernel.exception.SystemException {
5146                    return getPersistence().countByN_H_P_S(nodeId, head, parentTitle, status);
5147            }
5148    
5149            /**
5150            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5151            *
5152            * @param groupId the group ID
5153            * @param nodeId the node ID
5154            * @param head the head
5155            * @param parentTitle the parent title
5156            * @param status the status
5157            * @return the number of matching wiki pages
5158            * @throws SystemException if a system exception occurred
5159            */
5160            public static int countByG_N_H_P_S(long groupId, long nodeId, boolean head,
5161                    java.lang.String parentTitle, int status)
5162                    throws com.liferay.portal.kernel.exception.SystemException {
5163                    return getPersistence()
5164                                       .countByG_N_H_P_S(groupId, nodeId, head, parentTitle, status);
5165            }
5166    
5167            /**
5168            * Returns the number of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5169            *
5170            * @param groupId the group ID
5171            * @param nodeId the node ID
5172            * @param head the head
5173            * @param parentTitle the parent title
5174            * @param status the status
5175            * @return the number of matching wiki pages that the user has permission to view
5176            * @throws SystemException if a system exception occurred
5177            */
5178            public static int filterCountByG_N_H_P_S(long groupId, long nodeId,
5179                    boolean head, java.lang.String parentTitle, int status)
5180                    throws com.liferay.portal.kernel.exception.SystemException {
5181                    return getPersistence()
5182                                       .filterCountByG_N_H_P_S(groupId, nodeId, head, parentTitle,
5183                            status);
5184            }
5185    
5186            /**
5187            * Returns the number of wiki pages.
5188            *
5189            * @return the number of wiki pages
5190            * @throws SystemException if a system exception occurred
5191            */
5192            public static int countAll()
5193                    throws com.liferay.portal.kernel.exception.SystemException {
5194                    return getPersistence().countAll();
5195            }
5196    
5197            public static WikiPagePersistence getPersistence() {
5198                    if (_persistence == null) {
5199                            _persistence = (WikiPagePersistence)PortalBeanLocatorUtil.locate(WikiPagePersistence.class.getName());
5200    
5201                            ReferenceRegistry.registerReference(WikiPageUtil.class,
5202                                    "_persistence");
5203                    }
5204    
5205                    return _persistence;
5206            }
5207    
5208            /**
5209             * @deprecated
5210             */
5211            public void setPersistence(WikiPagePersistence persistence) {
5212            }
5213    
5214            private static WikiPagePersistence _persistence;
5215    }