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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
021    import com.liferay.portal.kernel.exception.SystemException;
022    import com.liferay.portal.kernel.util.OrderByComparator;
023    import com.liferay.portal.kernel.util.ReferenceRegistry;
024    import com.liferay.portal.service.ServiceContext;
025    
026    import com.liferay.portlet.wiki.model.WikiPage;
027    
028    import java.util.List;
029    
030    /**
031     * 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.
032     *
033     * <p>
034     * Caching information and settings can be found in <code>portal.properties</code>
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see WikiPagePersistence
039     * @see WikiPagePersistenceImpl
040     * @generated
041     */
042    @ProviderType
043    public class WikiPageUtil {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
048             */
049    
050            /**
051             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
052             */
053            public static void clearCache() {
054                    getPersistence().clearCache();
055            }
056    
057            /**
058             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
059             */
060            public static void clearCache(WikiPage wikiPage) {
061                    getPersistence().clearCache(wikiPage);
062            }
063    
064            /**
065             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
066             */
067            public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
068                    throws SystemException {
069                    return getPersistence().countWithDynamicQuery(dynamicQuery);
070            }
071    
072            /**
073             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
074             */
075            public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery)
076                    throws SystemException {
077                    return getPersistence().findWithDynamicQuery(dynamicQuery);
078            }
079    
080            /**
081             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
082             */
083            public static List<WikiPage> findWithDynamicQuery(
084                    DynamicQuery dynamicQuery, int start, int end)
085                    throws SystemException {
086                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
087            }
088    
089            /**
090             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
091             */
092            public static List<WikiPage> findWithDynamicQuery(
093                    DynamicQuery dynamicQuery, int start, int end,
094                    OrderByComparator orderByComparator) throws SystemException {
095                    return getPersistence()
096                                       .findWithDynamicQuery(dynamicQuery, start, end,
097                            orderByComparator);
098            }
099    
100            /**
101             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel)
102             */
103            public static WikiPage update(WikiPage wikiPage) throws SystemException {
104                    return getPersistence().update(wikiPage);
105            }
106    
107            /**
108             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext)
109             */
110            public static WikiPage update(WikiPage wikiPage,
111                    ServiceContext serviceContext) throws SystemException {
112                    return getPersistence().update(wikiPage, serviceContext);
113            }
114    
115            /**
116            * Returns all the wiki pages where uuid = &#63;.
117            *
118            * @param uuid the uuid
119            * @return the matching wiki pages
120            * @throws SystemException if a system exception occurred
121            */
122            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
123                    java.lang.String uuid)
124                    throws com.liferay.portal.kernel.exception.SystemException {
125                    return getPersistence().findByUuid(uuid);
126            }
127    
128            /**
129            * Returns a range of all the wiki pages where uuid = &#63;.
130            *
131            * <p>
132            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
133            * </p>
134            *
135            * @param uuid the uuid
136            * @param start the lower bound of the range of wiki pages
137            * @param end the upper bound of the range of wiki pages (not inclusive)
138            * @return the range of matching wiki pages
139            * @throws SystemException if a system exception occurred
140            */
141            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
142                    java.lang.String uuid, int start, int end)
143                    throws com.liferay.portal.kernel.exception.SystemException {
144                    return getPersistence().findByUuid(uuid, start, end);
145            }
146    
147            /**
148            * Returns an ordered range of all the wiki pages where uuid = &#63;.
149            *
150            * <p>
151            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
152            * </p>
153            *
154            * @param uuid the uuid
155            * @param start the lower bound of the range of wiki pages
156            * @param end the upper bound of the range of wiki pages (not inclusive)
157            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
158            * @return the ordered range of matching wiki pages
159            * @throws SystemException if a system exception occurred
160            */
161            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
162                    java.lang.String uuid, int start, int end,
163                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164                    throws com.liferay.portal.kernel.exception.SystemException {
165                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
166            }
167    
168            /**
169            * Returns the first wiki page in the ordered set where uuid = &#63;.
170            *
171            * @param uuid the uuid
172            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
173            * @return the first matching wiki page
174            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
175            * @throws SystemException if a system exception occurred
176            */
177            public static com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
178                    java.lang.String uuid,
179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180                    throws com.liferay.portal.kernel.exception.SystemException,
181                            com.liferay.portlet.wiki.NoSuchPageException {
182                    return getPersistence().findByUuid_First(uuid, orderByComparator);
183            }
184    
185            /**
186            * Returns the first wiki page in the ordered set where uuid = &#63;.
187            *
188            * @param uuid the uuid
189            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
190            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
191            * @throws SystemException if a system exception occurred
192            */
193            public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_First(
194                    java.lang.String uuid,
195                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
196                    throws com.liferay.portal.kernel.exception.SystemException {
197                    return getPersistence().fetchByUuid_First(uuid, orderByComparator);
198            }
199    
200            /**
201            * Returns the last wiki page in the ordered set where uuid = &#63;.
202            *
203            * @param uuid the uuid
204            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
205            * @return the last matching wiki page
206            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
207            * @throws SystemException if a system exception occurred
208            */
209            public static com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
210                    java.lang.String uuid,
211                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
212                    throws com.liferay.portal.kernel.exception.SystemException,
213                            com.liferay.portlet.wiki.NoSuchPageException {
214                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
215            }
216    
217            /**
218            * Returns the last wiki page in the ordered set where uuid = &#63;.
219            *
220            * @param uuid the uuid
221            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
222            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
223            * @throws SystemException if a system exception occurred
224            */
225            public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_Last(
226                    java.lang.String uuid,
227                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
228                    throws com.liferay.portal.kernel.exception.SystemException {
229                    return getPersistence().fetchByUuid_Last(uuid, orderByComparator);
230            }
231    
232            /**
233            * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = &#63;.
234            *
235            * @param pageId the primary key of the current wiki page
236            * @param uuid the uuid
237            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
238            * @return the previous, current, and next wiki page
239            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
240            * @throws SystemException if a system exception occurred
241            */
242            public static com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
243                    long pageId, java.lang.String uuid,
244                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
245                    throws com.liferay.portal.kernel.exception.SystemException,
246                            com.liferay.portlet.wiki.NoSuchPageException {
247                    return getPersistence()
248                                       .findByUuid_PrevAndNext(pageId, uuid, orderByComparator);
249            }
250    
251            /**
252            * Removes all the wiki pages where uuid = &#63; from the database.
253            *
254            * @param uuid the uuid
255            * @throws SystemException if a system exception occurred
256            */
257            public static void removeByUuid(java.lang.String uuid)
258                    throws com.liferay.portal.kernel.exception.SystemException {
259                    getPersistence().removeByUuid(uuid);
260            }
261    
262            /**
263            * Returns the number of wiki pages where uuid = &#63;.
264            *
265            * @param uuid the uuid
266            * @return the number of matching wiki pages
267            * @throws SystemException if a system exception occurred
268            */
269            public static int countByUuid(java.lang.String uuid)
270                    throws com.liferay.portal.kernel.exception.SystemException {
271                    return getPersistence().countByUuid(uuid);
272            }
273    
274            /**
275            * 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.
276            *
277            * @param uuid the uuid
278            * @param groupId the group ID
279            * @return the matching wiki page
280            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
281            * @throws SystemException if a system exception occurred
282            */
283            public static com.liferay.portlet.wiki.model.WikiPage findByUUID_G(
284                    java.lang.String uuid, long groupId)
285                    throws com.liferay.portal.kernel.exception.SystemException,
286                            com.liferay.portlet.wiki.NoSuchPageException {
287                    return getPersistence().findByUUID_G(uuid, groupId);
288            }
289    
290            /**
291            * 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.
292            *
293            * @param uuid the uuid
294            * @param groupId the group ID
295            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
296            * @throws SystemException if a system exception occurred
297            */
298            public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
299                    java.lang.String uuid, long groupId)
300                    throws com.liferay.portal.kernel.exception.SystemException {
301                    return getPersistence().fetchByUUID_G(uuid, groupId);
302            }
303    
304            /**
305            * 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.
306            *
307            * @param uuid the uuid
308            * @param groupId the group ID
309            * @param retrieveFromCache whether to use the finder cache
310            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
311            * @throws SystemException if a system exception occurred
312            */
313            public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
314                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
315                    throws com.liferay.portal.kernel.exception.SystemException {
316                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
317            }
318    
319            /**
320            * Removes the wiki page where uuid = &#63; and groupId = &#63; from the database.
321            *
322            * @param uuid the uuid
323            * @param groupId the group ID
324            * @return the wiki page that was removed
325            * @throws SystemException if a system exception occurred
326            */
327            public static com.liferay.portlet.wiki.model.WikiPage removeByUUID_G(
328                    java.lang.String uuid, long groupId)
329                    throws com.liferay.portal.kernel.exception.SystemException,
330                            com.liferay.portlet.wiki.NoSuchPageException {
331                    return getPersistence().removeByUUID_G(uuid, groupId);
332            }
333    
334            /**
335            * Returns the number of wiki pages where uuid = &#63; and groupId = &#63;.
336            *
337            * @param uuid the uuid
338            * @param groupId the group ID
339            * @return the number of matching wiki pages
340            * @throws SystemException if a system exception occurred
341            */
342            public static int countByUUID_G(java.lang.String uuid, long groupId)
343                    throws com.liferay.portal.kernel.exception.SystemException {
344                    return getPersistence().countByUUID_G(uuid, groupId);
345            }
346    
347            /**
348            * Returns all the wiki pages where uuid = &#63; and companyId = &#63;.
349            *
350            * @param uuid the uuid
351            * @param companyId the company ID
352            * @return the matching wiki pages
353            * @throws SystemException if a system exception occurred
354            */
355            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C(
356                    java.lang.String uuid, long companyId)
357                    throws com.liferay.portal.kernel.exception.SystemException {
358                    return getPersistence().findByUuid_C(uuid, companyId);
359            }
360    
361            /**
362            * Returns a range of all the wiki pages where uuid = &#63; and companyId = &#63;.
363            *
364            * <p>
365            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
366            * </p>
367            *
368            * @param uuid the uuid
369            * @param companyId the company ID
370            * @param start the lower bound of the range of wiki pages
371            * @param end the upper bound of the range of wiki pages (not inclusive)
372            * @return the range of matching wiki pages
373            * @throws SystemException if a system exception occurred
374            */
375            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C(
376                    java.lang.String uuid, long companyId, int start, int end)
377                    throws com.liferay.portal.kernel.exception.SystemException {
378                    return getPersistence().findByUuid_C(uuid, companyId, start, end);
379            }
380    
381            /**
382            * Returns an ordered range of all the wiki pages where uuid = &#63; and companyId = &#63;.
383            *
384            * <p>
385            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
386            * </p>
387            *
388            * @param uuid the uuid
389            * @param companyId the company ID
390            * @param start the lower bound of the range of wiki pages
391            * @param end the upper bound of the range of wiki pages (not inclusive)
392            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
393            * @return the ordered 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> findByUuid_C(
397                    java.lang.String uuid, long companyId, int start, int end,
398                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
399                    throws com.liferay.portal.kernel.exception.SystemException {
400                    return getPersistence()
401                                       .findByUuid_C(uuid, companyId, start, end, orderByComparator);
402            }
403    
404            /**
405            * Returns the first wiki page in the ordered set where uuid = &#63; and companyId = &#63;.
406            *
407            * @param uuid the uuid
408            * @param companyId the company ID
409            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
410            * @return the first matching wiki page
411            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
412            * @throws SystemException if a system exception occurred
413            */
414            public static com.liferay.portlet.wiki.model.WikiPage findByUuid_C_First(
415                    java.lang.String uuid, long companyId,
416                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
417                    throws com.liferay.portal.kernel.exception.SystemException,
418                            com.liferay.portlet.wiki.NoSuchPageException {
419                    return getPersistence()
420                                       .findByUuid_C_First(uuid, companyId, orderByComparator);
421            }
422    
423            /**
424            * Returns the first wiki page in the ordered set where uuid = &#63; and companyId = &#63;.
425            *
426            * @param uuid the uuid
427            * @param companyId the company ID
428            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
429            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
430            * @throws SystemException if a system exception occurred
431            */
432            public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_C_First(
433                    java.lang.String uuid, long companyId,
434                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
435                    throws com.liferay.portal.kernel.exception.SystemException {
436                    return getPersistence()
437                                       .fetchByUuid_C_First(uuid, companyId, orderByComparator);
438            }
439    
440            /**
441            * Returns the last wiki page in the ordered set where uuid = &#63; and companyId = &#63;.
442            *
443            * @param uuid the uuid
444            * @param companyId the company ID
445            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
446            * @return the last matching wiki page
447            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
448            * @throws SystemException if a system exception occurred
449            */
450            public static com.liferay.portlet.wiki.model.WikiPage findByUuid_C_Last(
451                    java.lang.String uuid, long companyId,
452                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
453                    throws com.liferay.portal.kernel.exception.SystemException,
454                            com.liferay.portlet.wiki.NoSuchPageException {
455                    return getPersistence()
456                                       .findByUuid_C_Last(uuid, companyId, orderByComparator);
457            }
458    
459            /**
460            * Returns the last wiki page in the ordered set where uuid = &#63; and companyId = &#63;.
461            *
462            * @param uuid the uuid
463            * @param companyId the company ID
464            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
465            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
466            * @throws SystemException if a system exception occurred
467            */
468            public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_C_Last(
469                    java.lang.String uuid, long companyId,
470                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
471                    throws com.liferay.portal.kernel.exception.SystemException {
472                    return getPersistence()
473                                       .fetchByUuid_C_Last(uuid, companyId, orderByComparator);
474            }
475    
476            /**
477            * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = &#63; and companyId = &#63;.
478            *
479            * @param pageId the primary key of the current wiki page
480            * @param uuid the uuid
481            * @param companyId the company ID
482            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
483            * @return the previous, current, and next wiki page
484            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
485            * @throws SystemException if a system exception occurred
486            */
487            public static com.liferay.portlet.wiki.model.WikiPage[] findByUuid_C_PrevAndNext(
488                    long pageId, java.lang.String uuid, long companyId,
489                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
490                    throws com.liferay.portal.kernel.exception.SystemException,
491                            com.liferay.portlet.wiki.NoSuchPageException {
492                    return getPersistence()
493                                       .findByUuid_C_PrevAndNext(pageId, uuid, companyId,
494                            orderByComparator);
495            }
496    
497            /**
498            * Removes all the wiki pages where uuid = &#63; and companyId = &#63; from the database.
499            *
500            * @param uuid the uuid
501            * @param companyId the company ID
502            * @throws SystemException if a system exception occurred
503            */
504            public static void removeByUuid_C(java.lang.String uuid, long companyId)
505                    throws com.liferay.portal.kernel.exception.SystemException {
506                    getPersistence().removeByUuid_C(uuid, companyId);
507            }
508    
509            /**
510            * Returns the number of wiki pages where uuid = &#63; and companyId = &#63;.
511            *
512            * @param uuid the uuid
513            * @param companyId the company ID
514            * @return the number of matching wiki pages
515            * @throws SystemException if a system exception occurred
516            */
517            public static int countByUuid_C(java.lang.String uuid, long companyId)
518                    throws com.liferay.portal.kernel.exception.SystemException {
519                    return getPersistence().countByUuid_C(uuid, companyId);
520            }
521    
522            /**
523            * Returns all the wiki pages where resourcePrimKey = &#63;.
524            *
525            * @param resourcePrimKey the resource prim key
526            * @return the matching wiki pages
527            * @throws SystemException if a system exception occurred
528            */
529            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByResourcePrimKey(
530                    long resourcePrimKey)
531                    throws com.liferay.portal.kernel.exception.SystemException {
532                    return getPersistence().findByResourcePrimKey(resourcePrimKey);
533            }
534    
535            /**
536            * Returns a range of all the wiki pages where resourcePrimKey = &#63;.
537            *
538            * <p>
539            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
540            * </p>
541            *
542            * @param resourcePrimKey the resource prim key
543            * @param start the lower bound of the range of wiki pages
544            * @param end the upper bound of the range of wiki pages (not inclusive)
545            * @return the range of matching wiki pages
546            * @throws SystemException if a system exception occurred
547            */
548            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByResourcePrimKey(
549                    long resourcePrimKey, int start, int end)
550                    throws com.liferay.portal.kernel.exception.SystemException {
551                    return getPersistence()
552                                       .findByResourcePrimKey(resourcePrimKey, start, end);
553            }
554    
555            /**
556            * Returns an ordered range of all the wiki pages where resourcePrimKey = &#63;.
557            *
558            * <p>
559            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
560            * </p>
561            *
562            * @param resourcePrimKey the resource prim key
563            * @param start the lower bound of the range of wiki pages
564            * @param end the upper bound of the range of wiki pages (not inclusive)
565            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
566            * @return the ordered range of matching wiki pages
567            * @throws SystemException if a system exception occurred
568            */
569            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByResourcePrimKey(
570                    long resourcePrimKey, int start, int end,
571                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
572                    throws com.liferay.portal.kernel.exception.SystemException {
573                    return getPersistence()
574                                       .findByResourcePrimKey(resourcePrimKey, start, end,
575                            orderByComparator);
576            }
577    
578            /**
579            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63;.
580            *
581            * @param resourcePrimKey the resource prim key
582            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
583            * @return the first matching wiki page
584            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
585            * @throws SystemException if a system exception occurred
586            */
587            public static com.liferay.portlet.wiki.model.WikiPage findByResourcePrimKey_First(
588                    long resourcePrimKey,
589                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
590                    throws com.liferay.portal.kernel.exception.SystemException,
591                            com.liferay.portlet.wiki.NoSuchPageException {
592                    return getPersistence()
593                                       .findByResourcePrimKey_First(resourcePrimKey,
594                            orderByComparator);
595            }
596    
597            /**
598            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63;.
599            *
600            * @param resourcePrimKey the resource prim key
601            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
602            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
603            * @throws SystemException if a system exception occurred
604            */
605            public static com.liferay.portlet.wiki.model.WikiPage fetchByResourcePrimKey_First(
606                    long resourcePrimKey,
607                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
608                    throws com.liferay.portal.kernel.exception.SystemException {
609                    return getPersistence()
610                                       .fetchByResourcePrimKey_First(resourcePrimKey,
611                            orderByComparator);
612            }
613    
614            /**
615            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63;.
616            *
617            * @param resourcePrimKey the resource prim key
618            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
619            * @return the last matching wiki page
620            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
621            * @throws SystemException if a system exception occurred
622            */
623            public static com.liferay.portlet.wiki.model.WikiPage findByResourcePrimKey_Last(
624                    long resourcePrimKey,
625                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
626                    throws com.liferay.portal.kernel.exception.SystemException,
627                            com.liferay.portlet.wiki.NoSuchPageException {
628                    return getPersistence()
629                                       .findByResourcePrimKey_Last(resourcePrimKey,
630                            orderByComparator);
631            }
632    
633            /**
634            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63;.
635            *
636            * @param resourcePrimKey the resource prim key
637            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
638            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
639            * @throws SystemException if a system exception occurred
640            */
641            public static com.liferay.portlet.wiki.model.WikiPage fetchByResourcePrimKey_Last(
642                    long resourcePrimKey,
643                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
644                    throws com.liferay.portal.kernel.exception.SystemException {
645                    return getPersistence()
646                                       .fetchByResourcePrimKey_Last(resourcePrimKey,
647                            orderByComparator);
648            }
649    
650            /**
651            * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63;.
652            *
653            * @param pageId the primary key of the current wiki page
654            * @param resourcePrimKey the resource prim key
655            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
656            * @return the previous, current, and next wiki page
657            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
658            * @throws SystemException if a system exception occurred
659            */
660            public static com.liferay.portlet.wiki.model.WikiPage[] findByResourcePrimKey_PrevAndNext(
661                    long pageId, long resourcePrimKey,
662                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
663                    throws com.liferay.portal.kernel.exception.SystemException,
664                            com.liferay.portlet.wiki.NoSuchPageException {
665                    return getPersistence()
666                                       .findByResourcePrimKey_PrevAndNext(pageId, resourcePrimKey,
667                            orderByComparator);
668            }
669    
670            /**
671            * Removes all the wiki pages where resourcePrimKey = &#63; from the database.
672            *
673            * @param resourcePrimKey the resource prim key
674            * @throws SystemException if a system exception occurred
675            */
676            public static void removeByResourcePrimKey(long resourcePrimKey)
677                    throws com.liferay.portal.kernel.exception.SystemException {
678                    getPersistence().removeByResourcePrimKey(resourcePrimKey);
679            }
680    
681            /**
682            * Returns the number of wiki pages where resourcePrimKey = &#63;.
683            *
684            * @param resourcePrimKey the resource prim key
685            * @return the number of matching wiki pages
686            * @throws SystemException if a system exception occurred
687            */
688            public static int countByResourcePrimKey(long resourcePrimKey)
689                    throws com.liferay.portal.kernel.exception.SystemException {
690                    return getPersistence().countByResourcePrimKey(resourcePrimKey);
691            }
692    
693            /**
694            * Returns all the wiki pages where nodeId = &#63;.
695            *
696            * @param nodeId the node ID
697            * @return the matching wiki pages
698            * @throws SystemException if a system exception occurred
699            */
700            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
701                    long nodeId) throws com.liferay.portal.kernel.exception.SystemException {
702                    return getPersistence().findByNodeId(nodeId);
703            }
704    
705            /**
706            * Returns a range of all the wiki pages where nodeId = &#63;.
707            *
708            * <p>
709            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
710            * </p>
711            *
712            * @param nodeId the node ID
713            * @param start the lower bound of the range of wiki pages
714            * @param end the upper bound of the range of wiki pages (not inclusive)
715            * @return the range of matching wiki pages
716            * @throws SystemException if a system exception occurred
717            */
718            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
719                    long nodeId, int start, int end)
720                    throws com.liferay.portal.kernel.exception.SystemException {
721                    return getPersistence().findByNodeId(nodeId, start, end);
722            }
723    
724            /**
725            * Returns an ordered range of all the wiki pages where nodeId = &#63;.
726            *
727            * <p>
728            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
729            * </p>
730            *
731            * @param nodeId the node ID
732            * @param start the lower bound of the range of wiki pages
733            * @param end the upper bound of the range of wiki pages (not inclusive)
734            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
735            * @return the ordered range of matching wiki pages
736            * @throws SystemException if a system exception occurred
737            */
738            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
739                    long nodeId, int start, int end,
740                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
741                    throws com.liferay.portal.kernel.exception.SystemException {
742                    return getPersistence()
743                                       .findByNodeId(nodeId, start, end, orderByComparator);
744            }
745    
746            /**
747            * Returns the first wiki page in the ordered set where nodeId = &#63;.
748            *
749            * @param nodeId the node ID
750            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
751            * @return the first matching wiki page
752            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
753            * @throws SystemException if a system exception occurred
754            */
755            public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
756                    long nodeId,
757                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
758                    throws com.liferay.portal.kernel.exception.SystemException,
759                            com.liferay.portlet.wiki.NoSuchPageException {
760                    return getPersistence().findByNodeId_First(nodeId, orderByComparator);
761            }
762    
763            /**
764            * Returns the first wiki page in the ordered set where nodeId = &#63;.
765            *
766            * @param nodeId the node ID
767            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
768            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
769            * @throws SystemException if a system exception occurred
770            */
771            public static com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_First(
772                    long nodeId,
773                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
774                    throws com.liferay.portal.kernel.exception.SystemException {
775                    return getPersistence().fetchByNodeId_First(nodeId, orderByComparator);
776            }
777    
778            /**
779            * Returns the last wiki page in the ordered set where nodeId = &#63;.
780            *
781            * @param nodeId the node ID
782            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
783            * @return the last matching wiki page
784            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
785            * @throws SystemException if a system exception occurred
786            */
787            public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
788                    long nodeId,
789                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
790                    throws com.liferay.portal.kernel.exception.SystemException,
791                            com.liferay.portlet.wiki.NoSuchPageException {
792                    return getPersistence().findByNodeId_Last(nodeId, orderByComparator);
793            }
794    
795            /**
796            * Returns the last wiki page in the ordered set where nodeId = &#63;.
797            *
798            * @param nodeId the node ID
799            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
800            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
801            * @throws SystemException if a system exception occurred
802            */
803            public static com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_Last(
804                    long nodeId,
805                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
806                    throws com.liferay.portal.kernel.exception.SystemException {
807                    return getPersistence().fetchByNodeId_Last(nodeId, orderByComparator);
808            }
809    
810            /**
811            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63;.
812            *
813            * @param pageId the primary key of the current wiki page
814            * @param nodeId the node ID
815            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
816            * @return the previous, current, and next wiki page
817            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
818            * @throws SystemException if a system exception occurred
819            */
820            public static com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
821                    long pageId, long nodeId,
822                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
823                    throws com.liferay.portal.kernel.exception.SystemException,
824                            com.liferay.portlet.wiki.NoSuchPageException {
825                    return getPersistence()
826                                       .findByNodeId_PrevAndNext(pageId, nodeId, orderByComparator);
827            }
828    
829            /**
830            * Removes all the wiki pages where nodeId = &#63; from the database.
831            *
832            * @param nodeId the node ID
833            * @throws SystemException if a system exception occurred
834            */
835            public static void removeByNodeId(long nodeId)
836                    throws com.liferay.portal.kernel.exception.SystemException {
837                    getPersistence().removeByNodeId(nodeId);
838            }
839    
840            /**
841            * Returns the number of wiki pages where nodeId = &#63;.
842            *
843            * @param nodeId the node ID
844            * @return the number of matching wiki pages
845            * @throws SystemException if a system exception occurred
846            */
847            public static int countByNodeId(long nodeId)
848                    throws com.liferay.portal.kernel.exception.SystemException {
849                    return getPersistence().countByNodeId(nodeId);
850            }
851    
852            /**
853            * Returns all the wiki pages where format = &#63;.
854            *
855            * @param format the format
856            * @return the matching wiki pages
857            * @throws SystemException if a system exception occurred
858            */
859            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
860                    java.lang.String format)
861                    throws com.liferay.portal.kernel.exception.SystemException {
862                    return getPersistence().findByFormat(format);
863            }
864    
865            /**
866            * Returns a range of all the wiki pages where format = &#63;.
867            *
868            * <p>
869            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
870            * </p>
871            *
872            * @param format the format
873            * @param start the lower bound of the range of wiki pages
874            * @param end the upper bound of the range of wiki pages (not inclusive)
875            * @return the range of matching wiki pages
876            * @throws SystemException if a system exception occurred
877            */
878            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
879                    java.lang.String format, int start, int end)
880                    throws com.liferay.portal.kernel.exception.SystemException {
881                    return getPersistence().findByFormat(format, start, end);
882            }
883    
884            /**
885            * Returns an ordered range of all the wiki pages where format = &#63;.
886            *
887            * <p>
888            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
889            * </p>
890            *
891            * @param format the format
892            * @param start the lower bound of the range of wiki pages
893            * @param end the upper bound of the range of wiki pages (not inclusive)
894            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
895            * @return the ordered range of matching wiki pages
896            * @throws SystemException if a system exception occurred
897            */
898            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
899                    java.lang.String format, int start, int end,
900                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
901                    throws com.liferay.portal.kernel.exception.SystemException {
902                    return getPersistence()
903                                       .findByFormat(format, start, end, orderByComparator);
904            }
905    
906            /**
907            * Returns the first wiki page in the ordered set where format = &#63;.
908            *
909            * @param format the format
910            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
911            * @return the first matching wiki page
912            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
913            * @throws SystemException if a system exception occurred
914            */
915            public static com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
916                    java.lang.String format,
917                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
918                    throws com.liferay.portal.kernel.exception.SystemException,
919                            com.liferay.portlet.wiki.NoSuchPageException {
920                    return getPersistence().findByFormat_First(format, orderByComparator);
921            }
922    
923            /**
924            * Returns the first wiki page in the ordered set where format = &#63;.
925            *
926            * @param format the format
927            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
928            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
929            * @throws SystemException if a system exception occurred
930            */
931            public static com.liferay.portlet.wiki.model.WikiPage fetchByFormat_First(
932                    java.lang.String format,
933                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
934                    throws com.liferay.portal.kernel.exception.SystemException {
935                    return getPersistence().fetchByFormat_First(format, orderByComparator);
936            }
937    
938            /**
939            * Returns the last wiki page in the ordered set where format = &#63;.
940            *
941            * @param format the format
942            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
943            * @return the last matching wiki page
944            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
945            * @throws SystemException if a system exception occurred
946            */
947            public static com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
948                    java.lang.String format,
949                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
950                    throws com.liferay.portal.kernel.exception.SystemException,
951                            com.liferay.portlet.wiki.NoSuchPageException {
952                    return getPersistence().findByFormat_Last(format, orderByComparator);
953            }
954    
955            /**
956            * Returns the last wiki page in the ordered set where format = &#63;.
957            *
958            * @param format the format
959            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
960            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
961            * @throws SystemException if a system exception occurred
962            */
963            public static com.liferay.portlet.wiki.model.WikiPage fetchByFormat_Last(
964                    java.lang.String format,
965                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
966                    throws com.liferay.portal.kernel.exception.SystemException {
967                    return getPersistence().fetchByFormat_Last(format, orderByComparator);
968            }
969    
970            /**
971            * Returns the wiki pages before and after the current wiki page in the ordered set where format = &#63;.
972            *
973            * @param pageId the primary key of the current wiki page
974            * @param format the format
975            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
976            * @return the previous, current, and next wiki page
977            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
978            * @throws SystemException if a system exception occurred
979            */
980            public static com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
981                    long pageId, java.lang.String format,
982                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
983                    throws com.liferay.portal.kernel.exception.SystemException,
984                            com.liferay.portlet.wiki.NoSuchPageException {
985                    return getPersistence()
986                                       .findByFormat_PrevAndNext(pageId, format, orderByComparator);
987            }
988    
989            /**
990            * Removes all the wiki pages where format = &#63; from the database.
991            *
992            * @param format the format
993            * @throws SystemException if a system exception occurred
994            */
995            public static void removeByFormat(java.lang.String format)
996                    throws com.liferay.portal.kernel.exception.SystemException {
997                    getPersistence().removeByFormat(format);
998            }
999    
1000            /**
1001            * Returns the number of wiki pages where format = &#63;.
1002            *
1003            * @param format the format
1004            * @return the number of matching wiki pages
1005            * @throws SystemException if a system exception occurred
1006            */
1007            public static int countByFormat(java.lang.String format)
1008                    throws com.liferay.portal.kernel.exception.SystemException {
1009                    return getPersistence().countByFormat(format);
1010            }
1011    
1012            /**
1013            * Returns all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
1014            *
1015            * @param resourcePrimKey the resource prim key
1016            * @param nodeId the node ID
1017            * @return the matching wiki pages
1018            * @throws SystemException if a system exception occurred
1019            */
1020            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
1021                    long resourcePrimKey, long nodeId)
1022                    throws com.liferay.portal.kernel.exception.SystemException {
1023                    return getPersistence().findByR_N(resourcePrimKey, nodeId);
1024            }
1025    
1026            /**
1027            * Returns a range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
1028            *
1029            * <p>
1030            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1031            * </p>
1032            *
1033            * @param resourcePrimKey the resource prim key
1034            * @param nodeId the node ID
1035            * @param start the lower bound of the range of wiki pages
1036            * @param end the upper bound of the range of wiki pages (not inclusive)
1037            * @return the range of matching wiki pages
1038            * @throws SystemException if a system exception occurred
1039            */
1040            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
1041                    long resourcePrimKey, long nodeId, int start, int end)
1042                    throws com.liferay.portal.kernel.exception.SystemException {
1043                    return getPersistence().findByR_N(resourcePrimKey, nodeId, start, end);
1044            }
1045    
1046            /**
1047            * Returns an ordered range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
1048            *
1049            * <p>
1050            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1051            * </p>
1052            *
1053            * @param resourcePrimKey the resource prim key
1054            * @param nodeId the node ID
1055            * @param start the lower bound of the range of wiki pages
1056            * @param end the upper bound of the range of wiki pages (not inclusive)
1057            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1058            * @return the ordered range of matching wiki pages
1059            * @throws SystemException if a system exception occurred
1060            */
1061            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
1062                    long resourcePrimKey, long nodeId, int start, int end,
1063                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1064                    throws com.liferay.portal.kernel.exception.SystemException {
1065                    return getPersistence()
1066                                       .findByR_N(resourcePrimKey, nodeId, start, end,
1067                            orderByComparator);
1068            }
1069    
1070            /**
1071            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
1072            *
1073            * @param resourcePrimKey the resource prim key
1074            * @param nodeId the node ID
1075            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1076            * @return the first matching wiki page
1077            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1078            * @throws SystemException if a system exception occurred
1079            */
1080            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_First(
1081                    long resourcePrimKey, long nodeId,
1082                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1083                    throws com.liferay.portal.kernel.exception.SystemException,
1084                            com.liferay.portlet.wiki.NoSuchPageException {
1085                    return getPersistence()
1086                                       .findByR_N_First(resourcePrimKey, nodeId, orderByComparator);
1087            }
1088    
1089            /**
1090            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
1091            *
1092            * @param resourcePrimKey the resource prim key
1093            * @param nodeId the node ID
1094            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1095            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1096            * @throws SystemException if a system exception occurred
1097            */
1098            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_First(
1099                    long resourcePrimKey, long nodeId,
1100                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1101                    throws com.liferay.portal.kernel.exception.SystemException {
1102                    return getPersistence()
1103                                       .fetchByR_N_First(resourcePrimKey, nodeId, orderByComparator);
1104            }
1105    
1106            /**
1107            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
1108            *
1109            * @param resourcePrimKey the resource prim key
1110            * @param nodeId the node ID
1111            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1112            * @return the last matching wiki page
1113            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1114            * @throws SystemException if a system exception occurred
1115            */
1116            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_Last(
1117                    long resourcePrimKey, long nodeId,
1118                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1119                    throws com.liferay.portal.kernel.exception.SystemException,
1120                            com.liferay.portlet.wiki.NoSuchPageException {
1121                    return getPersistence()
1122                                       .findByR_N_Last(resourcePrimKey, nodeId, orderByComparator);
1123            }
1124    
1125            /**
1126            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
1127            *
1128            * @param resourcePrimKey the resource prim key
1129            * @param nodeId the node ID
1130            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1131            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1132            * @throws SystemException if a system exception occurred
1133            */
1134            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_Last(
1135                    long resourcePrimKey, long nodeId,
1136                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1137                    throws com.liferay.portal.kernel.exception.SystemException {
1138                    return getPersistence()
1139                                       .fetchByR_N_Last(resourcePrimKey, nodeId, orderByComparator);
1140            }
1141    
1142            /**
1143            * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
1144            *
1145            * @param pageId the primary key of the current wiki page
1146            * @param resourcePrimKey the resource prim key
1147            * @param nodeId the node ID
1148            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1149            * @return the previous, current, and next wiki page
1150            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1151            * @throws SystemException if a system exception occurred
1152            */
1153            public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_PrevAndNext(
1154                    long pageId, long resourcePrimKey, long nodeId,
1155                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1156                    throws com.liferay.portal.kernel.exception.SystemException,
1157                            com.liferay.portlet.wiki.NoSuchPageException {
1158                    return getPersistence()
1159                                       .findByR_N_PrevAndNext(pageId, resourcePrimKey, nodeId,
1160                            orderByComparator);
1161            }
1162    
1163            /**
1164            * Removes all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; from the database.
1165            *
1166            * @param resourcePrimKey the resource prim key
1167            * @param nodeId the node ID
1168            * @throws SystemException if a system exception occurred
1169            */
1170            public static void removeByR_N(long resourcePrimKey, long nodeId)
1171                    throws com.liferay.portal.kernel.exception.SystemException {
1172                    getPersistence().removeByR_N(resourcePrimKey, nodeId);
1173            }
1174    
1175            /**
1176            * Returns the number of wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
1177            *
1178            * @param resourcePrimKey the resource prim key
1179            * @param nodeId the node ID
1180            * @return the number of matching wiki pages
1181            * @throws SystemException if a system exception occurred
1182            */
1183            public static int countByR_N(long resourcePrimKey, long nodeId)
1184                    throws com.liferay.portal.kernel.exception.SystemException {
1185                    return getPersistence().countByR_N(resourcePrimKey, nodeId);
1186            }
1187    
1188            /**
1189            * Returns all the wiki pages where resourcePrimKey = &#63; and status = &#63;.
1190            *
1191            * @param resourcePrimKey the resource prim key
1192            * @param status the status
1193            * @return the matching wiki pages
1194            * @throws SystemException if a system exception occurred
1195            */
1196            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_S(
1197                    long resourcePrimKey, int status)
1198                    throws com.liferay.portal.kernel.exception.SystemException {
1199                    return getPersistence().findByR_S(resourcePrimKey, status);
1200            }
1201    
1202            /**
1203            * Returns a range of all the wiki pages where resourcePrimKey = &#63; and status = &#63;.
1204            *
1205            * <p>
1206            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1207            * </p>
1208            *
1209            * @param resourcePrimKey the resource prim key
1210            * @param status the status
1211            * @param start the lower bound of the range of wiki pages
1212            * @param end the upper bound of the range of wiki pages (not inclusive)
1213            * @return the range of matching wiki pages
1214            * @throws SystemException if a system exception occurred
1215            */
1216            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_S(
1217                    long resourcePrimKey, int status, int start, int end)
1218                    throws com.liferay.portal.kernel.exception.SystemException {
1219                    return getPersistence().findByR_S(resourcePrimKey, status, start, end);
1220            }
1221    
1222            /**
1223            * Returns an ordered range of all the wiki pages where resourcePrimKey = &#63; and status = &#63;.
1224            *
1225            * <p>
1226            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1227            * </p>
1228            *
1229            * @param resourcePrimKey the resource prim key
1230            * @param status the status
1231            * @param start the lower bound of the range of wiki pages
1232            * @param end the upper bound of the range of wiki pages (not inclusive)
1233            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1234            * @return the ordered range of matching wiki pages
1235            * @throws SystemException if a system exception occurred
1236            */
1237            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_S(
1238                    long resourcePrimKey, int status, int start, int end,
1239                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1240                    throws com.liferay.portal.kernel.exception.SystemException {
1241                    return getPersistence()
1242                                       .findByR_S(resourcePrimKey, status, start, end,
1243                            orderByComparator);
1244            }
1245    
1246            /**
1247            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1248            *
1249            * @param resourcePrimKey the resource prim key
1250            * @param status the status
1251            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1252            * @return the first matching wiki page
1253            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1254            * @throws SystemException if a system exception occurred
1255            */
1256            public static com.liferay.portlet.wiki.model.WikiPage findByR_S_First(
1257                    long resourcePrimKey, int status,
1258                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1259                    throws com.liferay.portal.kernel.exception.SystemException,
1260                            com.liferay.portlet.wiki.NoSuchPageException {
1261                    return getPersistence()
1262                                       .findByR_S_First(resourcePrimKey, status, orderByComparator);
1263            }
1264    
1265            /**
1266            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1267            *
1268            * @param resourcePrimKey the resource prim key
1269            * @param status the status
1270            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1271            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1272            * @throws SystemException if a system exception occurred
1273            */
1274            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_S_First(
1275                    long resourcePrimKey, int status,
1276                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1277                    throws com.liferay.portal.kernel.exception.SystemException {
1278                    return getPersistence()
1279                                       .fetchByR_S_First(resourcePrimKey, status, orderByComparator);
1280            }
1281    
1282            /**
1283            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1284            *
1285            * @param resourcePrimKey the resource prim key
1286            * @param status the status
1287            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1288            * @return the last matching wiki page
1289            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1290            * @throws SystemException if a system exception occurred
1291            */
1292            public static com.liferay.portlet.wiki.model.WikiPage findByR_S_Last(
1293                    long resourcePrimKey, int status,
1294                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1295                    throws com.liferay.portal.kernel.exception.SystemException,
1296                            com.liferay.portlet.wiki.NoSuchPageException {
1297                    return getPersistence()
1298                                       .findByR_S_Last(resourcePrimKey, status, orderByComparator);
1299            }
1300    
1301            /**
1302            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1303            *
1304            * @param resourcePrimKey the resource prim key
1305            * @param status the status
1306            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1307            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1308            * @throws SystemException if a system exception occurred
1309            */
1310            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_S_Last(
1311                    long resourcePrimKey, int status,
1312                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1313                    throws com.liferay.portal.kernel.exception.SystemException {
1314                    return getPersistence()
1315                                       .fetchByR_S_Last(resourcePrimKey, status, orderByComparator);
1316            }
1317    
1318            /**
1319            * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63; and status = &#63;.
1320            *
1321            * @param pageId the primary key of the current wiki page
1322            * @param resourcePrimKey the resource prim key
1323            * @param status the status
1324            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1325            * @return the previous, current, and next wiki page
1326            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1327            * @throws SystemException if a system exception occurred
1328            */
1329            public static com.liferay.portlet.wiki.model.WikiPage[] findByR_S_PrevAndNext(
1330                    long pageId, long resourcePrimKey, int status,
1331                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1332                    throws com.liferay.portal.kernel.exception.SystemException,
1333                            com.liferay.portlet.wiki.NoSuchPageException {
1334                    return getPersistence()
1335                                       .findByR_S_PrevAndNext(pageId, resourcePrimKey, status,
1336                            orderByComparator);
1337            }
1338    
1339            /**
1340            * Removes all the wiki pages where resourcePrimKey = &#63; and status = &#63; from the database.
1341            *
1342            * @param resourcePrimKey the resource prim key
1343            * @param status the status
1344            * @throws SystemException if a system exception occurred
1345            */
1346            public static void removeByR_S(long resourcePrimKey, int status)
1347                    throws com.liferay.portal.kernel.exception.SystemException {
1348                    getPersistence().removeByR_S(resourcePrimKey, status);
1349            }
1350    
1351            /**
1352            * Returns the number of wiki pages where resourcePrimKey = &#63; and status = &#63;.
1353            *
1354            * @param resourcePrimKey the resource prim key
1355            * @param status the status
1356            * @return the number of matching wiki pages
1357            * @throws SystemException if a system exception occurred
1358            */
1359            public static int countByR_S(long resourcePrimKey, int status)
1360                    throws com.liferay.portal.kernel.exception.SystemException {
1361                    return getPersistence().countByR_S(resourcePrimKey, status);
1362            }
1363    
1364            /**
1365            * Returns all the wiki pages where nodeId = &#63; and title = &#63;.
1366            *
1367            * @param nodeId the node ID
1368            * @param title the title
1369            * @return the matching wiki pages
1370            * @throws SystemException if a system exception occurred
1371            */
1372            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
1373                    long nodeId, java.lang.String title)
1374                    throws com.liferay.portal.kernel.exception.SystemException {
1375                    return getPersistence().findByN_T(nodeId, title);
1376            }
1377    
1378            /**
1379            * Returns a range of all the wiki pages where nodeId = &#63; and title = &#63;.
1380            *
1381            * <p>
1382            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1383            * </p>
1384            *
1385            * @param nodeId the node ID
1386            * @param title the title
1387            * @param start the lower bound of the range of wiki pages
1388            * @param end the upper bound of the range of wiki pages (not inclusive)
1389            * @return the range of matching wiki pages
1390            * @throws SystemException if a system exception occurred
1391            */
1392            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
1393                    long nodeId, java.lang.String title, int start, int end)
1394                    throws com.liferay.portal.kernel.exception.SystemException {
1395                    return getPersistence().findByN_T(nodeId, title, start, end);
1396            }
1397    
1398            /**
1399            * Returns an ordered range of all the wiki pages where nodeId = &#63; and title = &#63;.
1400            *
1401            * <p>
1402            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1403            * </p>
1404            *
1405            * @param nodeId the node ID
1406            * @param title the title
1407            * @param start the lower bound of the range of wiki pages
1408            * @param end the upper bound of the range of wiki pages (not inclusive)
1409            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1410            * @return the ordered range of matching wiki pages
1411            * @throws SystemException if a system exception occurred
1412            */
1413            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
1414                    long nodeId, java.lang.String title, int start, int end,
1415                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1416                    throws com.liferay.portal.kernel.exception.SystemException {
1417                    return getPersistence()
1418                                       .findByN_T(nodeId, title, start, end, orderByComparator);
1419            }
1420    
1421            /**
1422            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63;.
1423            *
1424            * @param nodeId the node ID
1425            * @param title the title
1426            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1427            * @return the first matching wiki page
1428            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1429            * @throws SystemException if a system exception occurred
1430            */
1431            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
1432                    long nodeId, java.lang.String title,
1433                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1434                    throws com.liferay.portal.kernel.exception.SystemException,
1435                            com.liferay.portlet.wiki.NoSuchPageException {
1436                    return getPersistence().findByN_T_First(nodeId, title, orderByComparator);
1437            }
1438    
1439            /**
1440            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63;.
1441            *
1442            * @param nodeId the node ID
1443            * @param title the title
1444            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1445            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1446            * @throws SystemException if a system exception occurred
1447            */
1448            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_First(
1449                    long nodeId, java.lang.String title,
1450                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1451                    throws com.liferay.portal.kernel.exception.SystemException {
1452                    return getPersistence()
1453                                       .fetchByN_T_First(nodeId, title, orderByComparator);
1454            }
1455    
1456            /**
1457            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63;.
1458            *
1459            * @param nodeId the node ID
1460            * @param title the title
1461            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1462            * @return the last matching wiki page
1463            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1464            * @throws SystemException if a system exception occurred
1465            */
1466            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(
1467                    long nodeId, java.lang.String title,
1468                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1469                    throws com.liferay.portal.kernel.exception.SystemException,
1470                            com.liferay.portlet.wiki.NoSuchPageException {
1471                    return getPersistence().findByN_T_Last(nodeId, title, orderByComparator);
1472            }
1473    
1474            /**
1475            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63;.
1476            *
1477            * @param nodeId the node ID
1478            * @param title the title
1479            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1480            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1481            * @throws SystemException if a system exception occurred
1482            */
1483            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_Last(
1484                    long nodeId, java.lang.String title,
1485                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1486                    throws com.liferay.portal.kernel.exception.SystemException {
1487                    return getPersistence().fetchByN_T_Last(nodeId, title, orderByComparator);
1488            }
1489    
1490            /**
1491            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63;.
1492            *
1493            * @param pageId the primary key of the current wiki page
1494            * @param nodeId the node ID
1495            * @param title the title
1496            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1497            * @return the previous, current, and next wiki page
1498            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1499            * @throws SystemException if a system exception occurred
1500            */
1501            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
1502                    long pageId, long nodeId, java.lang.String title,
1503                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1504                    throws com.liferay.portal.kernel.exception.SystemException,
1505                            com.liferay.portlet.wiki.NoSuchPageException {
1506                    return getPersistence()
1507                                       .findByN_T_PrevAndNext(pageId, nodeId, title,
1508                            orderByComparator);
1509            }
1510    
1511            /**
1512            * Removes all the wiki pages where nodeId = &#63; and title = &#63; from the database.
1513            *
1514            * @param nodeId the node ID
1515            * @param title the title
1516            * @throws SystemException if a system exception occurred
1517            */
1518            public static void removeByN_T(long nodeId, java.lang.String title)
1519                    throws com.liferay.portal.kernel.exception.SystemException {
1520                    getPersistence().removeByN_T(nodeId, title);
1521            }
1522    
1523            /**
1524            * Returns the number of wiki pages where nodeId = &#63; and title = &#63;.
1525            *
1526            * @param nodeId the node ID
1527            * @param title the title
1528            * @return the number of matching wiki pages
1529            * @throws SystemException if a system exception occurred
1530            */
1531            public static int countByN_T(long nodeId, java.lang.String title)
1532                    throws com.liferay.portal.kernel.exception.SystemException {
1533                    return getPersistence().countByN_T(nodeId, title);
1534            }
1535    
1536            /**
1537            * Returns all the wiki pages where nodeId = &#63; and head = &#63;.
1538            *
1539            * @param nodeId the node ID
1540            * @param head the head
1541            * @return the matching wiki pages
1542            * @throws SystemException if a system exception occurred
1543            */
1544            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
1545                    long nodeId, boolean head)
1546                    throws com.liferay.portal.kernel.exception.SystemException {
1547                    return getPersistence().findByN_H(nodeId, head);
1548            }
1549    
1550            /**
1551            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63;.
1552            *
1553            * <p>
1554            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1555            * </p>
1556            *
1557            * @param nodeId the node ID
1558            * @param head the head
1559            * @param start the lower bound of the range of wiki pages
1560            * @param end the upper bound of the range of wiki pages (not inclusive)
1561            * @return the range of matching wiki pages
1562            * @throws SystemException if a system exception occurred
1563            */
1564            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
1565                    long nodeId, boolean head, int start, int end)
1566                    throws com.liferay.portal.kernel.exception.SystemException {
1567                    return getPersistence().findByN_H(nodeId, head, start, end);
1568            }
1569    
1570            /**
1571            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63;.
1572            *
1573            * <p>
1574            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1575            * </p>
1576            *
1577            * @param nodeId the node ID
1578            * @param head the head
1579            * @param start the lower bound of the range of wiki pages
1580            * @param end the upper bound of the range of wiki pages (not inclusive)
1581            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1582            * @return the ordered range of matching wiki pages
1583            * @throws SystemException if a system exception occurred
1584            */
1585            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
1586                    long nodeId, boolean head, int start, int end,
1587                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1588                    throws com.liferay.portal.kernel.exception.SystemException {
1589                    return getPersistence()
1590                                       .findByN_H(nodeId, head, start, end, orderByComparator);
1591            }
1592    
1593            /**
1594            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63;.
1595            *
1596            * @param nodeId the node ID
1597            * @param head the head
1598            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1599            * @return the first matching wiki page
1600            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1601            * @throws SystemException if a system exception occurred
1602            */
1603            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
1604                    long nodeId, boolean head,
1605                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1606                    throws com.liferay.portal.kernel.exception.SystemException,
1607                            com.liferay.portlet.wiki.NoSuchPageException {
1608                    return getPersistence().findByN_H_First(nodeId, head, orderByComparator);
1609            }
1610    
1611            /**
1612            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63;.
1613            *
1614            * @param nodeId the node ID
1615            * @param head the head
1616            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1617            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1618            * @throws SystemException if a system exception occurred
1619            */
1620            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_First(
1621                    long nodeId, boolean head,
1622                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1623                    throws com.liferay.portal.kernel.exception.SystemException {
1624                    return getPersistence().fetchByN_H_First(nodeId, head, orderByComparator);
1625            }
1626    
1627            /**
1628            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63;.
1629            *
1630            * @param nodeId the node ID
1631            * @param head the head
1632            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1633            * @return the last matching wiki page
1634            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1635            * @throws SystemException if a system exception occurred
1636            */
1637            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(
1638                    long nodeId, boolean head,
1639                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1640                    throws com.liferay.portal.kernel.exception.SystemException,
1641                            com.liferay.portlet.wiki.NoSuchPageException {
1642                    return getPersistence().findByN_H_Last(nodeId, head, orderByComparator);
1643            }
1644    
1645            /**
1646            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63;.
1647            *
1648            * @param nodeId the node ID
1649            * @param head the head
1650            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1651            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1652            * @throws SystemException if a system exception occurred
1653            */
1654            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_Last(
1655                    long nodeId, boolean head,
1656                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1657                    throws com.liferay.portal.kernel.exception.SystemException {
1658                    return getPersistence().fetchByN_H_Last(nodeId, head, orderByComparator);
1659            }
1660    
1661            /**
1662            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63;.
1663            *
1664            * @param pageId the primary key of the current wiki page
1665            * @param nodeId the node ID
1666            * @param head the head
1667            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1668            * @return the previous, current, and next wiki page
1669            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1670            * @throws SystemException if a system exception occurred
1671            */
1672            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
1673                    long pageId, long nodeId, boolean head,
1674                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1675                    throws com.liferay.portal.kernel.exception.SystemException,
1676                            com.liferay.portlet.wiki.NoSuchPageException {
1677                    return getPersistence()
1678                                       .findByN_H_PrevAndNext(pageId, nodeId, head,
1679                            orderByComparator);
1680            }
1681    
1682            /**
1683            * Removes all the wiki pages where nodeId = &#63; and head = &#63; from the database.
1684            *
1685            * @param nodeId the node ID
1686            * @param head the head
1687            * @throws SystemException if a system exception occurred
1688            */
1689            public static void removeByN_H(long nodeId, boolean head)
1690                    throws com.liferay.portal.kernel.exception.SystemException {
1691                    getPersistence().removeByN_H(nodeId, head);
1692            }
1693    
1694            /**
1695            * Returns the number of wiki pages where nodeId = &#63; and head = &#63;.
1696            *
1697            * @param nodeId the node ID
1698            * @param head the head
1699            * @return the number of matching wiki pages
1700            * @throws SystemException if a system exception occurred
1701            */
1702            public static int countByN_H(long nodeId, boolean head)
1703                    throws com.liferay.portal.kernel.exception.SystemException {
1704                    return getPersistence().countByN_H(nodeId, head);
1705            }
1706    
1707            /**
1708            * Returns all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
1709            *
1710            * @param nodeId the node ID
1711            * @param parentTitle the parent title
1712            * @return the matching wiki pages
1713            * @throws SystemException if a system exception occurred
1714            */
1715            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
1716                    long nodeId, java.lang.String parentTitle)
1717                    throws com.liferay.portal.kernel.exception.SystemException {
1718                    return getPersistence().findByN_P(nodeId, parentTitle);
1719            }
1720    
1721            /**
1722            * Returns a range of all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
1723            *
1724            * <p>
1725            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1726            * </p>
1727            *
1728            * @param nodeId the node ID
1729            * @param parentTitle the parent title
1730            * @param start the lower bound of the range of wiki pages
1731            * @param end the upper bound of the range of wiki pages (not inclusive)
1732            * @return the range of matching wiki pages
1733            * @throws SystemException if a system exception occurred
1734            */
1735            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
1736                    long nodeId, java.lang.String parentTitle, int start, int end)
1737                    throws com.liferay.portal.kernel.exception.SystemException {
1738                    return getPersistence().findByN_P(nodeId, parentTitle, start, end);
1739            }
1740    
1741            /**
1742            * Returns an ordered range of all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
1743            *
1744            * <p>
1745            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1746            * </p>
1747            *
1748            * @param nodeId the node ID
1749            * @param parentTitle the parent title
1750            * @param start the lower bound of the range of wiki pages
1751            * @param end the upper bound of the range of wiki pages (not inclusive)
1752            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1753            * @return the ordered range of matching wiki pages
1754            * @throws SystemException if a system exception occurred
1755            */
1756            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
1757                    long nodeId, java.lang.String parentTitle, int start, int end,
1758                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1759                    throws com.liferay.portal.kernel.exception.SystemException {
1760                    return getPersistence()
1761                                       .findByN_P(nodeId, parentTitle, start, end, orderByComparator);
1762            }
1763    
1764            /**
1765            * Returns the first wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1766            *
1767            * @param nodeId the node ID
1768            * @param parentTitle the parent title
1769            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1770            * @return the first matching wiki page
1771            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1772            * @throws SystemException if a system exception occurred
1773            */
1774            public static com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
1775                    long nodeId, java.lang.String parentTitle,
1776                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1777                    throws com.liferay.portal.kernel.exception.SystemException,
1778                            com.liferay.portlet.wiki.NoSuchPageException {
1779                    return getPersistence()
1780                                       .findByN_P_First(nodeId, parentTitle, orderByComparator);
1781            }
1782    
1783            /**
1784            * Returns the first wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1785            *
1786            * @param nodeId the node ID
1787            * @param parentTitle the parent title
1788            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1789            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1790            * @throws SystemException if a system exception occurred
1791            */
1792            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_P_First(
1793                    long nodeId, java.lang.String parentTitle,
1794                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1795                    throws com.liferay.portal.kernel.exception.SystemException {
1796                    return getPersistence()
1797                                       .fetchByN_P_First(nodeId, parentTitle, orderByComparator);
1798            }
1799    
1800            /**
1801            * Returns the last wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1802            *
1803            * @param nodeId the node ID
1804            * @param parentTitle the parent title
1805            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1806            * @return the last matching wiki page
1807            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1808            * @throws SystemException if a system exception occurred
1809            */
1810            public static com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(
1811                    long nodeId, java.lang.String parentTitle,
1812                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1813                    throws com.liferay.portal.kernel.exception.SystemException,
1814                            com.liferay.portlet.wiki.NoSuchPageException {
1815                    return getPersistence()
1816                                       .findByN_P_Last(nodeId, parentTitle, orderByComparator);
1817            }
1818    
1819            /**
1820            * Returns the last wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1821            *
1822            * @param nodeId the node ID
1823            * @param parentTitle the parent title
1824            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1825            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1826            * @throws SystemException if a system exception occurred
1827            */
1828            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_P_Last(
1829                    long nodeId, java.lang.String parentTitle,
1830                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1831                    throws com.liferay.portal.kernel.exception.SystemException {
1832                    return getPersistence()
1833                                       .fetchByN_P_Last(nodeId, parentTitle, orderByComparator);
1834            }
1835    
1836            /**
1837            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
1838            *
1839            * @param pageId the primary key of the current wiki page
1840            * @param nodeId the node ID
1841            * @param parentTitle the parent title
1842            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1843            * @return the previous, current, and next wiki page
1844            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1845            * @throws SystemException if a system exception occurred
1846            */
1847            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
1848                    long pageId, long nodeId, java.lang.String parentTitle,
1849                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1850                    throws com.liferay.portal.kernel.exception.SystemException,
1851                            com.liferay.portlet.wiki.NoSuchPageException {
1852                    return getPersistence()
1853                                       .findByN_P_PrevAndNext(pageId, nodeId, parentTitle,
1854                            orderByComparator);
1855            }
1856    
1857            /**
1858            * Removes all the wiki pages where nodeId = &#63; and parentTitle = &#63; from the database.
1859            *
1860            * @param nodeId the node ID
1861            * @param parentTitle the parent title
1862            * @throws SystemException if a system exception occurred
1863            */
1864            public static void removeByN_P(long nodeId, java.lang.String parentTitle)
1865                    throws com.liferay.portal.kernel.exception.SystemException {
1866                    getPersistence().removeByN_P(nodeId, parentTitle);
1867            }
1868    
1869            /**
1870            * Returns the number of wiki pages where nodeId = &#63; and parentTitle = &#63;.
1871            *
1872            * @param nodeId the node ID
1873            * @param parentTitle the parent title
1874            * @return the number of matching wiki pages
1875            * @throws SystemException if a system exception occurred
1876            */
1877            public static int countByN_P(long nodeId, java.lang.String parentTitle)
1878                    throws com.liferay.portal.kernel.exception.SystemException {
1879                    return getPersistence().countByN_P(nodeId, parentTitle);
1880            }
1881    
1882            /**
1883            * Returns all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1884            *
1885            * @param nodeId the node ID
1886            * @param redirectTitle the redirect title
1887            * @return the matching wiki pages
1888            * @throws SystemException if a system exception occurred
1889            */
1890            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1891                    long nodeId, java.lang.String redirectTitle)
1892                    throws com.liferay.portal.kernel.exception.SystemException {
1893                    return getPersistence().findByN_R(nodeId, redirectTitle);
1894            }
1895    
1896            /**
1897            * Returns a range of all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1898            *
1899            * <p>
1900            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1901            * </p>
1902            *
1903            * @param nodeId the node ID
1904            * @param redirectTitle the redirect title
1905            * @param start the lower bound of the range of wiki pages
1906            * @param end the upper bound of the range of wiki pages (not inclusive)
1907            * @return the range of matching wiki pages
1908            * @throws SystemException if a system exception occurred
1909            */
1910            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1911                    long nodeId, java.lang.String redirectTitle, int start, int end)
1912                    throws com.liferay.portal.kernel.exception.SystemException {
1913                    return getPersistence().findByN_R(nodeId, redirectTitle, start, end);
1914            }
1915    
1916            /**
1917            * Returns an ordered range of all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1918            *
1919            * <p>
1920            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1921            * </p>
1922            *
1923            * @param nodeId the node ID
1924            * @param redirectTitle the redirect title
1925            * @param start the lower bound of the range of wiki pages
1926            * @param end the upper bound of the range of wiki pages (not inclusive)
1927            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1928            * @return the ordered range of matching wiki pages
1929            * @throws SystemException if a system exception occurred
1930            */
1931            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1932                    long nodeId, java.lang.String redirectTitle, int start, int end,
1933                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1934                    throws com.liferay.portal.kernel.exception.SystemException {
1935                    return getPersistence()
1936                                       .findByN_R(nodeId, redirectTitle, start, end,
1937                            orderByComparator);
1938            }
1939    
1940            /**
1941            * Returns the first wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1942            *
1943            * @param nodeId the node ID
1944            * @param redirectTitle the redirect title
1945            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1946            * @return the first matching wiki page
1947            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1948            * @throws SystemException if a system exception occurred
1949            */
1950            public static com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
1951                    long nodeId, java.lang.String redirectTitle,
1952                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1953                    throws com.liferay.portal.kernel.exception.SystemException,
1954                            com.liferay.portlet.wiki.NoSuchPageException {
1955                    return getPersistence()
1956                                       .findByN_R_First(nodeId, redirectTitle, orderByComparator);
1957            }
1958    
1959            /**
1960            * Returns the first wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1961            *
1962            * @param nodeId the node ID
1963            * @param redirectTitle the redirect title
1964            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1965            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1966            * @throws SystemException if a system exception occurred
1967            */
1968            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_R_First(
1969                    long nodeId, java.lang.String redirectTitle,
1970                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1971                    throws com.liferay.portal.kernel.exception.SystemException {
1972                    return getPersistence()
1973                                       .fetchByN_R_First(nodeId, redirectTitle, orderByComparator);
1974            }
1975    
1976            /**
1977            * Returns the last wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1978            *
1979            * @param nodeId the node ID
1980            * @param redirectTitle the redirect title
1981            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1982            * @return the last matching wiki page
1983            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1984            * @throws SystemException if a system exception occurred
1985            */
1986            public static com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(
1987                    long nodeId, java.lang.String redirectTitle,
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                                       .findByN_R_Last(nodeId, redirectTitle, orderByComparator);
1993            }
1994    
1995            /**
1996            * Returns the last wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1997            *
1998            * @param nodeId the node ID
1999            * @param redirectTitle the redirect title
2000            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2001            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2002            * @throws SystemException if a system exception occurred
2003            */
2004            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_R_Last(
2005                    long nodeId, java.lang.String redirectTitle,
2006                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2007                    throws com.liferay.portal.kernel.exception.SystemException {
2008                    return getPersistence()
2009                                       .fetchByN_R_Last(nodeId, redirectTitle, orderByComparator);
2010            }
2011    
2012            /**
2013            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
2014            *
2015            * @param pageId the primary key of the current wiki page
2016            * @param nodeId the node ID
2017            * @param redirectTitle the redirect title
2018            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2019            * @return the previous, current, and next wiki page
2020            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2021            * @throws SystemException if a system exception occurred
2022            */
2023            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
2024                    long pageId, long nodeId, java.lang.String redirectTitle,
2025                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2026                    throws com.liferay.portal.kernel.exception.SystemException,
2027                            com.liferay.portlet.wiki.NoSuchPageException {
2028                    return getPersistence()
2029                                       .findByN_R_PrevAndNext(pageId, nodeId, redirectTitle,
2030                            orderByComparator);
2031            }
2032    
2033            /**
2034            * Removes all the wiki pages where nodeId = &#63; and redirectTitle = &#63; from the database.
2035            *
2036            * @param nodeId the node ID
2037            * @param redirectTitle the redirect title
2038            * @throws SystemException if a system exception occurred
2039            */
2040            public static void removeByN_R(long nodeId, java.lang.String redirectTitle)
2041                    throws com.liferay.portal.kernel.exception.SystemException {
2042                    getPersistence().removeByN_R(nodeId, redirectTitle);
2043            }
2044    
2045            /**
2046            * Returns the number of wiki pages where nodeId = &#63; and redirectTitle = &#63;.
2047            *
2048            * @param nodeId the node ID
2049            * @param redirectTitle the redirect title
2050            * @return the number of matching wiki pages
2051            * @throws SystemException if a system exception occurred
2052            */
2053            public static int countByN_R(long nodeId, java.lang.String redirectTitle)
2054                    throws com.liferay.portal.kernel.exception.SystemException {
2055                    return getPersistence().countByN_R(nodeId, redirectTitle);
2056            }
2057    
2058            /**
2059            * Returns all the wiki pages where nodeId = &#63; and status = &#63;.
2060            *
2061            * @param nodeId the node ID
2062            * @param status the status
2063            * @return the matching wiki pages
2064            * @throws SystemException if a system exception occurred
2065            */
2066            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
2067                    long nodeId, int status)
2068                    throws com.liferay.portal.kernel.exception.SystemException {
2069                    return getPersistence().findByN_S(nodeId, status);
2070            }
2071    
2072            /**
2073            * Returns a range of all the wiki pages where nodeId = &#63; and status = &#63;.
2074            *
2075            * <p>
2076            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2077            * </p>
2078            *
2079            * @param nodeId the node ID
2080            * @param status the status
2081            * @param start the lower bound of the range of wiki pages
2082            * @param end the upper bound of the range of wiki pages (not inclusive)
2083            * @return the range of matching wiki pages
2084            * @throws SystemException if a system exception occurred
2085            */
2086            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
2087                    long nodeId, int status, int start, int end)
2088                    throws com.liferay.portal.kernel.exception.SystemException {
2089                    return getPersistence().findByN_S(nodeId, status, start, end);
2090            }
2091    
2092            /**
2093            * Returns an ordered range of all the wiki pages where nodeId = &#63; and status = &#63;.
2094            *
2095            * <p>
2096            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2097            * </p>
2098            *
2099            * @param nodeId the node ID
2100            * @param status the status
2101            * @param start the lower bound of the range of wiki pages
2102            * @param end the upper bound of the range of wiki pages (not inclusive)
2103            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2104            * @return the ordered range of matching wiki pages
2105            * @throws SystemException if a system exception occurred
2106            */
2107            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
2108                    long nodeId, int status, int start, int end,
2109                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2110                    throws com.liferay.portal.kernel.exception.SystemException {
2111                    return getPersistence()
2112                                       .findByN_S(nodeId, status, start, end, orderByComparator);
2113            }
2114    
2115            /**
2116            * Returns the first wiki page in the ordered set where nodeId = &#63; and status = &#63;.
2117            *
2118            * @param nodeId the node ID
2119            * @param status the status
2120            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2121            * @return the first matching wiki page
2122            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2123            * @throws SystemException if a system exception occurred
2124            */
2125            public static com.liferay.portlet.wiki.model.WikiPage findByN_S_First(
2126                    long nodeId, int status,
2127                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2128                    throws com.liferay.portal.kernel.exception.SystemException,
2129                            com.liferay.portlet.wiki.NoSuchPageException {
2130                    return getPersistence()
2131                                       .findByN_S_First(nodeId, status, orderByComparator);
2132            }
2133    
2134            /**
2135            * Returns the first wiki page in the ordered set where nodeId = &#63; and status = &#63;.
2136            *
2137            * @param nodeId the node ID
2138            * @param status the status
2139            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2140            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2141            * @throws SystemException if a system exception occurred
2142            */
2143            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_S_First(
2144                    long nodeId, int status,
2145                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2146                    throws com.liferay.portal.kernel.exception.SystemException {
2147                    return getPersistence()
2148                                       .fetchByN_S_First(nodeId, status, orderByComparator);
2149            }
2150    
2151            /**
2152            * Returns the last wiki page in the ordered set where nodeId = &#63; and status = &#63;.
2153            *
2154            * @param nodeId the node ID
2155            * @param status the status
2156            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2157            * @return the last matching wiki page
2158            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2159            * @throws SystemException if a system exception occurred
2160            */
2161            public static com.liferay.portlet.wiki.model.WikiPage findByN_S_Last(
2162                    long nodeId, int status,
2163                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2164                    throws com.liferay.portal.kernel.exception.SystemException,
2165                            com.liferay.portlet.wiki.NoSuchPageException {
2166                    return getPersistence().findByN_S_Last(nodeId, status, orderByComparator);
2167            }
2168    
2169            /**
2170            * Returns the last wiki page in the ordered set where nodeId = &#63; and status = &#63;.
2171            *
2172            * @param nodeId the node ID
2173            * @param status the status
2174            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2175            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2176            * @throws SystemException if a system exception occurred
2177            */
2178            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_S_Last(
2179                    long nodeId, int status,
2180                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2181                    throws com.liferay.portal.kernel.exception.SystemException {
2182                    return getPersistence()
2183                                       .fetchByN_S_Last(nodeId, status, orderByComparator);
2184            }
2185    
2186            /**
2187            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and status = &#63;.
2188            *
2189            * @param pageId the primary key of the current wiki page
2190            * @param nodeId the node ID
2191            * @param status the status
2192            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2193            * @return the previous, current, and next wiki page
2194            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2195            * @throws SystemException if a system exception occurred
2196            */
2197            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_S_PrevAndNext(
2198                    long pageId, long nodeId, int status,
2199                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2200                    throws com.liferay.portal.kernel.exception.SystemException,
2201                            com.liferay.portlet.wiki.NoSuchPageException {
2202                    return getPersistence()
2203                                       .findByN_S_PrevAndNext(pageId, nodeId, status,
2204                            orderByComparator);
2205            }
2206    
2207            /**
2208            * Removes all the wiki pages where nodeId = &#63; and status = &#63; from the database.
2209            *
2210            * @param nodeId the node ID
2211            * @param status the status
2212            * @throws SystemException if a system exception occurred
2213            */
2214            public static void removeByN_S(long nodeId, int status)
2215                    throws com.liferay.portal.kernel.exception.SystemException {
2216                    getPersistence().removeByN_S(nodeId, status);
2217            }
2218    
2219            /**
2220            * Returns the number of wiki pages where nodeId = &#63; and status = &#63;.
2221            *
2222            * @param nodeId the node ID
2223            * @param status the status
2224            * @return the number of matching wiki pages
2225            * @throws SystemException if a system exception occurred
2226            */
2227            public static int countByN_S(long nodeId, int status)
2228                    throws com.liferay.portal.kernel.exception.SystemException {
2229                    return getPersistence().countByN_S(nodeId, status);
2230            }
2231    
2232            /**
2233            * 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.
2234            *
2235            * @param resourcePrimKey the resource prim key
2236            * @param nodeId the node ID
2237            * @param version the version
2238            * @return the matching wiki page
2239            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2240            * @throws SystemException if a system exception occurred
2241            */
2242            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_V(
2243                    long resourcePrimKey, long nodeId, double version)
2244                    throws com.liferay.portal.kernel.exception.SystemException,
2245                            com.liferay.portlet.wiki.NoSuchPageException {
2246                    return getPersistence().findByR_N_V(resourcePrimKey, nodeId, version);
2247            }
2248    
2249            /**
2250            * 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.
2251            *
2252            * @param resourcePrimKey the resource prim key
2253            * @param nodeId the node ID
2254            * @param version the version
2255            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
2256            * @throws SystemException if a system exception occurred
2257            */
2258            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V(
2259                    long resourcePrimKey, long nodeId, double version)
2260                    throws com.liferay.portal.kernel.exception.SystemException {
2261                    return getPersistence().fetchByR_N_V(resourcePrimKey, nodeId, version);
2262            }
2263    
2264            /**
2265            * 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.
2266            *
2267            * @param resourcePrimKey the resource prim key
2268            * @param nodeId the node ID
2269            * @param version the version
2270            * @param retrieveFromCache whether to use the finder cache
2271            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
2272            * @throws SystemException if a system exception occurred
2273            */
2274            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V(
2275                    long resourcePrimKey, long nodeId, double version,
2276                    boolean retrieveFromCache)
2277                    throws com.liferay.portal.kernel.exception.SystemException {
2278                    return getPersistence()
2279                                       .fetchByR_N_V(resourcePrimKey, nodeId, version,
2280                            retrieveFromCache);
2281            }
2282    
2283            /**
2284            * Removes the wiki page where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63; from the database.
2285            *
2286            * @param resourcePrimKey the resource prim key
2287            * @param nodeId the node ID
2288            * @param version the version
2289            * @return the wiki page that was removed
2290            * @throws SystemException if a system exception occurred
2291            */
2292            public static com.liferay.portlet.wiki.model.WikiPage removeByR_N_V(
2293                    long resourcePrimKey, long nodeId, double version)
2294                    throws com.liferay.portal.kernel.exception.SystemException,
2295                            com.liferay.portlet.wiki.NoSuchPageException {
2296                    return getPersistence().removeByR_N_V(resourcePrimKey, nodeId, version);
2297            }
2298    
2299            /**
2300            * Returns the number of wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63;.
2301            *
2302            * @param resourcePrimKey the resource prim key
2303            * @param nodeId the node ID
2304            * @param version the version
2305            * @return the number of matching wiki pages
2306            * @throws SystemException if a system exception occurred
2307            */
2308            public static int countByR_N_V(long resourcePrimKey, long nodeId,
2309                    double version)
2310                    throws com.liferay.portal.kernel.exception.SystemException {
2311                    return getPersistence().countByR_N_V(resourcePrimKey, nodeId, version);
2312            }
2313    
2314            /**
2315            * Returns all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and head = &#63;.
2316            *
2317            * @param resourcePrimKey the resource prim key
2318            * @param nodeId the node ID
2319            * @param head the head
2320            * @return the matching wiki pages
2321            * @throws SystemException if a system exception occurred
2322            */
2323            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_H(
2324                    long resourcePrimKey, long nodeId, boolean head)
2325                    throws com.liferay.portal.kernel.exception.SystemException {
2326                    return getPersistence().findByR_N_H(resourcePrimKey, nodeId, head);
2327            }
2328    
2329            /**
2330            * Returns a range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and head = &#63;.
2331            *
2332            * <p>
2333            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2334            * </p>
2335            *
2336            * @param resourcePrimKey the resource prim key
2337            * @param nodeId the node ID
2338            * @param head the head
2339            * @param start the lower bound of the range of wiki pages
2340            * @param end the upper bound of the range of wiki pages (not inclusive)
2341            * @return the range of matching wiki pages
2342            * @throws SystemException if a system exception occurred
2343            */
2344            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_H(
2345                    long resourcePrimKey, long nodeId, boolean head, int start, int end)
2346                    throws com.liferay.portal.kernel.exception.SystemException {
2347                    return getPersistence()
2348                                       .findByR_N_H(resourcePrimKey, nodeId, head, start, end);
2349            }
2350    
2351            /**
2352            * Returns an ordered range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and head = &#63;.
2353            *
2354            * <p>
2355            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2356            * </p>
2357            *
2358            * @param resourcePrimKey the resource prim key
2359            * @param nodeId the node ID
2360            * @param head the head
2361            * @param start the lower bound of the range of wiki pages
2362            * @param end the upper bound of the range of wiki pages (not inclusive)
2363            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2364            * @return the ordered range of matching wiki pages
2365            * @throws SystemException if a system exception occurred
2366            */
2367            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_H(
2368                    long resourcePrimKey, long nodeId, boolean head, int start, int end,
2369                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2370                    throws com.liferay.portal.kernel.exception.SystemException {
2371                    return getPersistence()
2372                                       .findByR_N_H(resourcePrimKey, nodeId, head, start, end,
2373                            orderByComparator);
2374            }
2375    
2376            /**
2377            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and head = &#63;.
2378            *
2379            * @param resourcePrimKey the resource prim key
2380            * @param nodeId the node ID
2381            * @param head the head
2382            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2383            * @return the first matching wiki page
2384            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2385            * @throws SystemException if a system exception occurred
2386            */
2387            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_H_First(
2388                    long resourcePrimKey, long nodeId, boolean head,
2389                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2390                    throws com.liferay.portal.kernel.exception.SystemException,
2391                            com.liferay.portlet.wiki.NoSuchPageException {
2392                    return getPersistence()
2393                                       .findByR_N_H_First(resourcePrimKey, nodeId, head,
2394                            orderByComparator);
2395            }
2396    
2397            /**
2398            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and head = &#63;.
2399            *
2400            * @param resourcePrimKey the resource prim key
2401            * @param nodeId the node ID
2402            * @param head the head
2403            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2404            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2405            * @throws SystemException if a system exception occurred
2406            */
2407            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_H_First(
2408                    long resourcePrimKey, long nodeId, boolean head,
2409                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2410                    throws com.liferay.portal.kernel.exception.SystemException {
2411                    return getPersistence()
2412                                       .fetchByR_N_H_First(resourcePrimKey, nodeId, head,
2413                            orderByComparator);
2414            }
2415    
2416            /**
2417            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and head = &#63;.
2418            *
2419            * @param resourcePrimKey the resource prim key
2420            * @param nodeId the node ID
2421            * @param head the head
2422            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2423            * @return the last matching wiki page
2424            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2425            * @throws SystemException if a system exception occurred
2426            */
2427            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_H_Last(
2428                    long resourcePrimKey, long nodeId, boolean head,
2429                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2430                    throws com.liferay.portal.kernel.exception.SystemException,
2431                            com.liferay.portlet.wiki.NoSuchPageException {
2432                    return getPersistence()
2433                                       .findByR_N_H_Last(resourcePrimKey, nodeId, head,
2434                            orderByComparator);
2435            }
2436    
2437            /**
2438            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and head = &#63;.
2439            *
2440            * @param resourcePrimKey the resource prim key
2441            * @param nodeId the node ID
2442            * @param head the head
2443            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2444            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2445            * @throws SystemException if a system exception occurred
2446            */
2447            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_H_Last(
2448                    long resourcePrimKey, long nodeId, boolean head,
2449                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2450                    throws com.liferay.portal.kernel.exception.SystemException {
2451                    return getPersistence()
2452                                       .fetchByR_N_H_Last(resourcePrimKey, nodeId, head,
2453                            orderByComparator);
2454            }
2455    
2456            /**
2457            * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and head = &#63;.
2458            *
2459            * @param pageId the primary key of the current wiki page
2460            * @param resourcePrimKey the resource prim key
2461            * @param nodeId the node ID
2462            * @param head the head
2463            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2464            * @return the previous, current, and next wiki page
2465            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2466            * @throws SystemException if a system exception occurred
2467            */
2468            public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_H_PrevAndNext(
2469                    long pageId, long resourcePrimKey, long nodeId, boolean head,
2470                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2471                    throws com.liferay.portal.kernel.exception.SystemException,
2472                            com.liferay.portlet.wiki.NoSuchPageException {
2473                    return getPersistence()
2474                                       .findByR_N_H_PrevAndNext(pageId, resourcePrimKey, nodeId,
2475                            head, orderByComparator);
2476            }
2477    
2478            /**
2479            * Removes all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and head = &#63; from the database.
2480            *
2481            * @param resourcePrimKey the resource prim key
2482            * @param nodeId the node ID
2483            * @param head the head
2484            * @throws SystemException if a system exception occurred
2485            */
2486            public static void removeByR_N_H(long resourcePrimKey, long nodeId,
2487                    boolean head)
2488                    throws com.liferay.portal.kernel.exception.SystemException {
2489                    getPersistence().removeByR_N_H(resourcePrimKey, nodeId, head);
2490            }
2491    
2492            /**
2493            * Returns the number of wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and head = &#63;.
2494            *
2495            * @param resourcePrimKey the resource prim key
2496            * @param nodeId the node ID
2497            * @param head the head
2498            * @return the number of matching wiki pages
2499            * @throws SystemException if a system exception occurred
2500            */
2501            public static int countByR_N_H(long resourcePrimKey, long nodeId,
2502                    boolean head)
2503                    throws com.liferay.portal.kernel.exception.SystemException {
2504                    return getPersistence().countByR_N_H(resourcePrimKey, nodeId, head);
2505            }
2506    
2507            /**
2508            * Returns all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2509            *
2510            * @param resourcePrimKey the resource prim key
2511            * @param nodeId the node ID
2512            * @param status the status
2513            * @return the matching wiki pages
2514            * @throws SystemException if a system exception occurred
2515            */
2516            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
2517                    long resourcePrimKey, long nodeId, int status)
2518                    throws com.liferay.portal.kernel.exception.SystemException {
2519                    return getPersistence().findByR_N_S(resourcePrimKey, nodeId, status);
2520            }
2521    
2522            /**
2523            * Returns a range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2524            *
2525            * <p>
2526            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2527            * </p>
2528            *
2529            * @param resourcePrimKey the resource prim key
2530            * @param nodeId the node ID
2531            * @param status the status
2532            * @param start the lower bound of the range of wiki pages
2533            * @param end the upper bound of the range of wiki pages (not inclusive)
2534            * @return the range of matching wiki pages
2535            * @throws SystemException if a system exception occurred
2536            */
2537            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
2538                    long resourcePrimKey, long nodeId, int status, int start, int end)
2539                    throws com.liferay.portal.kernel.exception.SystemException {
2540                    return getPersistence()
2541                                       .findByR_N_S(resourcePrimKey, nodeId, status, start, end);
2542            }
2543    
2544            /**
2545            * Returns an ordered range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2546            *
2547            * <p>
2548            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2549            * </p>
2550            *
2551            * @param resourcePrimKey the resource prim key
2552            * @param nodeId the node ID
2553            * @param status the status
2554            * @param start the lower bound of the range of wiki pages
2555            * @param end the upper bound of the range of wiki pages (not inclusive)
2556            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2557            * @return the ordered range of matching wiki pages
2558            * @throws SystemException if a system exception occurred
2559            */
2560            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
2561                    long resourcePrimKey, long nodeId, int status, int start, int end,
2562                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2563                    throws com.liferay.portal.kernel.exception.SystemException {
2564                    return getPersistence()
2565                                       .findByR_N_S(resourcePrimKey, nodeId, status, start, end,
2566                            orderByComparator);
2567            }
2568    
2569            /**
2570            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2571            *
2572            * @param resourcePrimKey the resource prim key
2573            * @param nodeId the node ID
2574            * @param status the status
2575            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2576            * @return the first matching wiki page
2577            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2578            * @throws SystemException if a system exception occurred
2579            */
2580            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_S_First(
2581                    long resourcePrimKey, long nodeId, int status,
2582                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2583                    throws com.liferay.portal.kernel.exception.SystemException,
2584                            com.liferay.portlet.wiki.NoSuchPageException {
2585                    return getPersistence()
2586                                       .findByR_N_S_First(resourcePrimKey, nodeId, status,
2587                            orderByComparator);
2588            }
2589    
2590            /**
2591            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2592            *
2593            * @param resourcePrimKey the resource prim key
2594            * @param nodeId the node ID
2595            * @param status the status
2596            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2597            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2598            * @throws SystemException if a system exception occurred
2599            */
2600            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_First(
2601                    long resourcePrimKey, long nodeId, int status,
2602                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2603                    throws com.liferay.portal.kernel.exception.SystemException {
2604                    return getPersistence()
2605                                       .fetchByR_N_S_First(resourcePrimKey, nodeId, status,
2606                            orderByComparator);
2607            }
2608    
2609            /**
2610            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2611            *
2612            * @param resourcePrimKey the resource prim key
2613            * @param nodeId the node ID
2614            * @param status the status
2615            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2616            * @return the last matching wiki page
2617            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2618            * @throws SystemException if a system exception occurred
2619            */
2620            public static com.liferay.portlet.wiki.model.WikiPage findByR_N_S_Last(
2621                    long resourcePrimKey, long nodeId, int status,
2622                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2623                    throws com.liferay.portal.kernel.exception.SystemException,
2624                            com.liferay.portlet.wiki.NoSuchPageException {
2625                    return getPersistence()
2626                                       .findByR_N_S_Last(resourcePrimKey, nodeId, status,
2627                            orderByComparator);
2628            }
2629    
2630            /**
2631            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2632            *
2633            * @param resourcePrimKey the resource prim key
2634            * @param nodeId the node ID
2635            * @param status the status
2636            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2637            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2638            * @throws SystemException if a system exception occurred
2639            */
2640            public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_Last(
2641                    long resourcePrimKey, long nodeId, int status,
2642                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2643                    throws com.liferay.portal.kernel.exception.SystemException {
2644                    return getPersistence()
2645                                       .fetchByR_N_S_Last(resourcePrimKey, nodeId, status,
2646                            orderByComparator);
2647            }
2648    
2649            /**
2650            * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2651            *
2652            * @param pageId the primary key of the current wiki page
2653            * @param resourcePrimKey the resource prim key
2654            * @param nodeId the node ID
2655            * @param status the status
2656            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2657            * @return the previous, current, and next wiki page
2658            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2659            * @throws SystemException if a system exception occurred
2660            */
2661            public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_S_PrevAndNext(
2662                    long pageId, long resourcePrimKey, long nodeId, int status,
2663                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2664                    throws com.liferay.portal.kernel.exception.SystemException,
2665                            com.liferay.portlet.wiki.NoSuchPageException {
2666                    return getPersistence()
2667                                       .findByR_N_S_PrevAndNext(pageId, resourcePrimKey, nodeId,
2668                            status, orderByComparator);
2669            }
2670    
2671            /**
2672            * Removes all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63; from the database.
2673            *
2674            * @param resourcePrimKey the resource prim key
2675            * @param nodeId the node ID
2676            * @param status the status
2677            * @throws SystemException if a system exception occurred
2678            */
2679            public static void removeByR_N_S(long resourcePrimKey, long nodeId,
2680                    int status) throws com.liferay.portal.kernel.exception.SystemException {
2681                    getPersistence().removeByR_N_S(resourcePrimKey, nodeId, status);
2682            }
2683    
2684            /**
2685            * Returns the number of wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2686            *
2687            * @param resourcePrimKey the resource prim key
2688            * @param nodeId the node ID
2689            * @param status the status
2690            * @return the number of matching wiki pages
2691            * @throws SystemException if a system exception occurred
2692            */
2693            public static int countByR_N_S(long resourcePrimKey, long nodeId, int status)
2694                    throws com.liferay.portal.kernel.exception.SystemException {
2695                    return getPersistence().countByR_N_S(resourcePrimKey, nodeId, status);
2696            }
2697    
2698            /**
2699            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63;.
2700            *
2701            * @param groupId the group ID
2702            * @param nodeId the node ID
2703            * @param head the head
2704            * @return the matching wiki pages
2705            * @throws SystemException if a system exception occurred
2706            */
2707            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H(
2708                    long groupId, long nodeId, boolean head)
2709                    throws com.liferay.portal.kernel.exception.SystemException {
2710                    return getPersistence().findByG_N_H(groupId, nodeId, head);
2711            }
2712    
2713            /**
2714            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63;.
2715            *
2716            * <p>
2717            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2718            * </p>
2719            *
2720            * @param groupId the group ID
2721            * @param nodeId the node ID
2722            * @param head the head
2723            * @param start the lower bound of the range of wiki pages
2724            * @param end the upper bound of the range of wiki pages (not inclusive)
2725            * @return the range of matching wiki pages
2726            * @throws SystemException if a system exception occurred
2727            */
2728            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H(
2729                    long groupId, long nodeId, boolean head, int start, int end)
2730                    throws com.liferay.portal.kernel.exception.SystemException {
2731                    return getPersistence().findByG_N_H(groupId, nodeId, head, start, end);
2732            }
2733    
2734            /**
2735            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63;.
2736            *
2737            * <p>
2738            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2739            * </p>
2740            *
2741            * @param groupId the group ID
2742            * @param nodeId the node ID
2743            * @param head the head
2744            * @param start the lower bound of the range of wiki pages
2745            * @param end the upper bound of the range of wiki pages (not inclusive)
2746            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2747            * @return the ordered range of matching wiki pages
2748            * @throws SystemException if a system exception occurred
2749            */
2750            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H(
2751                    long groupId, long nodeId, boolean head, int start, int end,
2752                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2753                    throws com.liferay.portal.kernel.exception.SystemException {
2754                    return getPersistence()
2755                                       .findByG_N_H(groupId, nodeId, head, start, end,
2756                            orderByComparator);
2757            }
2758    
2759            /**
2760            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63;.
2761            *
2762            * @param groupId the group ID
2763            * @param nodeId the node ID
2764            * @param head the head
2765            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2766            * @return the first matching wiki page
2767            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2768            * @throws SystemException if a system exception occurred
2769            */
2770            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_First(
2771                    long groupId, long nodeId, boolean head,
2772                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2773                    throws com.liferay.portal.kernel.exception.SystemException,
2774                            com.liferay.portlet.wiki.NoSuchPageException {
2775                    return getPersistence()
2776                                       .findByG_N_H_First(groupId, nodeId, head, orderByComparator);
2777            }
2778    
2779            /**
2780            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63;.
2781            *
2782            * @param groupId the group ID
2783            * @param nodeId the node ID
2784            * @param head the head
2785            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2786            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2787            * @throws SystemException if a system exception occurred
2788            */
2789            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_First(
2790                    long groupId, long nodeId, boolean head,
2791                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2792                    throws com.liferay.portal.kernel.exception.SystemException {
2793                    return getPersistence()
2794                                       .fetchByG_N_H_First(groupId, nodeId, head, orderByComparator);
2795            }
2796    
2797            /**
2798            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63;.
2799            *
2800            * @param groupId the group ID
2801            * @param nodeId the node ID
2802            * @param head the head
2803            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2804            * @return the last matching wiki page
2805            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2806            * @throws SystemException if a system exception occurred
2807            */
2808            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_Last(
2809                    long groupId, long nodeId, boolean head,
2810                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2811                    throws com.liferay.portal.kernel.exception.SystemException,
2812                            com.liferay.portlet.wiki.NoSuchPageException {
2813                    return getPersistence()
2814                                       .findByG_N_H_Last(groupId, nodeId, head, orderByComparator);
2815            }
2816    
2817            /**
2818            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63;.
2819            *
2820            * @param groupId the group ID
2821            * @param nodeId the node ID
2822            * @param head the head
2823            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2824            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2825            * @throws SystemException if a system exception occurred
2826            */
2827            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_Last(
2828                    long groupId, long nodeId, boolean head,
2829                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2830                    throws com.liferay.portal.kernel.exception.SystemException {
2831                    return getPersistence()
2832                                       .fetchByG_N_H_Last(groupId, nodeId, head, orderByComparator);
2833            }
2834    
2835            /**
2836            * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63;.
2837            *
2838            * @param pageId the primary key of the current wiki page
2839            * @param groupId the group ID
2840            * @param nodeId the node ID
2841            * @param head the head
2842            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2843            * @return the previous, current, and next wiki page
2844            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2845            * @throws SystemException if a system exception occurred
2846            */
2847            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_PrevAndNext(
2848                    long pageId, long groupId, long nodeId, boolean head,
2849                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2850                    throws com.liferay.portal.kernel.exception.SystemException,
2851                            com.liferay.portlet.wiki.NoSuchPageException {
2852                    return getPersistence()
2853                                       .findByG_N_H_PrevAndNext(pageId, groupId, nodeId, head,
2854                            orderByComparator);
2855            }
2856    
2857            /**
2858            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63;.
2859            *
2860            * @param groupId the group ID
2861            * @param nodeId the node ID
2862            * @param head the head
2863            * @return the matching wiki pages that the user has permission to view
2864            * @throws SystemException if a system exception occurred
2865            */
2866            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H(
2867                    long groupId, long nodeId, boolean head)
2868                    throws com.liferay.portal.kernel.exception.SystemException {
2869                    return getPersistence().filterFindByG_N_H(groupId, nodeId, head);
2870            }
2871    
2872            /**
2873            * Returns a range of all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63;.
2874            *
2875            * <p>
2876            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2877            * </p>
2878            *
2879            * @param groupId the group ID
2880            * @param nodeId the node ID
2881            * @param head the head
2882            * @param start the lower bound of the range of wiki pages
2883            * @param end the upper bound of the range of wiki pages (not inclusive)
2884            * @return the range of matching wiki pages that the user has permission to view
2885            * @throws SystemException if a system exception occurred
2886            */
2887            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H(
2888                    long groupId, long nodeId, boolean head, int start, int end)
2889                    throws com.liferay.portal.kernel.exception.SystemException {
2890                    return getPersistence()
2891                                       .filterFindByG_N_H(groupId, nodeId, head, start, end);
2892            }
2893    
2894            /**
2895            * 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;.
2896            *
2897            * <p>
2898            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
2899            * </p>
2900            *
2901            * @param groupId the group ID
2902            * @param nodeId the node ID
2903            * @param head the head
2904            * @param start the lower bound of the range of wiki pages
2905            * @param end the upper bound of the range of wiki pages (not inclusive)
2906            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2907            * @return the ordered range of matching wiki pages that the user has permission to view
2908            * @throws SystemException if a system exception occurred
2909            */
2910            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H(
2911                    long groupId, long nodeId, boolean head, int start, int end,
2912                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2913                    throws com.liferay.portal.kernel.exception.SystemException {
2914                    return getPersistence()
2915                                       .filterFindByG_N_H(groupId, nodeId, head, start, end,
2916                            orderByComparator);
2917            }
2918    
2919            /**
2920            * 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;.
2921            *
2922            * @param pageId the primary key of the current wiki page
2923            * @param groupId the group ID
2924            * @param nodeId the node ID
2925            * @param head the head
2926            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2927            * @return the previous, current, and next wiki page
2928            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2929            * @throws SystemException if a system exception occurred
2930            */
2931            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_PrevAndNext(
2932                    long pageId, long groupId, long nodeId, boolean head,
2933                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2934                    throws com.liferay.portal.kernel.exception.SystemException,
2935                            com.liferay.portlet.wiki.NoSuchPageException {
2936                    return getPersistence()
2937                                       .filterFindByG_N_H_PrevAndNext(pageId, groupId, nodeId,
2938                            head, orderByComparator);
2939            }
2940    
2941            /**
2942            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; from the database.
2943            *
2944            * @param groupId the group ID
2945            * @param nodeId the node ID
2946            * @param head the head
2947            * @throws SystemException if a system exception occurred
2948            */
2949            public static void removeByG_N_H(long groupId, long nodeId, boolean head)
2950                    throws com.liferay.portal.kernel.exception.SystemException {
2951                    getPersistence().removeByG_N_H(groupId, nodeId, head);
2952            }
2953    
2954            /**
2955            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63;.
2956            *
2957            * @param groupId the group ID
2958            * @param nodeId the node ID
2959            * @param head the head
2960            * @return the number of matching wiki pages
2961            * @throws SystemException if a system exception occurred
2962            */
2963            public static int countByG_N_H(long groupId, long nodeId, boolean head)
2964                    throws com.liferay.portal.kernel.exception.SystemException {
2965                    return getPersistence().countByG_N_H(groupId, nodeId, head);
2966            }
2967    
2968            /**
2969            * Returns the number of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63;.
2970            *
2971            * @param groupId the group ID
2972            * @param nodeId the node ID
2973            * @param head the head
2974            * @return the number of matching wiki pages that the user has permission to view
2975            * @throws SystemException if a system exception occurred
2976            */
2977            public static int filterCountByG_N_H(long groupId, long nodeId, boolean head)
2978                    throws com.liferay.portal.kernel.exception.SystemException {
2979                    return getPersistence().filterCountByG_N_H(groupId, nodeId, head);
2980            }
2981    
2982            /**
2983            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and status = &#63;.
2984            *
2985            * @param groupId the group ID
2986            * @param nodeId the node ID
2987            * @param status the status
2988            * @return the matching wiki pages
2989            * @throws SystemException if a system exception occurred
2990            */
2991            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S(
2992                    long groupId, long nodeId, int status)
2993                    throws com.liferay.portal.kernel.exception.SystemException {
2994                    return getPersistence().findByG_N_S(groupId, nodeId, status);
2995            }
2996    
2997            /**
2998            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and status = &#63;.
2999            *
3000            * <p>
3001            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3002            * </p>
3003            *
3004            * @param groupId the group ID
3005            * @param nodeId the node ID
3006            * @param status the status
3007            * @param start the lower bound of the range of wiki pages
3008            * @param end the upper bound of the range of wiki pages (not inclusive)
3009            * @return the range of matching wiki pages
3010            * @throws SystemException if a system exception occurred
3011            */
3012            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S(
3013                    long groupId, long nodeId, int status, int start, int end)
3014                    throws com.liferay.portal.kernel.exception.SystemException {
3015                    return getPersistence().findByG_N_S(groupId, nodeId, status, start, end);
3016            }
3017    
3018            /**
3019            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and status = &#63;.
3020            *
3021            * <p>
3022            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3023            * </p>
3024            *
3025            * @param groupId the group ID
3026            * @param nodeId the node ID
3027            * @param status the status
3028            * @param start the lower bound of the range of wiki pages
3029            * @param end the upper bound of the range of wiki pages (not inclusive)
3030            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3031            * @return the ordered range of matching wiki pages
3032            * @throws SystemException if a system exception occurred
3033            */
3034            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S(
3035                    long groupId, long nodeId, int status, int start, int end,
3036                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3037                    throws com.liferay.portal.kernel.exception.SystemException {
3038                    return getPersistence()
3039                                       .findByG_N_S(groupId, nodeId, status, start, end,
3040                            orderByComparator);
3041            }
3042    
3043            /**
3044            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and status = &#63;.
3045            *
3046            * @param groupId the group ID
3047            * @param nodeId the node ID
3048            * @param status the status
3049            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3050            * @return the first matching wiki page
3051            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3052            * @throws SystemException if a system exception occurred
3053            */
3054            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_S_First(
3055                    long groupId, long nodeId, int status,
3056                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3057                    throws com.liferay.portal.kernel.exception.SystemException,
3058                            com.liferay.portlet.wiki.NoSuchPageException {
3059                    return getPersistence()
3060                                       .findByG_N_S_First(groupId, nodeId, status, orderByComparator);
3061            }
3062    
3063            /**
3064            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and status = &#63;.
3065            *
3066            * @param groupId the group ID
3067            * @param nodeId the node ID
3068            * @param status the status
3069            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3070            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3071            * @throws SystemException if a system exception occurred
3072            */
3073            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_S_First(
3074                    long groupId, long nodeId, int status,
3075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3076                    throws com.liferay.portal.kernel.exception.SystemException {
3077                    return getPersistence()
3078                                       .fetchByG_N_S_First(groupId, nodeId, status,
3079                            orderByComparator);
3080            }
3081    
3082            /**
3083            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and status = &#63;.
3084            *
3085            * @param groupId the group ID
3086            * @param nodeId the node ID
3087            * @param status the status
3088            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3089            * @return the last matching wiki page
3090            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3091            * @throws SystemException if a system exception occurred
3092            */
3093            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_S_Last(
3094                    long groupId, long nodeId, int status,
3095                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3096                    throws com.liferay.portal.kernel.exception.SystemException,
3097                            com.liferay.portlet.wiki.NoSuchPageException {
3098                    return getPersistence()
3099                                       .findByG_N_S_Last(groupId, nodeId, status, orderByComparator);
3100            }
3101    
3102            /**
3103            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and status = &#63;.
3104            *
3105            * @param groupId the group ID
3106            * @param nodeId the node ID
3107            * @param status the status
3108            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3109            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3110            * @throws SystemException if a system exception occurred
3111            */
3112            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_S_Last(
3113                    long groupId, long nodeId, int status,
3114                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3115                    throws com.liferay.portal.kernel.exception.SystemException {
3116                    return getPersistence()
3117                                       .fetchByG_N_S_Last(groupId, nodeId, status, orderByComparator);
3118            }
3119    
3120            /**
3121            * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and status = &#63;.
3122            *
3123            * @param pageId the primary key of the current wiki page
3124            * @param groupId the group ID
3125            * @param nodeId the node ID
3126            * @param status the status
3127            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3128            * @return the previous, current, and next wiki page
3129            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3130            * @throws SystemException if a system exception occurred
3131            */
3132            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_S_PrevAndNext(
3133                    long pageId, long groupId, long nodeId, int status,
3134                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3135                    throws com.liferay.portal.kernel.exception.SystemException,
3136                            com.liferay.portlet.wiki.NoSuchPageException {
3137                    return getPersistence()
3138                                       .findByG_N_S_PrevAndNext(pageId, groupId, nodeId, status,
3139                            orderByComparator);
3140            }
3141    
3142            /**
3143            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and status = &#63;.
3144            *
3145            * @param groupId the group ID
3146            * @param nodeId the node ID
3147            * @param status the status
3148            * @return the matching wiki pages that the user has permission to view
3149            * @throws SystemException if a system exception occurred
3150            */
3151            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S(
3152                    long groupId, long nodeId, int status)
3153                    throws com.liferay.portal.kernel.exception.SystemException {
3154                    return getPersistence().filterFindByG_N_S(groupId, nodeId, status);
3155            }
3156    
3157            /**
3158            * Returns a range of all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and status = &#63;.
3159            *
3160            * <p>
3161            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3162            * </p>
3163            *
3164            * @param groupId the group ID
3165            * @param nodeId the node ID
3166            * @param status the status
3167            * @param start the lower bound of the range of wiki pages
3168            * @param end the upper bound of the range of wiki pages (not inclusive)
3169            * @return the range of matching wiki pages that the user has permission to view
3170            * @throws SystemException if a system exception occurred
3171            */
3172            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S(
3173                    long groupId, long nodeId, int status, int start, int end)
3174                    throws com.liferay.portal.kernel.exception.SystemException {
3175                    return getPersistence()
3176                                       .filterFindByG_N_S(groupId, nodeId, status, start, end);
3177            }
3178    
3179            /**
3180            * 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;.
3181            *
3182            * <p>
3183            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3184            * </p>
3185            *
3186            * @param groupId the group ID
3187            * @param nodeId the node ID
3188            * @param status the status
3189            * @param start the lower bound of the range of wiki pages
3190            * @param end the upper bound of the range of wiki pages (not inclusive)
3191            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3192            * @return the ordered range of matching wiki pages that the user has permission to view
3193            * @throws SystemException if a system exception occurred
3194            */
3195            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S(
3196                    long groupId, long nodeId, int status, int start, int end,
3197                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3198                    throws com.liferay.portal.kernel.exception.SystemException {
3199                    return getPersistence()
3200                                       .filterFindByG_N_S(groupId, nodeId, status, start, end,
3201                            orderByComparator);
3202            }
3203    
3204            /**
3205            * 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;.
3206            *
3207            * @param pageId the primary key of the current wiki page
3208            * @param groupId the group ID
3209            * @param nodeId the node ID
3210            * @param status the status
3211            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3212            * @return the previous, current, and next wiki page
3213            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3214            * @throws SystemException if a system exception occurred
3215            */
3216            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_S_PrevAndNext(
3217                    long pageId, long groupId, long nodeId, int status,
3218                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3219                    throws com.liferay.portal.kernel.exception.SystemException,
3220                            com.liferay.portlet.wiki.NoSuchPageException {
3221                    return getPersistence()
3222                                       .filterFindByG_N_S_PrevAndNext(pageId, groupId, nodeId,
3223                            status, orderByComparator);
3224            }
3225    
3226            /**
3227            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and status = &#63; from the database.
3228            *
3229            * @param groupId the group ID
3230            * @param nodeId the node ID
3231            * @param status the status
3232            * @throws SystemException if a system exception occurred
3233            */
3234            public static void removeByG_N_S(long groupId, long nodeId, int status)
3235                    throws com.liferay.portal.kernel.exception.SystemException {
3236                    getPersistence().removeByG_N_S(groupId, nodeId, status);
3237            }
3238    
3239            /**
3240            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and status = &#63;.
3241            *
3242            * @param groupId the group ID
3243            * @param nodeId the node ID
3244            * @param status the status
3245            * @return the number of matching wiki pages
3246            * @throws SystemException if a system exception occurred
3247            */
3248            public static int countByG_N_S(long groupId, long nodeId, int status)
3249                    throws com.liferay.portal.kernel.exception.SystemException {
3250                    return getPersistence().countByG_N_S(groupId, nodeId, status);
3251            }
3252    
3253            /**
3254            * Returns the number of wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and status = &#63;.
3255            *
3256            * @param groupId the group ID
3257            * @param nodeId the node ID
3258            * @param status the status
3259            * @return the number of matching wiki pages that the user has permission to view
3260            * @throws SystemException if a system exception occurred
3261            */
3262            public static int filterCountByG_N_S(long groupId, long nodeId, int status)
3263                    throws com.liferay.portal.kernel.exception.SystemException {
3264                    return getPersistence().filterCountByG_N_S(groupId, nodeId, status);
3265            }
3266    
3267            /**
3268            * Returns all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
3269            *
3270            * @param userId the user ID
3271            * @param nodeId the node ID
3272            * @param status the status
3273            * @return the matching wiki pages
3274            * @throws SystemException if a system exception occurred
3275            */
3276            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
3277                    long userId, long nodeId, int status)
3278                    throws com.liferay.portal.kernel.exception.SystemException {
3279                    return getPersistence().findByU_N_S(userId, nodeId, status);
3280            }
3281    
3282            /**
3283            * Returns a range of all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
3284            *
3285            * <p>
3286            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3287            * </p>
3288            *
3289            * @param userId the user ID
3290            * @param nodeId the node ID
3291            * @param status the status
3292            * @param start the lower bound of the range of wiki pages
3293            * @param end the upper bound of the range of wiki pages (not inclusive)
3294            * @return the range of matching wiki pages
3295            * @throws SystemException if a system exception occurred
3296            */
3297            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
3298                    long userId, long nodeId, int status, int start, int end)
3299                    throws com.liferay.portal.kernel.exception.SystemException {
3300                    return getPersistence().findByU_N_S(userId, nodeId, status, start, end);
3301            }
3302    
3303            /**
3304            * Returns an ordered range of all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
3305            *
3306            * <p>
3307            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3308            * </p>
3309            *
3310            * @param userId the user ID
3311            * @param nodeId the node ID
3312            * @param status the status
3313            * @param start the lower bound of the range of wiki pages
3314            * @param end the upper bound of the range of wiki pages (not inclusive)
3315            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3316            * @return the ordered range of matching wiki pages
3317            * @throws SystemException if a system exception occurred
3318            */
3319            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
3320                    long userId, long nodeId, int status, int start, int end,
3321                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3322                    throws com.liferay.portal.kernel.exception.SystemException {
3323                    return getPersistence()
3324                                       .findByU_N_S(userId, nodeId, status, start, end,
3325                            orderByComparator);
3326            }
3327    
3328            /**
3329            * Returns the first wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
3330            *
3331            * @param userId the user ID
3332            * @param nodeId the node ID
3333            * @param status the status
3334            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3335            * @return the first matching wiki page
3336            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3337            * @throws SystemException if a system exception occurred
3338            */
3339            public static com.liferay.portlet.wiki.model.WikiPage findByU_N_S_First(
3340                    long userId, long nodeId, int status,
3341                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3342                    throws com.liferay.portal.kernel.exception.SystemException,
3343                            com.liferay.portlet.wiki.NoSuchPageException {
3344                    return getPersistence()
3345                                       .findByU_N_S_First(userId, nodeId, status, orderByComparator);
3346            }
3347    
3348            /**
3349            * Returns the first wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
3350            *
3351            * @param userId the user ID
3352            * @param nodeId the node ID
3353            * @param status the status
3354            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3355            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3356            * @throws SystemException if a system exception occurred
3357            */
3358            public static com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_First(
3359                    long userId, long nodeId, int status,
3360                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3361                    throws com.liferay.portal.kernel.exception.SystemException {
3362                    return getPersistence()
3363                                       .fetchByU_N_S_First(userId, nodeId, status, orderByComparator);
3364            }
3365    
3366            /**
3367            * Returns the last wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
3368            *
3369            * @param userId the user ID
3370            * @param nodeId the node ID
3371            * @param status the status
3372            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3373            * @return the last matching wiki page
3374            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3375            * @throws SystemException if a system exception occurred
3376            */
3377            public static com.liferay.portlet.wiki.model.WikiPage findByU_N_S_Last(
3378                    long userId, long nodeId, int status,
3379                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3380                    throws com.liferay.portal.kernel.exception.SystemException,
3381                            com.liferay.portlet.wiki.NoSuchPageException {
3382                    return getPersistence()
3383                                       .findByU_N_S_Last(userId, nodeId, status, orderByComparator);
3384            }
3385    
3386            /**
3387            * Returns the last wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
3388            *
3389            * @param userId the user ID
3390            * @param nodeId the node ID
3391            * @param status the status
3392            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3393            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3394            * @throws SystemException if a system exception occurred
3395            */
3396            public static com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_Last(
3397                    long userId, long nodeId, int status,
3398                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3399                    throws com.liferay.portal.kernel.exception.SystemException {
3400                    return getPersistence()
3401                                       .fetchByU_N_S_Last(userId, nodeId, status, orderByComparator);
3402            }
3403    
3404            /**
3405            * Returns the wiki pages before and after the current wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
3406            *
3407            * @param pageId the primary key of the current wiki page
3408            * @param userId the user ID
3409            * @param nodeId the node ID
3410            * @param status the status
3411            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3412            * @return the previous, current, and next wiki page
3413            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3414            * @throws SystemException if a system exception occurred
3415            */
3416            public static com.liferay.portlet.wiki.model.WikiPage[] findByU_N_S_PrevAndNext(
3417                    long pageId, long userId, long nodeId, int status,
3418                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3419                    throws com.liferay.portal.kernel.exception.SystemException,
3420                            com.liferay.portlet.wiki.NoSuchPageException {
3421                    return getPersistence()
3422                                       .findByU_N_S_PrevAndNext(pageId, userId, nodeId, status,
3423                            orderByComparator);
3424            }
3425    
3426            /**
3427            * Removes all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63; from the database.
3428            *
3429            * @param userId the user ID
3430            * @param nodeId the node ID
3431            * @param status the status
3432            * @throws SystemException if a system exception occurred
3433            */
3434            public static void removeByU_N_S(long userId, long nodeId, int status)
3435                    throws com.liferay.portal.kernel.exception.SystemException {
3436                    getPersistence().removeByU_N_S(userId, nodeId, status);
3437            }
3438    
3439            /**
3440            * Returns the number of wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
3441            *
3442            * @param userId the user ID
3443            * @param nodeId the node ID
3444            * @param status the status
3445            * @return the number of matching wiki pages
3446            * @throws SystemException if a system exception occurred
3447            */
3448            public static int countByU_N_S(long userId, long nodeId, int status)
3449                    throws com.liferay.portal.kernel.exception.SystemException {
3450                    return getPersistence().countByU_N_S(userId, nodeId, status);
3451            }
3452    
3453            /**
3454            * 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.
3455            *
3456            * @param nodeId the node ID
3457            * @param title the title
3458            * @param version the version
3459            * @return the matching wiki page
3460            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3461            * @throws SystemException if a system exception occurred
3462            */
3463            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_V(
3464                    long nodeId, java.lang.String title, double version)
3465                    throws com.liferay.portal.kernel.exception.SystemException,
3466                            com.liferay.portlet.wiki.NoSuchPageException {
3467                    return getPersistence().findByN_T_V(nodeId, title, version);
3468            }
3469    
3470            /**
3471            * 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.
3472            *
3473            * @param nodeId the node ID
3474            * @param title the title
3475            * @param version the version
3476            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
3477            * @throws SystemException if a system exception occurred
3478            */
3479            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(
3480                    long nodeId, java.lang.String title, double version)
3481                    throws com.liferay.portal.kernel.exception.SystemException {
3482                    return getPersistence().fetchByN_T_V(nodeId, title, version);
3483            }
3484    
3485            /**
3486            * 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.
3487            *
3488            * @param nodeId the node ID
3489            * @param title the title
3490            * @param version the version
3491            * @param retrieveFromCache whether to use the finder cache
3492            * @return the 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 fetchByN_T_V(
3496                    long nodeId, java.lang.String title, double version,
3497                    boolean retrieveFromCache)
3498                    throws com.liferay.portal.kernel.exception.SystemException {
3499                    return getPersistence()
3500                                       .fetchByN_T_V(nodeId, title, version, retrieveFromCache);
3501            }
3502    
3503            /**
3504            * Removes the wiki page where nodeId = &#63; and title = &#63; and version = &#63; from the database.
3505            *
3506            * @param nodeId the node ID
3507            * @param title the title
3508            * @param version the version
3509            * @return the wiki page that was removed
3510            * @throws SystemException if a system exception occurred
3511            */
3512            public static com.liferay.portlet.wiki.model.WikiPage removeByN_T_V(
3513                    long nodeId, java.lang.String title, double version)
3514                    throws com.liferay.portal.kernel.exception.SystemException,
3515                            com.liferay.portlet.wiki.NoSuchPageException {
3516                    return getPersistence().removeByN_T_V(nodeId, title, version);
3517            }
3518    
3519            /**
3520            * Returns the number of wiki pages where nodeId = &#63; and title = &#63; and version = &#63;.
3521            *
3522            * @param nodeId the node ID
3523            * @param title the title
3524            * @param version the version
3525            * @return the number of matching wiki pages
3526            * @throws SystemException if a system exception occurred
3527            */
3528            public static int countByN_T_V(long nodeId, java.lang.String title,
3529                    double version)
3530                    throws com.liferay.portal.kernel.exception.SystemException {
3531                    return getPersistence().countByN_T_V(nodeId, title, version);
3532            }
3533    
3534            /**
3535            * Returns all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
3536            *
3537            * @param nodeId the node ID
3538            * @param title the title
3539            * @param head the head
3540            * @return the matching wiki pages
3541            * @throws SystemException if a system exception occurred
3542            */
3543            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
3544                    long nodeId, java.lang.String title, boolean head)
3545                    throws com.liferay.portal.kernel.exception.SystemException {
3546                    return getPersistence().findByN_T_H(nodeId, title, head);
3547            }
3548    
3549            /**
3550            * Returns a range of all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
3551            *
3552            * <p>
3553            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3554            * </p>
3555            *
3556            * @param nodeId the node ID
3557            * @param title the title
3558            * @param head the head
3559            * @param start the lower bound of the range of wiki pages
3560            * @param end the upper bound of the range of wiki pages (not inclusive)
3561            * @return the range of matching wiki pages
3562            * @throws SystemException if a system exception occurred
3563            */
3564            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
3565                    long nodeId, java.lang.String title, boolean head, int start, int end)
3566                    throws com.liferay.portal.kernel.exception.SystemException {
3567                    return getPersistence().findByN_T_H(nodeId, title, head, start, end);
3568            }
3569    
3570            /**
3571            * Returns an ordered range of all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
3572            *
3573            * <p>
3574            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3575            * </p>
3576            *
3577            * @param nodeId the node ID
3578            * @param title the title
3579            * @param head the head
3580            * @param start the lower bound of the range of wiki pages
3581            * @param end the upper bound of the range of wiki pages (not inclusive)
3582            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3583            * @return the ordered range of matching wiki pages
3584            * @throws SystemException if a system exception occurred
3585            */
3586            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
3587                    long nodeId, java.lang.String title, boolean head, int start, int end,
3588                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3589                    throws com.liferay.portal.kernel.exception.SystemException {
3590                    return getPersistence()
3591                                       .findByN_T_H(nodeId, title, head, start, end,
3592                            orderByComparator);
3593            }
3594    
3595            /**
3596            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
3597            *
3598            * @param nodeId the node ID
3599            * @param title the title
3600            * @param head the head
3601            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3602            * @return the first matching wiki page
3603            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3604            * @throws SystemException if a system exception occurred
3605            */
3606            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
3607                    long nodeId, java.lang.String title, boolean head,
3608                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3609                    throws com.liferay.portal.kernel.exception.SystemException,
3610                            com.liferay.portlet.wiki.NoSuchPageException {
3611                    return getPersistence()
3612                                       .findByN_T_H_First(nodeId, title, head, orderByComparator);
3613            }
3614    
3615            /**
3616            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
3617            *
3618            * @param nodeId the node ID
3619            * @param title the title
3620            * @param head the head
3621            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3622            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3623            * @throws SystemException if a system exception occurred
3624            */
3625            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_First(
3626                    long nodeId, java.lang.String title, boolean head,
3627                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3628                    throws com.liferay.portal.kernel.exception.SystemException {
3629                    return getPersistence()
3630                                       .fetchByN_T_H_First(nodeId, title, head, orderByComparator);
3631            }
3632    
3633            /**
3634            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
3635            *
3636            * @param nodeId the node ID
3637            * @param title the title
3638            * @param head the head
3639            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3640            * @return the last matching wiki page
3641            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3642            * @throws SystemException if a system exception occurred
3643            */
3644            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
3645                    long nodeId, java.lang.String title, boolean head,
3646                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3647                    throws com.liferay.portal.kernel.exception.SystemException,
3648                            com.liferay.portlet.wiki.NoSuchPageException {
3649                    return getPersistence()
3650                                       .findByN_T_H_Last(nodeId, title, head, orderByComparator);
3651            }
3652    
3653            /**
3654            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
3655            *
3656            * @param nodeId the node ID
3657            * @param title the title
3658            * @param head the head
3659            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3660            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3661            * @throws SystemException if a system exception occurred
3662            */
3663            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_Last(
3664                    long nodeId, java.lang.String title, boolean head,
3665                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3666                    throws com.liferay.portal.kernel.exception.SystemException {
3667                    return getPersistence()
3668                                       .fetchByN_T_H_Last(nodeId, title, head, orderByComparator);
3669            }
3670    
3671            /**
3672            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
3673            *
3674            * @param pageId the primary key of the current wiki page
3675            * @param nodeId the node ID
3676            * @param title the title
3677            * @param head the head
3678            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3679            * @return the previous, current, and next wiki page
3680            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3681            * @throws SystemException if a system exception occurred
3682            */
3683            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
3684                    long pageId, long nodeId, java.lang.String title, boolean head,
3685                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3686                    throws com.liferay.portal.kernel.exception.SystemException,
3687                            com.liferay.portlet.wiki.NoSuchPageException {
3688                    return getPersistence()
3689                                       .findByN_T_H_PrevAndNext(pageId, nodeId, title, head,
3690                            orderByComparator);
3691            }
3692    
3693            /**
3694            * Removes all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63; from the database.
3695            *
3696            * @param nodeId the node ID
3697            * @param title the title
3698            * @param head the head
3699            * @throws SystemException if a system exception occurred
3700            */
3701            public static void removeByN_T_H(long nodeId, java.lang.String title,
3702                    boolean head)
3703                    throws com.liferay.portal.kernel.exception.SystemException {
3704                    getPersistence().removeByN_T_H(nodeId, title, head);
3705            }
3706    
3707            /**
3708            * Returns the number of wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
3709            *
3710            * @param nodeId the node ID
3711            * @param title the title
3712            * @param head the head
3713            * @return the number of matching wiki pages
3714            * @throws SystemException if a system exception occurred
3715            */
3716            public static int countByN_T_H(long nodeId, java.lang.String title,
3717                    boolean head)
3718                    throws com.liferay.portal.kernel.exception.SystemException {
3719                    return getPersistence().countByN_T_H(nodeId, title, head);
3720            }
3721    
3722            /**
3723            * Returns all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
3724            *
3725            * @param nodeId the node ID
3726            * @param title the title
3727            * @param status the status
3728            * @return the matching wiki pages
3729            * @throws SystemException if a system exception occurred
3730            */
3731            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
3732                    long nodeId, java.lang.String title, int status)
3733                    throws com.liferay.portal.kernel.exception.SystemException {
3734                    return getPersistence().findByN_T_S(nodeId, title, status);
3735            }
3736    
3737            /**
3738            * Returns a range of all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
3739            *
3740            * <p>
3741            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3742            * </p>
3743            *
3744            * @param nodeId the node ID
3745            * @param title the title
3746            * @param status the status
3747            * @param start the lower bound of the range of wiki pages
3748            * @param end the upper bound of the range of wiki pages (not inclusive)
3749            * @return the range of matching wiki pages
3750            * @throws SystemException if a system exception occurred
3751            */
3752            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
3753                    long nodeId, java.lang.String title, int status, int start, int end)
3754                    throws com.liferay.portal.kernel.exception.SystemException {
3755                    return getPersistence().findByN_T_S(nodeId, title, status, start, end);
3756            }
3757    
3758            /**
3759            * Returns an ordered range of all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
3760            *
3761            * <p>
3762            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3763            * </p>
3764            *
3765            * @param nodeId the node ID
3766            * @param title the title
3767            * @param status the status
3768            * @param start the lower bound of the range of wiki pages
3769            * @param end the upper bound of the range of wiki pages (not inclusive)
3770            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3771            * @return the ordered range of matching wiki pages
3772            * @throws SystemException if a system exception occurred
3773            */
3774            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
3775                    long nodeId, java.lang.String title, int status, int start, int end,
3776                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3777                    throws com.liferay.portal.kernel.exception.SystemException {
3778                    return getPersistence()
3779                                       .findByN_T_S(nodeId, title, status, start, end,
3780                            orderByComparator);
3781            }
3782    
3783            /**
3784            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
3785            *
3786            * @param nodeId the node ID
3787            * @param title the title
3788            * @param status the status
3789            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3790            * @return the first matching wiki page
3791            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3792            * @throws SystemException if a system exception occurred
3793            */
3794            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_S_First(
3795                    long nodeId, java.lang.String title, int status,
3796                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3797                    throws com.liferay.portal.kernel.exception.SystemException,
3798                            com.liferay.portlet.wiki.NoSuchPageException {
3799                    return getPersistence()
3800                                       .findByN_T_S_First(nodeId, title, status, orderByComparator);
3801            }
3802    
3803            /**
3804            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
3805            *
3806            * @param nodeId the node ID
3807            * @param title the title
3808            * @param status the status
3809            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3810            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3811            * @throws SystemException if a system exception occurred
3812            */
3813            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_First(
3814                    long nodeId, java.lang.String title, int status,
3815                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3816                    throws com.liferay.portal.kernel.exception.SystemException {
3817                    return getPersistence()
3818                                       .fetchByN_T_S_First(nodeId, title, status, orderByComparator);
3819            }
3820    
3821            /**
3822            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
3823            *
3824            * @param nodeId the node ID
3825            * @param title the title
3826            * @param status the status
3827            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3828            * @return the last matching wiki page
3829            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3830            * @throws SystemException if a system exception occurred
3831            */
3832            public static com.liferay.portlet.wiki.model.WikiPage findByN_T_S_Last(
3833                    long nodeId, java.lang.String title, int status,
3834                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3835                    throws com.liferay.portal.kernel.exception.SystemException,
3836                            com.liferay.portlet.wiki.NoSuchPageException {
3837                    return getPersistence()
3838                                       .findByN_T_S_Last(nodeId, title, status, orderByComparator);
3839            }
3840    
3841            /**
3842            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
3843            *
3844            * @param nodeId the node ID
3845            * @param title the title
3846            * @param status the status
3847            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3848            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3849            * @throws SystemException if a system exception occurred
3850            */
3851            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_Last(
3852                    long nodeId, java.lang.String title, int status,
3853                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3854                    throws com.liferay.portal.kernel.exception.SystemException {
3855                    return getPersistence()
3856                                       .fetchByN_T_S_Last(nodeId, title, status, orderByComparator);
3857            }
3858    
3859            /**
3860            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
3861            *
3862            * @param pageId the primary key of the current wiki page
3863            * @param nodeId the node ID
3864            * @param title the title
3865            * @param status the status
3866            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3867            * @return the previous, current, and next wiki page
3868            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3869            * @throws SystemException if a system exception occurred
3870            */
3871            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_S_PrevAndNext(
3872                    long pageId, long nodeId, java.lang.String title, int status,
3873                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3874                    throws com.liferay.portal.kernel.exception.SystemException,
3875                            com.liferay.portlet.wiki.NoSuchPageException {
3876                    return getPersistence()
3877                                       .findByN_T_S_PrevAndNext(pageId, nodeId, title, status,
3878                            orderByComparator);
3879            }
3880    
3881            /**
3882            * Removes all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63; from the database.
3883            *
3884            * @param nodeId the node ID
3885            * @param title the title
3886            * @param status the status
3887            * @throws SystemException if a system exception occurred
3888            */
3889            public static void removeByN_T_S(long nodeId, java.lang.String title,
3890                    int status) throws com.liferay.portal.kernel.exception.SystemException {
3891                    getPersistence().removeByN_T_S(nodeId, title, status);
3892            }
3893    
3894            /**
3895            * Returns the number of wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
3896            *
3897            * @param nodeId the node ID
3898            * @param title the title
3899            * @param status the status
3900            * @return the number of matching wiki pages
3901            * @throws SystemException if a system exception occurred
3902            */
3903            public static int countByN_T_S(long nodeId, java.lang.String title,
3904                    int status) throws com.liferay.portal.kernel.exception.SystemException {
3905                    return getPersistence().countByN_T_S(nodeId, title, status);
3906            }
3907    
3908            /**
3909            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
3910            *
3911            * @param nodeId the node ID
3912            * @param head the head
3913            * @param parentTitle the parent title
3914            * @return the matching wiki pages
3915            * @throws SystemException if a system exception occurred
3916            */
3917            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
3918                    long nodeId, boolean head, java.lang.String parentTitle)
3919                    throws com.liferay.portal.kernel.exception.SystemException {
3920                    return getPersistence().findByN_H_P(nodeId, head, parentTitle);
3921            }
3922    
3923            /**
3924            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3928            * </p>
3929            *
3930            * @param nodeId the node ID
3931            * @param head the head
3932            * @param parentTitle the parent title
3933            * @param start the lower bound of the range of wiki pages
3934            * @param end the upper bound of the range of wiki pages (not inclusive)
3935            * @return the range of matching wiki pages
3936            * @throws SystemException if a system exception occurred
3937            */
3938            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
3939                    long nodeId, boolean head, java.lang.String parentTitle, int start,
3940                    int end) throws com.liferay.portal.kernel.exception.SystemException {
3941                    return getPersistence()
3942                                       .findByN_H_P(nodeId, head, parentTitle, start, end);
3943            }
3944    
3945            /**
3946            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
3947            *
3948            * <p>
3949            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
3950            * </p>
3951            *
3952            * @param nodeId the node ID
3953            * @param head the head
3954            * @param parentTitle the parent title
3955            * @param start the lower bound of the range of wiki pages
3956            * @param end the upper bound of the range of wiki pages (not inclusive)
3957            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3958            * @return the ordered range of matching wiki pages
3959            * @throws SystemException if a system exception occurred
3960            */
3961            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
3962                    long nodeId, boolean head, java.lang.String parentTitle, int start,
3963                    int end,
3964                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3965                    throws com.liferay.portal.kernel.exception.SystemException {
3966                    return getPersistence()
3967                                       .findByN_H_P(nodeId, head, parentTitle, start, end,
3968                            orderByComparator);
3969            }
3970    
3971            /**
3972            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
3973            *
3974            * @param nodeId the node ID
3975            * @param head the head
3976            * @param parentTitle the parent title
3977            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3978            * @return the first matching wiki page
3979            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3980            * @throws SystemException if a system exception occurred
3981            */
3982            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
3983                    long nodeId, boolean head, java.lang.String parentTitle,
3984                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3985                    throws com.liferay.portal.kernel.exception.SystemException,
3986                            com.liferay.portlet.wiki.NoSuchPageException {
3987                    return getPersistence()
3988                                       .findByN_H_P_First(nodeId, head, parentTitle,
3989                            orderByComparator);
3990            }
3991    
3992            /**
3993            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
3994            *
3995            * @param nodeId the node ID
3996            * @param head the head
3997            * @param parentTitle the parent title
3998            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3999            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
4000            * @throws SystemException if a system exception occurred
4001            */
4002            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_First(
4003                    long nodeId, boolean head, java.lang.String parentTitle,
4004                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4005                    throws com.liferay.portal.kernel.exception.SystemException {
4006                    return getPersistence()
4007                                       .fetchByN_H_P_First(nodeId, head, parentTitle,
4008                            orderByComparator);
4009            }
4010    
4011            /**
4012            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
4013            *
4014            * @param nodeId the node ID
4015            * @param head the head
4016            * @param parentTitle the parent title
4017            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4018            * @return the last matching wiki page
4019            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4020            * @throws SystemException if a system exception occurred
4021            */
4022            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
4023                    long nodeId, boolean head, java.lang.String parentTitle,
4024                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4025                    throws com.liferay.portal.kernel.exception.SystemException,
4026                            com.liferay.portlet.wiki.NoSuchPageException {
4027                    return getPersistence()
4028                                       .findByN_H_P_Last(nodeId, head, parentTitle,
4029                            orderByComparator);
4030            }
4031    
4032            /**
4033            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
4034            *
4035            * @param nodeId the node ID
4036            * @param head the head
4037            * @param parentTitle the parent title
4038            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4039            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4040            * @throws SystemException if a system exception occurred
4041            */
4042            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_Last(
4043                    long nodeId, boolean head, java.lang.String parentTitle,
4044                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4045                    throws com.liferay.portal.kernel.exception.SystemException {
4046                    return getPersistence()
4047                                       .fetchByN_H_P_Last(nodeId, head, parentTitle,
4048                            orderByComparator);
4049            }
4050    
4051            /**
4052            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
4053            *
4054            * @param pageId the primary key of the current wiki page
4055            * @param nodeId the node ID
4056            * @param head the head
4057            * @param parentTitle the parent title
4058            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4059            * @return the previous, current, and next wiki page
4060            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4061            * @throws SystemException if a system exception occurred
4062            */
4063            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
4064                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
4065                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4066                    throws com.liferay.portal.kernel.exception.SystemException,
4067                            com.liferay.portlet.wiki.NoSuchPageException {
4068                    return getPersistence()
4069                                       .findByN_H_P_PrevAndNext(pageId, nodeId, head, parentTitle,
4070                            orderByComparator);
4071            }
4072    
4073            /**
4074            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; from the database.
4075            *
4076            * @param nodeId the node ID
4077            * @param head the head
4078            * @param parentTitle the parent title
4079            * @throws SystemException if a system exception occurred
4080            */
4081            public static void removeByN_H_P(long nodeId, boolean head,
4082                    java.lang.String parentTitle)
4083                    throws com.liferay.portal.kernel.exception.SystemException {
4084                    getPersistence().removeByN_H_P(nodeId, head, parentTitle);
4085            }
4086    
4087            /**
4088            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
4089            *
4090            * @param nodeId the node ID
4091            * @param head the head
4092            * @param parentTitle the parent title
4093            * @return the number of matching wiki pages
4094            * @throws SystemException if a system exception occurred
4095            */
4096            public static int countByN_H_P(long nodeId, boolean head,
4097                    java.lang.String parentTitle)
4098                    throws com.liferay.portal.kernel.exception.SystemException {
4099                    return getPersistence().countByN_H_P(nodeId, head, parentTitle);
4100            }
4101    
4102            /**
4103            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
4104            *
4105            * @param nodeId the node ID
4106            * @param head the head
4107            * @param redirectTitle the redirect title
4108            * @return the matching wiki pages
4109            * @throws SystemException if a system exception occurred
4110            */
4111            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R(
4112                    long nodeId, boolean head, java.lang.String redirectTitle)
4113                    throws com.liferay.portal.kernel.exception.SystemException {
4114                    return getPersistence().findByN_H_R(nodeId, head, redirectTitle);
4115            }
4116    
4117            /**
4118            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
4119            *
4120            * <p>
4121            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4122            * </p>
4123            *
4124            * @param nodeId the node ID
4125            * @param head the head
4126            * @param redirectTitle the redirect title
4127            * @param start the lower bound of the range of wiki pages
4128            * @param end the upper bound of the range of wiki pages (not inclusive)
4129            * @return the range of matching wiki pages
4130            * @throws SystemException if a system exception occurred
4131            */
4132            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R(
4133                    long nodeId, boolean head, java.lang.String redirectTitle, int start,
4134                    int end) throws com.liferay.portal.kernel.exception.SystemException {
4135                    return getPersistence()
4136                                       .findByN_H_R(nodeId, head, redirectTitle, start, end);
4137            }
4138    
4139            /**
4140            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
4141            *
4142            * <p>
4143            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4144            * </p>
4145            *
4146            * @param nodeId the node ID
4147            * @param head the head
4148            * @param redirectTitle the redirect title
4149            * @param start the lower bound of the range of wiki pages
4150            * @param end the upper bound of the range of wiki pages (not inclusive)
4151            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4152            * @return the ordered range of matching wiki pages
4153            * @throws SystemException if a system exception occurred
4154            */
4155            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R(
4156                    long nodeId, boolean head, java.lang.String redirectTitle, int start,
4157                    int end,
4158                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4159                    throws com.liferay.portal.kernel.exception.SystemException {
4160                    return getPersistence()
4161                                       .findByN_H_R(nodeId, head, redirectTitle, start, end,
4162                            orderByComparator);
4163            }
4164    
4165            /**
4166            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
4167            *
4168            * @param nodeId the node ID
4169            * @param head the head
4170            * @param redirectTitle the redirect title
4171            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4172            * @return the first matching wiki page
4173            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4174            * @throws SystemException if a system exception occurred
4175            */
4176            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_First(
4177                    long nodeId, boolean head, java.lang.String redirectTitle,
4178                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4179                    throws com.liferay.portal.kernel.exception.SystemException,
4180                            com.liferay.portlet.wiki.NoSuchPageException {
4181                    return getPersistence()
4182                                       .findByN_H_R_First(nodeId, head, redirectTitle,
4183                            orderByComparator);
4184            }
4185    
4186            /**
4187            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
4188            *
4189            * @param nodeId the node ID
4190            * @param head the head
4191            * @param redirectTitle the redirect title
4192            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4193            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
4194            * @throws SystemException if a system exception occurred
4195            */
4196            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_First(
4197                    long nodeId, boolean head, java.lang.String redirectTitle,
4198                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4199                    throws com.liferay.portal.kernel.exception.SystemException {
4200                    return getPersistence()
4201                                       .fetchByN_H_R_First(nodeId, head, redirectTitle,
4202                            orderByComparator);
4203            }
4204    
4205            /**
4206            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
4207            *
4208            * @param nodeId the node ID
4209            * @param head the head
4210            * @param redirectTitle the redirect title
4211            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4212            * @return the last matching wiki page
4213            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4214            * @throws SystemException if a system exception occurred
4215            */
4216            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_Last(
4217                    long nodeId, boolean head, java.lang.String redirectTitle,
4218                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4219                    throws com.liferay.portal.kernel.exception.SystemException,
4220                            com.liferay.portlet.wiki.NoSuchPageException {
4221                    return getPersistence()
4222                                       .findByN_H_R_Last(nodeId, head, redirectTitle,
4223                            orderByComparator);
4224            }
4225    
4226            /**
4227            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
4228            *
4229            * @param nodeId the node ID
4230            * @param head the head
4231            * @param redirectTitle the redirect title
4232            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4233            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4234            * @throws SystemException if a system exception occurred
4235            */
4236            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_Last(
4237                    long nodeId, boolean head, java.lang.String redirectTitle,
4238                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4239                    throws com.liferay.portal.kernel.exception.SystemException {
4240                    return getPersistence()
4241                                       .fetchByN_H_R_Last(nodeId, head, redirectTitle,
4242                            orderByComparator);
4243            }
4244    
4245            /**
4246            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
4247            *
4248            * @param pageId the primary key of the current wiki page
4249            * @param nodeId the node ID
4250            * @param head the head
4251            * @param redirectTitle the redirect title
4252            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4253            * @return the previous, current, and next wiki page
4254            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4255            * @throws SystemException if a system exception occurred
4256            */
4257            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_PrevAndNext(
4258                    long pageId, long nodeId, boolean head, java.lang.String redirectTitle,
4259                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4260                    throws com.liferay.portal.kernel.exception.SystemException,
4261                            com.liferay.portlet.wiki.NoSuchPageException {
4262                    return getPersistence()
4263                                       .findByN_H_R_PrevAndNext(pageId, nodeId, head,
4264                            redirectTitle, orderByComparator);
4265            }
4266    
4267            /**
4268            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; from the database.
4269            *
4270            * @param nodeId the node ID
4271            * @param head the head
4272            * @param redirectTitle the redirect title
4273            * @throws SystemException if a system exception occurred
4274            */
4275            public static void removeByN_H_R(long nodeId, boolean head,
4276                    java.lang.String redirectTitle)
4277                    throws com.liferay.portal.kernel.exception.SystemException {
4278                    getPersistence().removeByN_H_R(nodeId, head, redirectTitle);
4279            }
4280    
4281            /**
4282            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
4283            *
4284            * @param nodeId the node ID
4285            * @param head the head
4286            * @param redirectTitle the redirect title
4287            * @return the number of matching wiki pages
4288            * @throws SystemException if a system exception occurred
4289            */
4290            public static int countByN_H_R(long nodeId, boolean head,
4291                    java.lang.String redirectTitle)
4292                    throws com.liferay.portal.kernel.exception.SystemException {
4293                    return getPersistence().countByN_H_R(nodeId, head, redirectTitle);
4294            }
4295    
4296            /**
4297            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
4298            *
4299            * @param nodeId the node ID
4300            * @param head the head
4301            * @param status the status
4302            * @return the matching wiki pages
4303            * @throws SystemException if a system exception occurred
4304            */
4305            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
4306                    long nodeId, boolean head, int status)
4307                    throws com.liferay.portal.kernel.exception.SystemException {
4308                    return getPersistence().findByN_H_S(nodeId, head, status);
4309            }
4310    
4311            /**
4312            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
4313            *
4314            * <p>
4315            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4316            * </p>
4317            *
4318            * @param nodeId the node ID
4319            * @param head the head
4320            * @param status the status
4321            * @param start the lower bound of the range of wiki pages
4322            * @param end the upper bound of the range of wiki pages (not inclusive)
4323            * @return the range of matching wiki pages
4324            * @throws SystemException if a system exception occurred
4325            */
4326            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
4327                    long nodeId, boolean head, int status, int start, int end)
4328                    throws com.liferay.portal.kernel.exception.SystemException {
4329                    return getPersistence().findByN_H_S(nodeId, head, status, start, end);
4330            }
4331    
4332            /**
4333            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
4334            *
4335            * <p>
4336            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4337            * </p>
4338            *
4339            * @param nodeId the node ID
4340            * @param head the head
4341            * @param status the status
4342            * @param start the lower bound of the range of wiki pages
4343            * @param end the upper bound of the range of wiki pages (not inclusive)
4344            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4345            * @return the ordered range of matching wiki pages
4346            * @throws SystemException if a system exception occurred
4347            */
4348            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
4349                    long nodeId, boolean head, int status, int start, int end,
4350                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4351                    throws com.liferay.portal.kernel.exception.SystemException {
4352                    return getPersistence()
4353                                       .findByN_H_S(nodeId, head, status, start, end,
4354                            orderByComparator);
4355            }
4356    
4357            /**
4358            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
4359            *
4360            * @param nodeId the node ID
4361            * @param head the head
4362            * @param status the status
4363            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4364            * @return the first matching wiki page
4365            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4366            * @throws SystemException if a system exception occurred
4367            */
4368            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_S_First(
4369                    long nodeId, boolean head, int status,
4370                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4371                    throws com.liferay.portal.kernel.exception.SystemException,
4372                            com.liferay.portlet.wiki.NoSuchPageException {
4373                    return getPersistence()
4374                                       .findByN_H_S_First(nodeId, head, status, orderByComparator);
4375            }
4376    
4377            /**
4378            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
4379            *
4380            * @param nodeId the node ID
4381            * @param head the head
4382            * @param status the status
4383            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4384            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
4385            * @throws SystemException if a system exception occurred
4386            */
4387            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_First(
4388                    long nodeId, boolean head, int status,
4389                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4390                    throws com.liferay.portal.kernel.exception.SystemException {
4391                    return getPersistence()
4392                                       .fetchByN_H_S_First(nodeId, head, status, orderByComparator);
4393            }
4394    
4395            /**
4396            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
4397            *
4398            * @param nodeId the node ID
4399            * @param head the head
4400            * @param status the status
4401            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4402            * @return the last matching wiki page
4403            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4404            * @throws SystemException if a system exception occurred
4405            */
4406            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_S_Last(
4407                    long nodeId, boolean head, int status,
4408                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4409                    throws com.liferay.portal.kernel.exception.SystemException,
4410                            com.liferay.portlet.wiki.NoSuchPageException {
4411                    return getPersistence()
4412                                       .findByN_H_S_Last(nodeId, head, status, orderByComparator);
4413            }
4414    
4415            /**
4416            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
4417            *
4418            * @param nodeId the node ID
4419            * @param head the head
4420            * @param status the status
4421            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4422            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4423            * @throws SystemException if a system exception occurred
4424            */
4425            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_Last(
4426                    long nodeId, boolean head, int status,
4427                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4428                    throws com.liferay.portal.kernel.exception.SystemException {
4429                    return getPersistence()
4430                                       .fetchByN_H_S_Last(nodeId, head, status, orderByComparator);
4431            }
4432    
4433            /**
4434            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
4435            *
4436            * @param pageId the primary key of the current wiki page
4437            * @param nodeId the node ID
4438            * @param head the head
4439            * @param status the status
4440            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4441            * @return the previous, current, and next wiki page
4442            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4443            * @throws SystemException if a system exception occurred
4444            */
4445            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_S_PrevAndNext(
4446                    long pageId, long nodeId, boolean head, int status,
4447                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4448                    throws com.liferay.portal.kernel.exception.SystemException,
4449                            com.liferay.portlet.wiki.NoSuchPageException {
4450                    return getPersistence()
4451                                       .findByN_H_S_PrevAndNext(pageId, nodeId, head, status,
4452                            orderByComparator);
4453            }
4454    
4455            /**
4456            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63; from the database.
4457            *
4458            * @param nodeId the node ID
4459            * @param head the head
4460            * @param status the status
4461            * @throws SystemException if a system exception occurred
4462            */
4463            public static void removeByN_H_S(long nodeId, boolean head, int status)
4464                    throws com.liferay.portal.kernel.exception.SystemException {
4465                    getPersistence().removeByN_H_S(nodeId, head, status);
4466            }
4467    
4468            /**
4469            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
4470            *
4471            * @param nodeId the node ID
4472            * @param head the head
4473            * @param status the status
4474            * @return the number of matching wiki pages
4475            * @throws SystemException if a system exception occurred
4476            */
4477            public static int countByN_H_S(long nodeId, boolean head, int status)
4478                    throws com.liferay.portal.kernel.exception.SystemException {
4479                    return getPersistence().countByN_H_S(nodeId, head, status);
4480            }
4481    
4482            /**
4483            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and status &ne; &#63;.
4484            *
4485            * @param nodeId the node ID
4486            * @param head the head
4487            * @param status the status
4488            * @return the matching wiki pages
4489            * @throws SystemException if a system exception occurred
4490            */
4491            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS(
4492                    long nodeId, boolean head, int status)
4493                    throws com.liferay.portal.kernel.exception.SystemException {
4494                    return getPersistence().findByN_H_NotS(nodeId, head, status);
4495            }
4496    
4497            /**
4498            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and status &ne; &#63;.
4499            *
4500            * <p>
4501            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4502            * </p>
4503            *
4504            * @param nodeId the node ID
4505            * @param head the head
4506            * @param status the status
4507            * @param start the lower bound of the range of wiki pages
4508            * @param end the upper bound of the range of wiki pages (not inclusive)
4509            * @return the range of matching wiki pages
4510            * @throws SystemException if a system exception occurred
4511            */
4512            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS(
4513                    long nodeId, boolean head, int status, int start, int end)
4514                    throws com.liferay.portal.kernel.exception.SystemException {
4515                    return getPersistence().findByN_H_NotS(nodeId, head, status, start, end);
4516            }
4517    
4518            /**
4519            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and status &ne; &#63;.
4520            *
4521            * <p>
4522            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4523            * </p>
4524            *
4525            * @param nodeId the node ID
4526            * @param head the head
4527            * @param status the status
4528            * @param start the lower bound of the range of wiki pages
4529            * @param end the upper bound of the range of wiki pages (not inclusive)
4530            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4531            * @return the ordered range of matching wiki pages
4532            * @throws SystemException if a system exception occurred
4533            */
4534            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS(
4535                    long nodeId, boolean head, int status, int start, int end,
4536                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4537                    throws com.liferay.portal.kernel.exception.SystemException {
4538                    return getPersistence()
4539                                       .findByN_H_NotS(nodeId, head, status, start, end,
4540                            orderByComparator);
4541            }
4542    
4543            /**
4544            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status &ne; &#63;.
4545            *
4546            * @param nodeId the node ID
4547            * @param head the head
4548            * @param status the status
4549            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4550            * @return the first matching wiki page
4551            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4552            * @throws SystemException if a system exception occurred
4553            */
4554            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_NotS_First(
4555                    long nodeId, boolean head, int status,
4556                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4557                    throws com.liferay.portal.kernel.exception.SystemException,
4558                            com.liferay.portlet.wiki.NoSuchPageException {
4559                    return getPersistence()
4560                                       .findByN_H_NotS_First(nodeId, head, status, orderByComparator);
4561            }
4562    
4563            /**
4564            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status &ne; &#63;.
4565            *
4566            * @param nodeId the node ID
4567            * @param head the head
4568            * @param status the status
4569            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4570            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
4571            * @throws SystemException if a system exception occurred
4572            */
4573            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_NotS_First(
4574                    long nodeId, boolean head, int status,
4575                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4576                    throws com.liferay.portal.kernel.exception.SystemException {
4577                    return getPersistence()
4578                                       .fetchByN_H_NotS_First(nodeId, head, status,
4579                            orderByComparator);
4580            }
4581    
4582            /**
4583            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status &ne; &#63;.
4584            *
4585            * @param nodeId the node ID
4586            * @param head the head
4587            * @param status the status
4588            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4589            * @return the last matching wiki page
4590            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4591            * @throws SystemException if a system exception occurred
4592            */
4593            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_NotS_Last(
4594                    long nodeId, boolean head, int status,
4595                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4596                    throws com.liferay.portal.kernel.exception.SystemException,
4597                            com.liferay.portlet.wiki.NoSuchPageException {
4598                    return getPersistence()
4599                                       .findByN_H_NotS_Last(nodeId, head, status, orderByComparator);
4600            }
4601    
4602            /**
4603            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status &ne; &#63;.
4604            *
4605            * @param nodeId the node ID
4606            * @param head the head
4607            * @param status the status
4608            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4609            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4610            * @throws SystemException if a system exception occurred
4611            */
4612            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_NotS_Last(
4613                    long nodeId, boolean head, int status,
4614                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4615                    throws com.liferay.portal.kernel.exception.SystemException {
4616                    return getPersistence()
4617                                       .fetchByN_H_NotS_Last(nodeId, head, status, orderByComparator);
4618            }
4619    
4620            /**
4621            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and status &ne; &#63;.
4622            *
4623            * @param pageId the primary key of the current wiki page
4624            * @param nodeId the node ID
4625            * @param head the head
4626            * @param status the status
4627            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4628            * @return the previous, current, and next wiki page
4629            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4630            * @throws SystemException if a system exception occurred
4631            */
4632            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_NotS_PrevAndNext(
4633                    long pageId, long nodeId, boolean head, int status,
4634                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4635                    throws com.liferay.portal.kernel.exception.SystemException,
4636                            com.liferay.portlet.wiki.NoSuchPageException {
4637                    return getPersistence()
4638                                       .findByN_H_NotS_PrevAndNext(pageId, nodeId, head, status,
4639                            orderByComparator);
4640            }
4641    
4642            /**
4643            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and status &ne; &#63; from the database.
4644            *
4645            * @param nodeId the node ID
4646            * @param head the head
4647            * @param status the status
4648            * @throws SystemException if a system exception occurred
4649            */
4650            public static void removeByN_H_NotS(long nodeId, boolean head, int status)
4651                    throws com.liferay.portal.kernel.exception.SystemException {
4652                    getPersistence().removeByN_H_NotS(nodeId, head, status);
4653            }
4654    
4655            /**
4656            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and status &ne; &#63;.
4657            *
4658            * @param nodeId the node ID
4659            * @param head the head
4660            * @param status the status
4661            * @return the number of matching wiki pages
4662            * @throws SystemException if a system exception occurred
4663            */
4664            public static int countByN_H_NotS(long nodeId, boolean head, int status)
4665                    throws com.liferay.portal.kernel.exception.SystemException {
4666                    return getPersistence().countByN_H_NotS(nodeId, head, status);
4667            }
4668    
4669            /**
4670            * Returns all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4671            *
4672            * @param groupId the group ID
4673            * @param userId the user ID
4674            * @param nodeId the node ID
4675            * @param status the status
4676            * @return the matching wiki pages
4677            * @throws SystemException if a system exception occurred
4678            */
4679            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S(
4680                    long groupId, long userId, long nodeId, int status)
4681                    throws com.liferay.portal.kernel.exception.SystemException {
4682                    return getPersistence().findByG_U_N_S(groupId, userId, nodeId, status);
4683            }
4684    
4685            /**
4686            * Returns a range of all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4687            *
4688            * <p>
4689            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4690            * </p>
4691            *
4692            * @param groupId the group ID
4693            * @param userId the user ID
4694            * @param nodeId the node ID
4695            * @param status the status
4696            * @param start the lower bound of the range of wiki pages
4697            * @param end the upper bound of the range of wiki pages (not inclusive)
4698            * @return the range of matching wiki pages
4699            * @throws SystemException if a system exception occurred
4700            */
4701            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S(
4702                    long groupId, long userId, long nodeId, int status, int start, int end)
4703                    throws com.liferay.portal.kernel.exception.SystemException {
4704                    return getPersistence()
4705                                       .findByG_U_N_S(groupId, userId, nodeId, status, start, end);
4706            }
4707    
4708            /**
4709            * Returns an ordered range of all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4710            *
4711            * <p>
4712            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4713            * </p>
4714            *
4715            * @param groupId the group ID
4716            * @param userId the user ID
4717            * @param nodeId the node ID
4718            * @param status the status
4719            * @param start the lower bound of the range of wiki pages
4720            * @param end the upper bound of the range of wiki pages (not inclusive)
4721            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4722            * @return the ordered range of matching wiki pages
4723            * @throws SystemException if a system exception occurred
4724            */
4725            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S(
4726                    long groupId, long userId, long nodeId, int status, int start, int end,
4727                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4728                    throws com.liferay.portal.kernel.exception.SystemException {
4729                    return getPersistence()
4730                                       .findByG_U_N_S(groupId, userId, nodeId, status, start, end,
4731                            orderByComparator);
4732            }
4733    
4734            /**
4735            * Returns the first wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4736            *
4737            * @param groupId the group ID
4738            * @param userId the user ID
4739            * @param nodeId the node ID
4740            * @param status the status
4741            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4742            * @return the first matching wiki page
4743            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4744            * @throws SystemException if a system exception occurred
4745            */
4746            public static com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_First(
4747                    long groupId, long userId, long nodeId, int status,
4748                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4749                    throws com.liferay.portal.kernel.exception.SystemException,
4750                            com.liferay.portlet.wiki.NoSuchPageException {
4751                    return getPersistence()
4752                                       .findByG_U_N_S_First(groupId, userId, nodeId, status,
4753                            orderByComparator);
4754            }
4755    
4756            /**
4757            * Returns the first wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4758            *
4759            * @param groupId the group ID
4760            * @param userId the user ID
4761            * @param nodeId the node ID
4762            * @param status the status
4763            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4764            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
4765            * @throws SystemException if a system exception occurred
4766            */
4767            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_First(
4768                    long groupId, long userId, long nodeId, int status,
4769                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4770                    throws com.liferay.portal.kernel.exception.SystemException {
4771                    return getPersistence()
4772                                       .fetchByG_U_N_S_First(groupId, userId, nodeId, status,
4773                            orderByComparator);
4774            }
4775    
4776            /**
4777            * Returns the last wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4778            *
4779            * @param groupId the group ID
4780            * @param userId the user ID
4781            * @param nodeId the node ID
4782            * @param status the status
4783            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4784            * @return the last matching wiki page
4785            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4786            * @throws SystemException if a system exception occurred
4787            */
4788            public static com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_Last(
4789                    long groupId, long userId, long nodeId, int status,
4790                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4791                    throws com.liferay.portal.kernel.exception.SystemException,
4792                            com.liferay.portlet.wiki.NoSuchPageException {
4793                    return getPersistence()
4794                                       .findByG_U_N_S_Last(groupId, userId, nodeId, status,
4795                            orderByComparator);
4796            }
4797    
4798            /**
4799            * Returns the last wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4800            *
4801            * @param groupId the group ID
4802            * @param userId the user ID
4803            * @param nodeId the node ID
4804            * @param status the status
4805            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4806            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4807            * @throws SystemException if a system exception occurred
4808            */
4809            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_Last(
4810                    long groupId, long userId, long nodeId, int status,
4811                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4812                    throws com.liferay.portal.kernel.exception.SystemException {
4813                    return getPersistence()
4814                                       .fetchByG_U_N_S_Last(groupId, userId, nodeId, status,
4815                            orderByComparator);
4816            }
4817    
4818            /**
4819            * 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;.
4820            *
4821            * @param pageId the primary key of the current wiki page
4822            * @param groupId the group ID
4823            * @param userId the user ID
4824            * @param nodeId the node ID
4825            * @param status the status
4826            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4827            * @return the previous, current, and next wiki page
4828            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4829            * @throws SystemException if a system exception occurred
4830            */
4831            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_U_N_S_PrevAndNext(
4832                    long pageId, long groupId, long userId, long nodeId, int status,
4833                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4834                    throws com.liferay.portal.kernel.exception.SystemException,
4835                            com.liferay.portlet.wiki.NoSuchPageException {
4836                    return getPersistence()
4837                                       .findByG_U_N_S_PrevAndNext(pageId, groupId, userId, nodeId,
4838                            status, orderByComparator);
4839            }
4840    
4841            /**
4842            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4843            *
4844            * @param groupId the group ID
4845            * @param userId the user ID
4846            * @param nodeId the node ID
4847            * @param status the status
4848            * @return the matching wiki pages that the user has permission to view
4849            * @throws SystemException if a system exception occurred
4850            */
4851            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S(
4852                    long groupId, long userId, long nodeId, int status)
4853                    throws com.liferay.portal.kernel.exception.SystemException {
4854                    return getPersistence()
4855                                       .filterFindByG_U_N_S(groupId, userId, nodeId, status);
4856            }
4857    
4858            /**
4859            * 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;.
4860            *
4861            * <p>
4862            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4863            * </p>
4864            *
4865            * @param groupId the group ID
4866            * @param userId the user ID
4867            * @param nodeId the node ID
4868            * @param status the status
4869            * @param start the lower bound of the range of wiki pages
4870            * @param end the upper bound of the range of wiki pages (not inclusive)
4871            * @return the range of matching wiki pages that the user has permission to view
4872            * @throws SystemException if a system exception occurred
4873            */
4874            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S(
4875                    long groupId, long userId, long nodeId, int status, int start, int end)
4876                    throws com.liferay.portal.kernel.exception.SystemException {
4877                    return getPersistence()
4878                                       .filterFindByG_U_N_S(groupId, userId, nodeId, status, start,
4879                            end);
4880            }
4881    
4882            /**
4883            * 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;.
4884            *
4885            * <p>
4886            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4887            * </p>
4888            *
4889            * @param groupId the group ID
4890            * @param userId the user ID
4891            * @param nodeId the node ID
4892            * @param status the status
4893            * @param start the lower bound of the range of wiki pages
4894            * @param end the upper bound of the range of wiki pages (not inclusive)
4895            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4896            * @return the ordered range of matching wiki pages that the user has permission to view
4897            * @throws SystemException if a system exception occurred
4898            */
4899            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S(
4900                    long groupId, long userId, long nodeId, int status, int start, int end,
4901                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4902                    throws com.liferay.portal.kernel.exception.SystemException {
4903                    return getPersistence()
4904                                       .filterFindByG_U_N_S(groupId, userId, nodeId, status, start,
4905                            end, orderByComparator);
4906            }
4907    
4908            /**
4909            * 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;.
4910            *
4911            * @param pageId the primary key of the current wiki page
4912            * @param groupId the group ID
4913            * @param userId the user ID
4914            * @param nodeId the node ID
4915            * @param status the status
4916            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4917            * @return the previous, current, and next wiki page
4918            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4919            * @throws SystemException if a system exception occurred
4920            */
4921            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_U_N_S_PrevAndNext(
4922                    long pageId, long groupId, long userId, long nodeId, int status,
4923                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4924                    throws com.liferay.portal.kernel.exception.SystemException,
4925                            com.liferay.portlet.wiki.NoSuchPageException {
4926                    return getPersistence()
4927                                       .filterFindByG_U_N_S_PrevAndNext(pageId, groupId, userId,
4928                            nodeId, status, orderByComparator);
4929            }
4930    
4931            /**
4932            * Removes all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63; from the database.
4933            *
4934            * @param groupId the group ID
4935            * @param userId the user ID
4936            * @param nodeId the node ID
4937            * @param status the status
4938            * @throws SystemException if a system exception occurred
4939            */
4940            public static void removeByG_U_N_S(long groupId, long userId, long nodeId,
4941                    int status) throws com.liferay.portal.kernel.exception.SystemException {
4942                    getPersistence().removeByG_U_N_S(groupId, userId, nodeId, status);
4943            }
4944    
4945            /**
4946            * Returns the number of wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4947            *
4948            * @param groupId the group ID
4949            * @param userId the user ID
4950            * @param nodeId the node ID
4951            * @param status the status
4952            * @return the number of matching wiki pages
4953            * @throws SystemException if a system exception occurred
4954            */
4955            public static int countByG_U_N_S(long groupId, long userId, long nodeId,
4956                    int status) throws com.liferay.portal.kernel.exception.SystemException {
4957                    return getPersistence().countByG_U_N_S(groupId, userId, nodeId, status);
4958            }
4959    
4960            /**
4961            * 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;.
4962            *
4963            * @param groupId the group ID
4964            * @param userId the user ID
4965            * @param nodeId the node ID
4966            * @param status the status
4967            * @return the number of matching wiki pages that the user has permission to view
4968            * @throws SystemException if a system exception occurred
4969            */
4970            public static int filterCountByG_U_N_S(long groupId, long userId,
4971                    long nodeId, int status)
4972                    throws com.liferay.portal.kernel.exception.SystemException {
4973                    return getPersistence()
4974                                       .filterCountByG_U_N_S(groupId, userId, nodeId, status);
4975            }
4976    
4977            /**
4978            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
4979            *
4980            * @param groupId the group ID
4981            * @param nodeId the node ID
4982            * @param title the title
4983            * @param head the head
4984            * @return the matching wiki pages
4985            * @throws SystemException if a system exception occurred
4986            */
4987            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H(
4988                    long groupId, long nodeId, java.lang.String title, boolean head)
4989                    throws com.liferay.portal.kernel.exception.SystemException {
4990                    return getPersistence().findByG_N_T_H(groupId, nodeId, title, head);
4991            }
4992    
4993            /**
4994            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
4995            *
4996            * <p>
4997            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
4998            * </p>
4999            *
5000            * @param groupId the group ID
5001            * @param nodeId the node ID
5002            * @param title the title
5003            * @param head the head
5004            * @param start the lower bound of the range of wiki pages
5005            * @param end the upper bound of the range of wiki pages (not inclusive)
5006            * @return the range of matching wiki pages
5007            * @throws SystemException if a system exception occurred
5008            */
5009            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H(
5010                    long groupId, long nodeId, java.lang.String title, boolean head,
5011                    int start, int end)
5012                    throws com.liferay.portal.kernel.exception.SystemException {
5013                    return getPersistence()
5014                                       .findByG_N_T_H(groupId, nodeId, title, head, start, end);
5015            }
5016    
5017            /**
5018            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
5019            *
5020            * <p>
5021            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5022            * </p>
5023            *
5024            * @param groupId the group ID
5025            * @param nodeId the node ID
5026            * @param title the title
5027            * @param head the head
5028            * @param start the lower bound of the range of wiki pages
5029            * @param end the upper bound of the range of wiki pages (not inclusive)
5030            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5031            * @return the ordered range of matching wiki pages
5032            * @throws SystemException if a system exception occurred
5033            */
5034            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H(
5035                    long groupId, long nodeId, java.lang.String title, boolean head,
5036                    int start, int end,
5037                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5038                    throws com.liferay.portal.kernel.exception.SystemException {
5039                    return getPersistence()
5040                                       .findByG_N_T_H(groupId, nodeId, title, head, start, end,
5041                            orderByComparator);
5042            }
5043    
5044            /**
5045            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
5046            *
5047            * @param groupId the group ID
5048            * @param nodeId the node ID
5049            * @param title the title
5050            * @param head the head
5051            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5052            * @return the first matching wiki page
5053            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5054            * @throws SystemException if a system exception occurred
5055            */
5056            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_First(
5057                    long groupId, long nodeId, java.lang.String title, boolean head,
5058                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5059                    throws com.liferay.portal.kernel.exception.SystemException,
5060                            com.liferay.portlet.wiki.NoSuchPageException {
5061                    return getPersistence()
5062                                       .findByG_N_T_H_First(groupId, nodeId, title, head,
5063                            orderByComparator);
5064            }
5065    
5066            /**
5067            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
5068            *
5069            * @param groupId the group ID
5070            * @param nodeId the node ID
5071            * @param title the title
5072            * @param head the head
5073            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5074            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
5075            * @throws SystemException if a system exception occurred
5076            */
5077            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_First(
5078                    long groupId, long nodeId, java.lang.String title, boolean head,
5079                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5080                    throws com.liferay.portal.kernel.exception.SystemException {
5081                    return getPersistence()
5082                                       .fetchByG_N_T_H_First(groupId, nodeId, title, head,
5083                            orderByComparator);
5084            }
5085    
5086            /**
5087            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
5088            *
5089            * @param groupId the group ID
5090            * @param nodeId the node ID
5091            * @param title the title
5092            * @param head the head
5093            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5094            * @return the last matching wiki page
5095            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5096            * @throws SystemException if a system exception occurred
5097            */
5098            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_Last(
5099                    long groupId, long nodeId, java.lang.String title, boolean head,
5100                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5101                    throws com.liferay.portal.kernel.exception.SystemException,
5102                            com.liferay.portlet.wiki.NoSuchPageException {
5103                    return getPersistence()
5104                                       .findByG_N_T_H_Last(groupId, nodeId, title, head,
5105                            orderByComparator);
5106            }
5107    
5108            /**
5109            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
5110            *
5111            * @param groupId the group ID
5112            * @param nodeId the node ID
5113            * @param title the title
5114            * @param head the head
5115            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5116            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
5117            * @throws SystemException if a system exception occurred
5118            */
5119            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_Last(
5120                    long groupId, long nodeId, java.lang.String title, boolean head,
5121                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5122                    throws com.liferay.portal.kernel.exception.SystemException {
5123                    return getPersistence()
5124                                       .fetchByG_N_T_H_Last(groupId, nodeId, title, head,
5125                            orderByComparator);
5126            }
5127    
5128            /**
5129            * 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;.
5130            *
5131            * @param pageId the primary key of the current wiki page
5132            * @param groupId the group ID
5133            * @param nodeId the node ID
5134            * @param title the title
5135            * @param head the head
5136            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5137            * @return the previous, current, and next wiki page
5138            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5139            * @throws SystemException if a system exception occurred
5140            */
5141            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_T_H_PrevAndNext(
5142                    long pageId, long groupId, long nodeId, java.lang.String title,
5143                    boolean head,
5144                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5145                    throws com.liferay.portal.kernel.exception.SystemException,
5146                            com.liferay.portlet.wiki.NoSuchPageException {
5147                    return getPersistence()
5148                                       .findByG_N_T_H_PrevAndNext(pageId, groupId, nodeId, title,
5149                            head, orderByComparator);
5150            }
5151    
5152            /**
5153            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
5154            *
5155            * @param groupId the group ID
5156            * @param nodeId the node ID
5157            * @param title the title
5158            * @param head the head
5159            * @return the matching wiki pages that the user has permission to view
5160            * @throws SystemException if a system exception occurred
5161            */
5162            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H(
5163                    long groupId, long nodeId, java.lang.String title, boolean head)
5164                    throws com.liferay.portal.kernel.exception.SystemException {
5165                    return getPersistence().filterFindByG_N_T_H(groupId, nodeId, title, head);
5166            }
5167    
5168            /**
5169            * 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;.
5170            *
5171            * <p>
5172            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5173            * </p>
5174            *
5175            * @param groupId the group ID
5176            * @param nodeId the node ID
5177            * @param title the title
5178            * @param head the head
5179            * @param start the lower bound of the range of wiki pages
5180            * @param end the upper bound of the range of wiki pages (not inclusive)
5181            * @return the range of matching wiki pages that the user has permission to view
5182            * @throws SystemException if a system exception occurred
5183            */
5184            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H(
5185                    long groupId, long nodeId, java.lang.String title, boolean head,
5186                    int start, int end)
5187                    throws com.liferay.portal.kernel.exception.SystemException {
5188                    return getPersistence()
5189                                       .filterFindByG_N_T_H(groupId, nodeId, title, head, start, end);
5190            }
5191    
5192            /**
5193            * 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;.
5194            *
5195            * <p>
5196            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5197            * </p>
5198            *
5199            * @param groupId the group ID
5200            * @param nodeId the node ID
5201            * @param title the title
5202            * @param head the head
5203            * @param start the lower bound of the range of wiki pages
5204            * @param end the upper bound of the range of wiki pages (not inclusive)
5205            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5206            * @return the ordered range of matching wiki pages that the user has permission to view
5207            * @throws SystemException if a system exception occurred
5208            */
5209            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H(
5210                    long groupId, long nodeId, java.lang.String title, boolean head,
5211                    int start, int end,
5212                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5213                    throws com.liferay.portal.kernel.exception.SystemException {
5214                    return getPersistence()
5215                                       .filterFindByG_N_T_H(groupId, nodeId, title, head, start,
5216                            end, orderByComparator);
5217            }
5218    
5219            /**
5220            * 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;.
5221            *
5222            * @param pageId the primary key of the current wiki page
5223            * @param groupId the group ID
5224            * @param nodeId the node ID
5225            * @param title the title
5226            * @param head the head
5227            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5228            * @return the previous, current, and next wiki page
5229            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5230            * @throws SystemException if a system exception occurred
5231            */
5232            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_T_H_PrevAndNext(
5233                    long pageId, long groupId, long nodeId, java.lang.String title,
5234                    boolean head,
5235                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5236                    throws com.liferay.portal.kernel.exception.SystemException,
5237                            com.liferay.portlet.wiki.NoSuchPageException {
5238                    return getPersistence()
5239                                       .filterFindByG_N_T_H_PrevAndNext(pageId, groupId, nodeId,
5240                            title, head, orderByComparator);
5241            }
5242    
5243            /**
5244            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63; from the database.
5245            *
5246            * @param groupId the group ID
5247            * @param nodeId the node ID
5248            * @param title the title
5249            * @param head the head
5250            * @throws SystemException if a system exception occurred
5251            */
5252            public static void removeByG_N_T_H(long groupId, long nodeId,
5253                    java.lang.String title, boolean head)
5254                    throws com.liferay.portal.kernel.exception.SystemException {
5255                    getPersistence().removeByG_N_T_H(groupId, nodeId, title, head);
5256            }
5257    
5258            /**
5259            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
5260            *
5261            * @param groupId the group ID
5262            * @param nodeId the node ID
5263            * @param title the title
5264            * @param head the head
5265            * @return the number of matching wiki pages
5266            * @throws SystemException if a system exception occurred
5267            */
5268            public static int countByG_N_T_H(long groupId, long nodeId,
5269                    java.lang.String title, boolean head)
5270                    throws com.liferay.portal.kernel.exception.SystemException {
5271                    return getPersistence().countByG_N_T_H(groupId, nodeId, title, head);
5272            }
5273    
5274            /**
5275            * 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;.
5276            *
5277            * @param groupId the group ID
5278            * @param nodeId the node ID
5279            * @param title the title
5280            * @param head the head
5281            * @return the number of matching wiki pages that the user has permission to view
5282            * @throws SystemException if a system exception occurred
5283            */
5284            public static int filterCountByG_N_T_H(long groupId, long nodeId,
5285                    java.lang.String title, boolean head)
5286                    throws com.liferay.portal.kernel.exception.SystemException {
5287                    return getPersistence()
5288                                       .filterCountByG_N_T_H(groupId, nodeId, title, head);
5289            }
5290    
5291            /**
5292            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5293            *
5294            * @param groupId the group ID
5295            * @param nodeId the node ID
5296            * @param head the head
5297            * @param status the status
5298            * @return the matching wiki pages
5299            * @throws SystemException if a system exception occurred
5300            */
5301            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S(
5302                    long groupId, long nodeId, boolean head, int status)
5303                    throws com.liferay.portal.kernel.exception.SystemException {
5304                    return getPersistence().findByG_N_H_S(groupId, nodeId, head, status);
5305            }
5306    
5307            /**
5308            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5309            *
5310            * <p>
5311            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5312            * </p>
5313            *
5314            * @param groupId the group ID
5315            * @param nodeId the node ID
5316            * @param head the head
5317            * @param status the status
5318            * @param start the lower bound of the range of wiki pages
5319            * @param end the upper bound of the range of wiki pages (not inclusive)
5320            * @return the range of matching wiki pages
5321            * @throws SystemException if a system exception occurred
5322            */
5323            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S(
5324                    long groupId, long nodeId, boolean head, int status, int start, int end)
5325                    throws com.liferay.portal.kernel.exception.SystemException {
5326                    return getPersistence()
5327                                       .findByG_N_H_S(groupId, nodeId, head, status, start, end);
5328            }
5329    
5330            /**
5331            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5332            *
5333            * <p>
5334            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5335            * </p>
5336            *
5337            * @param groupId the group ID
5338            * @param nodeId the node ID
5339            * @param head the head
5340            * @param status the status
5341            * @param start the lower bound of the range of wiki pages
5342            * @param end the upper bound of the range of wiki pages (not inclusive)
5343            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5344            * @return the ordered range of matching wiki pages
5345            * @throws SystemException if a system exception occurred
5346            */
5347            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S(
5348                    long groupId, long nodeId, boolean head, int status, int start,
5349                    int end,
5350                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5351                    throws com.liferay.portal.kernel.exception.SystemException {
5352                    return getPersistence()
5353                                       .findByG_N_H_S(groupId, nodeId, head, status, start, end,
5354                            orderByComparator);
5355            }
5356    
5357            /**
5358            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5359            *
5360            * @param groupId the group ID
5361            * @param nodeId the node ID
5362            * @param head the head
5363            * @param status the status
5364            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5365            * @return the first matching wiki page
5366            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5367            * @throws SystemException if a system exception occurred
5368            */
5369            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_First(
5370                    long groupId, long nodeId, boolean head, int status,
5371                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5372                    throws com.liferay.portal.kernel.exception.SystemException,
5373                            com.liferay.portlet.wiki.NoSuchPageException {
5374                    return getPersistence()
5375                                       .findByG_N_H_S_First(groupId, nodeId, head, status,
5376                            orderByComparator);
5377            }
5378    
5379            /**
5380            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5381            *
5382            * @param groupId the group ID
5383            * @param nodeId the node ID
5384            * @param head the head
5385            * @param status the status
5386            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5387            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
5388            * @throws SystemException if a system exception occurred
5389            */
5390            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_First(
5391                    long groupId, long nodeId, boolean head, int status,
5392                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5393                    throws com.liferay.portal.kernel.exception.SystemException {
5394                    return getPersistence()
5395                                       .fetchByG_N_H_S_First(groupId, nodeId, head, status,
5396                            orderByComparator);
5397            }
5398    
5399            /**
5400            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5401            *
5402            * @param groupId the group ID
5403            * @param nodeId the node ID
5404            * @param head the head
5405            * @param status the status
5406            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5407            * @return the last matching wiki page
5408            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5409            * @throws SystemException if a system exception occurred
5410            */
5411            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_Last(
5412                    long groupId, long nodeId, boolean head, int status,
5413                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5414                    throws com.liferay.portal.kernel.exception.SystemException,
5415                            com.liferay.portlet.wiki.NoSuchPageException {
5416                    return getPersistence()
5417                                       .findByG_N_H_S_Last(groupId, nodeId, head, status,
5418                            orderByComparator);
5419            }
5420    
5421            /**
5422            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5423            *
5424            * @param groupId the group ID
5425            * @param nodeId the node ID
5426            * @param head the head
5427            * @param status the status
5428            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5429            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
5430            * @throws SystemException if a system exception occurred
5431            */
5432            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_Last(
5433                    long groupId, long nodeId, boolean head, int status,
5434                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5435                    throws com.liferay.portal.kernel.exception.SystemException {
5436                    return getPersistence()
5437                                       .fetchByG_N_H_S_Last(groupId, nodeId, head, status,
5438                            orderByComparator);
5439            }
5440    
5441            /**
5442            * 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;.
5443            *
5444            * @param pageId the primary key of the current wiki page
5445            * @param groupId the group ID
5446            * @param nodeId the node ID
5447            * @param head the head
5448            * @param status the status
5449            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5450            * @return the previous, current, and next wiki page
5451            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5452            * @throws SystemException if a system exception occurred
5453            */
5454            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_S_PrevAndNext(
5455                    long pageId, long groupId, long nodeId, boolean head, int status,
5456                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5457                    throws com.liferay.portal.kernel.exception.SystemException,
5458                            com.liferay.portlet.wiki.NoSuchPageException {
5459                    return getPersistence()
5460                                       .findByG_N_H_S_PrevAndNext(pageId, groupId, nodeId, head,
5461                            status, orderByComparator);
5462            }
5463    
5464            /**
5465            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5466            *
5467            * @param groupId the group ID
5468            * @param nodeId the node ID
5469            * @param head the head
5470            * @param status the status
5471            * @return the matching wiki pages that the user has permission to view
5472            * @throws SystemException if a system exception occurred
5473            */
5474            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S(
5475                    long groupId, long nodeId, boolean head, int status)
5476                    throws com.liferay.portal.kernel.exception.SystemException {
5477                    return getPersistence()
5478                                       .filterFindByG_N_H_S(groupId, nodeId, head, status);
5479            }
5480    
5481            /**
5482            * 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;.
5483            *
5484            * <p>
5485            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5486            * </p>
5487            *
5488            * @param groupId the group ID
5489            * @param nodeId the node ID
5490            * @param head the head
5491            * @param status the status
5492            * @param start the lower bound of the range of wiki pages
5493            * @param end the upper bound of the range of wiki pages (not inclusive)
5494            * @return the range of matching wiki pages that the user has permission to view
5495            * @throws SystemException if a system exception occurred
5496            */
5497            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S(
5498                    long groupId, long nodeId, boolean head, int status, int start, int end)
5499                    throws com.liferay.portal.kernel.exception.SystemException {
5500                    return getPersistence()
5501                                       .filterFindByG_N_H_S(groupId, nodeId, head, status, start,
5502                            end);
5503            }
5504    
5505            /**
5506            * 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;.
5507            *
5508            * <p>
5509            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5510            * </p>
5511            *
5512            * @param groupId the group ID
5513            * @param nodeId the node ID
5514            * @param head the head
5515            * @param status the status
5516            * @param start the lower bound of the range of wiki pages
5517            * @param end the upper bound of the range of wiki pages (not inclusive)
5518            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5519            * @return the ordered range of matching wiki pages that the user has permission to view
5520            * @throws SystemException if a system exception occurred
5521            */
5522            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S(
5523                    long groupId, long nodeId, boolean head, int status, int start,
5524                    int end,
5525                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5526                    throws com.liferay.portal.kernel.exception.SystemException {
5527                    return getPersistence()
5528                                       .filterFindByG_N_H_S(groupId, nodeId, head, status, start,
5529                            end, orderByComparator);
5530            }
5531    
5532            /**
5533            * 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;.
5534            *
5535            * @param pageId the primary key of the current wiki page
5536            * @param groupId the group ID
5537            * @param nodeId the node ID
5538            * @param head the head
5539            * @param status the status
5540            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5541            * @return the previous, current, and next wiki page
5542            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5543            * @throws SystemException if a system exception occurred
5544            */
5545            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_S_PrevAndNext(
5546                    long pageId, long groupId, long nodeId, boolean head, int status,
5547                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5548                    throws com.liferay.portal.kernel.exception.SystemException,
5549                            com.liferay.portlet.wiki.NoSuchPageException {
5550                    return getPersistence()
5551                                       .filterFindByG_N_H_S_PrevAndNext(pageId, groupId, nodeId,
5552                            head, status, orderByComparator);
5553            }
5554    
5555            /**
5556            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63; from the database.
5557            *
5558            * @param groupId the group ID
5559            * @param nodeId the node ID
5560            * @param head the head
5561            * @param status the status
5562            * @throws SystemException if a system exception occurred
5563            */
5564            public static void removeByG_N_H_S(long groupId, long nodeId, boolean head,
5565                    int status) throws com.liferay.portal.kernel.exception.SystemException {
5566                    getPersistence().removeByG_N_H_S(groupId, nodeId, head, status);
5567            }
5568    
5569            /**
5570            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
5571            *
5572            * @param groupId the group ID
5573            * @param nodeId the node ID
5574            * @param head the head
5575            * @param status the status
5576            * @return the number of matching wiki pages
5577            * @throws SystemException if a system exception occurred
5578            */
5579            public static int countByG_N_H_S(long groupId, long nodeId, boolean head,
5580                    int status) throws com.liferay.portal.kernel.exception.SystemException {
5581                    return getPersistence().countByG_N_H_S(groupId, nodeId, head, status);
5582            }
5583    
5584            /**
5585            * 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;.
5586            *
5587            * @param groupId the group ID
5588            * @param nodeId the node ID
5589            * @param head the head
5590            * @param status the status
5591            * @return the number of matching wiki pages that the user has permission to view
5592            * @throws SystemException if a system exception occurred
5593            */
5594            public static int filterCountByG_N_H_S(long groupId, long nodeId,
5595                    boolean head, int status)
5596                    throws com.liferay.portal.kernel.exception.SystemException {
5597                    return getPersistence()
5598                                       .filterCountByG_N_H_S(groupId, nodeId, head, status);
5599            }
5600    
5601            /**
5602            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5603            *
5604            * @param nodeId the node ID
5605            * @param head the head
5606            * @param parentTitle the parent title
5607            * @param status the status
5608            * @return the matching wiki pages
5609            * @throws SystemException if a system exception occurred
5610            */
5611            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
5612                    long nodeId, boolean head, java.lang.String parentTitle, int status)
5613                    throws com.liferay.portal.kernel.exception.SystemException {
5614                    return getPersistence().findByN_H_P_S(nodeId, head, parentTitle, status);
5615            }
5616    
5617            /**
5618            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5619            *
5620            * <p>
5621            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5622            * </p>
5623            *
5624            * @param nodeId the node ID
5625            * @param head the head
5626            * @param parentTitle the parent title
5627            * @param status the status
5628            * @param start the lower bound of the range of wiki pages
5629            * @param end the upper bound of the range of wiki pages (not inclusive)
5630            * @return the range of matching wiki pages
5631            * @throws SystemException if a system exception occurred
5632            */
5633            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
5634                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5635                    int start, int end)
5636                    throws com.liferay.portal.kernel.exception.SystemException {
5637                    return getPersistence()
5638                                       .findByN_H_P_S(nodeId, head, parentTitle, status, start, end);
5639            }
5640    
5641            /**
5642            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5643            *
5644            * <p>
5645            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5646            * </p>
5647            *
5648            * @param nodeId the node ID
5649            * @param head the head
5650            * @param parentTitle the parent title
5651            * @param status the status
5652            * @param start the lower bound of the range of wiki pages
5653            * @param end the upper bound of the range of wiki pages (not inclusive)
5654            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5655            * @return the ordered range of matching wiki pages
5656            * @throws SystemException if a system exception occurred
5657            */
5658            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
5659                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5660                    int start, int end,
5661                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5662                    throws com.liferay.portal.kernel.exception.SystemException {
5663                    return getPersistence()
5664                                       .findByN_H_P_S(nodeId, head, parentTitle, status, start,
5665                            end, orderByComparator);
5666            }
5667    
5668            /**
5669            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5670            *
5671            * @param nodeId the node ID
5672            * @param head the head
5673            * @param parentTitle the parent title
5674            * @param status the status
5675            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5676            * @return the first matching wiki page
5677            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5678            * @throws SystemException if a system exception occurred
5679            */
5680            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_First(
5681                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5682                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5683                    throws com.liferay.portal.kernel.exception.SystemException,
5684                            com.liferay.portlet.wiki.NoSuchPageException {
5685                    return getPersistence()
5686                                       .findByN_H_P_S_First(nodeId, head, parentTitle, status,
5687                            orderByComparator);
5688            }
5689    
5690            /**
5691            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5692            *
5693            * @param nodeId the node ID
5694            * @param head the head
5695            * @param parentTitle the parent title
5696            * @param status the status
5697            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5698            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
5699            * @throws SystemException if a system exception occurred
5700            */
5701            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_First(
5702                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5703                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5704                    throws com.liferay.portal.kernel.exception.SystemException {
5705                    return getPersistence()
5706                                       .fetchByN_H_P_S_First(nodeId, head, parentTitle, status,
5707                            orderByComparator);
5708            }
5709    
5710            /**
5711            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5712            *
5713            * @param nodeId the node ID
5714            * @param head the head
5715            * @param parentTitle the parent title
5716            * @param status the status
5717            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5718            * @return the last matching wiki page
5719            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5720            * @throws SystemException if a system exception occurred
5721            */
5722            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_Last(
5723                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5724                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5725                    throws com.liferay.portal.kernel.exception.SystemException,
5726                            com.liferay.portlet.wiki.NoSuchPageException {
5727                    return getPersistence()
5728                                       .findByN_H_P_S_Last(nodeId, head, parentTitle, status,
5729                            orderByComparator);
5730            }
5731    
5732            /**
5733            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5734            *
5735            * @param nodeId the node ID
5736            * @param head the head
5737            * @param parentTitle the parent title
5738            * @param status the status
5739            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5740            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
5741            * @throws SystemException if a system exception occurred
5742            */
5743            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_Last(
5744                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5745                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5746                    throws com.liferay.portal.kernel.exception.SystemException {
5747                    return getPersistence()
5748                                       .fetchByN_H_P_S_Last(nodeId, head, parentTitle, status,
5749                            orderByComparator);
5750            }
5751    
5752            /**
5753            * 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;.
5754            *
5755            * @param pageId the primary key of the current wiki page
5756            * @param nodeId the node ID
5757            * @param head the head
5758            * @param parentTitle the parent title
5759            * @param status the status
5760            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5761            * @return the previous, current, and next wiki page
5762            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5763            * @throws SystemException if a system exception occurred
5764            */
5765            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_S_PrevAndNext(
5766                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
5767                    int status,
5768                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5769                    throws com.liferay.portal.kernel.exception.SystemException,
5770                            com.liferay.portlet.wiki.NoSuchPageException {
5771                    return getPersistence()
5772                                       .findByN_H_P_S_PrevAndNext(pageId, nodeId, head,
5773                            parentTitle, status, orderByComparator);
5774            }
5775    
5776            /**
5777            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63; from the database.
5778            *
5779            * @param nodeId the node ID
5780            * @param head the head
5781            * @param parentTitle the parent title
5782            * @param status the status
5783            * @throws SystemException if a system exception occurred
5784            */
5785            public static void removeByN_H_P_S(long nodeId, boolean head,
5786                    java.lang.String parentTitle, int status)
5787                    throws com.liferay.portal.kernel.exception.SystemException {
5788                    getPersistence().removeByN_H_P_S(nodeId, head, parentTitle, status);
5789            }
5790    
5791            /**
5792            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5793            *
5794            * @param nodeId the node ID
5795            * @param head the head
5796            * @param parentTitle the parent title
5797            * @param status the status
5798            * @return the number of matching wiki pages
5799            * @throws SystemException if a system exception occurred
5800            */
5801            public static int countByN_H_P_S(long nodeId, boolean head,
5802                    java.lang.String parentTitle, int status)
5803                    throws com.liferay.portal.kernel.exception.SystemException {
5804                    return getPersistence().countByN_H_P_S(nodeId, head, parentTitle, status);
5805            }
5806    
5807            /**
5808            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
5809            *
5810            * @param nodeId the node ID
5811            * @param head the head
5812            * @param parentTitle the parent title
5813            * @param status the status
5814            * @return the matching wiki pages
5815            * @throws SystemException if a system exception occurred
5816            */
5817            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS(
5818                    long nodeId, boolean head, java.lang.String parentTitle, int status)
5819                    throws com.liferay.portal.kernel.exception.SystemException {
5820                    return getPersistence()
5821                                       .findByN_H_P_NotS(nodeId, head, parentTitle, status);
5822            }
5823    
5824            /**
5825            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
5826            *
5827            * <p>
5828            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5829            * </p>
5830            *
5831            * @param nodeId the node ID
5832            * @param head the head
5833            * @param parentTitle the parent title
5834            * @param status the status
5835            * @param start the lower bound of the range of wiki pages
5836            * @param end the upper bound of the range of wiki pages (not inclusive)
5837            * @return the range of matching wiki pages
5838            * @throws SystemException if a system exception occurred
5839            */
5840            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS(
5841                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5842                    int start, int end)
5843                    throws com.liferay.portal.kernel.exception.SystemException {
5844                    return getPersistence()
5845                                       .findByN_H_P_NotS(nodeId, head, parentTitle, status, start,
5846                            end);
5847            }
5848    
5849            /**
5850            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
5851            *
5852            * <p>
5853            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
5854            * </p>
5855            *
5856            * @param nodeId the node ID
5857            * @param head the head
5858            * @param parentTitle the parent title
5859            * @param status the status
5860            * @param start the lower bound of the range of wiki pages
5861            * @param end the upper bound of the range of wiki pages (not inclusive)
5862            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5863            * @return the ordered range of matching wiki pages
5864            * @throws SystemException if a system exception occurred
5865            */
5866            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS(
5867                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5868                    int start, int end,
5869                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5870                    throws com.liferay.portal.kernel.exception.SystemException {
5871                    return getPersistence()
5872                                       .findByN_H_P_NotS(nodeId, head, parentTitle, status, start,
5873                            end, orderByComparator);
5874            }
5875    
5876            /**
5877            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
5878            *
5879            * @param nodeId the node ID
5880            * @param head the head
5881            * @param parentTitle the parent title
5882            * @param status the status
5883            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5884            * @return the first matching wiki page
5885            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5886            * @throws SystemException if a system exception occurred
5887            */
5888            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_NotS_First(
5889                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5890                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5891                    throws com.liferay.portal.kernel.exception.SystemException,
5892                            com.liferay.portlet.wiki.NoSuchPageException {
5893                    return getPersistence()
5894                                       .findByN_H_P_NotS_First(nodeId, head, parentTitle, status,
5895                            orderByComparator);
5896            }
5897    
5898            /**
5899            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
5900            *
5901            * @param nodeId the node ID
5902            * @param head the head
5903            * @param parentTitle the parent title
5904            * @param status the status
5905            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5906            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
5907            * @throws SystemException if a system exception occurred
5908            */
5909            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_NotS_First(
5910                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5911                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5912                    throws com.liferay.portal.kernel.exception.SystemException {
5913                    return getPersistence()
5914                                       .fetchByN_H_P_NotS_First(nodeId, head, parentTitle, status,
5915                            orderByComparator);
5916            }
5917    
5918            /**
5919            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
5920            *
5921            * @param nodeId the node ID
5922            * @param head the head
5923            * @param parentTitle the parent title
5924            * @param status the status
5925            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5926            * @return the last matching wiki page
5927            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5928            * @throws SystemException if a system exception occurred
5929            */
5930            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_NotS_Last(
5931                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5932                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5933                    throws com.liferay.portal.kernel.exception.SystemException,
5934                            com.liferay.portlet.wiki.NoSuchPageException {
5935                    return getPersistence()
5936                                       .findByN_H_P_NotS_Last(nodeId, head, parentTitle, status,
5937                            orderByComparator);
5938            }
5939    
5940            /**
5941            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
5942            *
5943            * @param nodeId the node ID
5944            * @param head the head
5945            * @param parentTitle the parent title
5946            * @param status the status
5947            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5948            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
5949            * @throws SystemException if a system exception occurred
5950            */
5951            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_NotS_Last(
5952                    long nodeId, boolean head, java.lang.String parentTitle, int status,
5953                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5954                    throws com.liferay.portal.kernel.exception.SystemException {
5955                    return getPersistence()
5956                                       .fetchByN_H_P_NotS_Last(nodeId, head, parentTitle, status,
5957                            orderByComparator);
5958            }
5959    
5960            /**
5961            * 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 &ne; &#63;.
5962            *
5963            * @param pageId the primary key of the current wiki page
5964            * @param nodeId the node ID
5965            * @param head the head
5966            * @param parentTitle the parent title
5967            * @param status the status
5968            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5969            * @return the previous, current, and next wiki page
5970            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5971            * @throws SystemException if a system exception occurred
5972            */
5973            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_NotS_PrevAndNext(
5974                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
5975                    int status,
5976                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5977                    throws com.liferay.portal.kernel.exception.SystemException,
5978                            com.liferay.portlet.wiki.NoSuchPageException {
5979                    return getPersistence()
5980                                       .findByN_H_P_NotS_PrevAndNext(pageId, nodeId, head,
5981                            parentTitle, status, orderByComparator);
5982            }
5983    
5984            /**
5985            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63; from the database.
5986            *
5987            * @param nodeId the node ID
5988            * @param head the head
5989            * @param parentTitle the parent title
5990            * @param status the status
5991            * @throws SystemException if a system exception occurred
5992            */
5993            public static void removeByN_H_P_NotS(long nodeId, boolean head,
5994                    java.lang.String parentTitle, int status)
5995                    throws com.liferay.portal.kernel.exception.SystemException {
5996                    getPersistence().removeByN_H_P_NotS(nodeId, head, parentTitle, status);
5997            }
5998    
5999            /**
6000            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
6001            *
6002            * @param nodeId the node ID
6003            * @param head the head
6004            * @param parentTitle the parent title
6005            * @param status the status
6006            * @return the number of matching wiki pages
6007            * @throws SystemException if a system exception occurred
6008            */
6009            public static int countByN_H_P_NotS(long nodeId, boolean head,
6010                    java.lang.String parentTitle, int status)
6011                    throws com.liferay.portal.kernel.exception.SystemException {
6012                    return getPersistence()
6013                                       .countByN_H_P_NotS(nodeId, head, parentTitle, status);
6014            }
6015    
6016            /**
6017            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
6018            *
6019            * @param nodeId the node ID
6020            * @param head the head
6021            * @param redirectTitle the redirect title
6022            * @param status the status
6023            * @return the matching wiki pages
6024            * @throws SystemException if a system exception occurred
6025            */
6026            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S(
6027                    long nodeId, boolean head, java.lang.String redirectTitle, int status)
6028                    throws com.liferay.portal.kernel.exception.SystemException {
6029                    return getPersistence()
6030                                       .findByN_H_R_S(nodeId, head, redirectTitle, status);
6031            }
6032    
6033            /**
6034            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
6035            *
6036            * <p>
6037            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6038            * </p>
6039            *
6040            * @param nodeId the node ID
6041            * @param head the head
6042            * @param redirectTitle the redirect title
6043            * @param status the status
6044            * @param start the lower bound of the range of wiki pages
6045            * @param end the upper bound of the range of wiki pages (not inclusive)
6046            * @return the range of matching wiki pages
6047            * @throws SystemException if a system exception occurred
6048            */
6049            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S(
6050                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6051                    int start, int end)
6052                    throws com.liferay.portal.kernel.exception.SystemException {
6053                    return getPersistence()
6054                                       .findByN_H_R_S(nodeId, head, redirectTitle, status, start,
6055                            end);
6056            }
6057    
6058            /**
6059            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
6060            *
6061            * <p>
6062            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6063            * </p>
6064            *
6065            * @param nodeId the node ID
6066            * @param head the head
6067            * @param redirectTitle the redirect title
6068            * @param status the status
6069            * @param start the lower bound of the range of wiki pages
6070            * @param end the upper bound of the range of wiki pages (not inclusive)
6071            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6072            * @return the ordered range of matching wiki pages
6073            * @throws SystemException if a system exception occurred
6074            */
6075            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S(
6076                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6077                    int start, int end,
6078                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6079                    throws com.liferay.portal.kernel.exception.SystemException {
6080                    return getPersistence()
6081                                       .findByN_H_R_S(nodeId, head, redirectTitle, status, start,
6082                            end, orderByComparator);
6083            }
6084    
6085            /**
6086            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
6087            *
6088            * @param nodeId the node ID
6089            * @param head the head
6090            * @param redirectTitle the redirect title
6091            * @param status the status
6092            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6093            * @return the first matching wiki page
6094            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
6095            * @throws SystemException if a system exception occurred
6096            */
6097            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_S_First(
6098                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6099                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6100                    throws com.liferay.portal.kernel.exception.SystemException,
6101                            com.liferay.portlet.wiki.NoSuchPageException {
6102                    return getPersistence()
6103                                       .findByN_H_R_S_First(nodeId, head, redirectTitle, status,
6104                            orderByComparator);
6105            }
6106    
6107            /**
6108            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
6109            *
6110            * @param nodeId the node ID
6111            * @param head the head
6112            * @param redirectTitle the redirect title
6113            * @param status the status
6114            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6115            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
6116            * @throws SystemException if a system exception occurred
6117            */
6118            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_S_First(
6119                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6120                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6121                    throws com.liferay.portal.kernel.exception.SystemException {
6122                    return getPersistence()
6123                                       .fetchByN_H_R_S_First(nodeId, head, redirectTitle, status,
6124                            orderByComparator);
6125            }
6126    
6127            /**
6128            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
6129            *
6130            * @param nodeId the node ID
6131            * @param head the head
6132            * @param redirectTitle the redirect title
6133            * @param status the status
6134            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6135            * @return the last matching wiki page
6136            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
6137            * @throws SystemException if a system exception occurred
6138            */
6139            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_S_Last(
6140                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6141                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6142                    throws com.liferay.portal.kernel.exception.SystemException,
6143                            com.liferay.portlet.wiki.NoSuchPageException {
6144                    return getPersistence()
6145                                       .findByN_H_R_S_Last(nodeId, head, redirectTitle, status,
6146                            orderByComparator);
6147            }
6148    
6149            /**
6150            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
6151            *
6152            * @param nodeId the node ID
6153            * @param head the head
6154            * @param redirectTitle the redirect title
6155            * @param status the status
6156            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6157            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
6158            * @throws SystemException if a system exception occurred
6159            */
6160            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_S_Last(
6161                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6162                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6163                    throws com.liferay.portal.kernel.exception.SystemException {
6164                    return getPersistence()
6165                                       .fetchByN_H_R_S_Last(nodeId, head, redirectTitle, status,
6166                            orderByComparator);
6167            }
6168    
6169            /**
6170            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
6171            *
6172            * @param pageId the primary key of the current wiki page
6173            * @param nodeId the node ID
6174            * @param head the head
6175            * @param redirectTitle the redirect title
6176            * @param status the status
6177            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6178            * @return the previous, current, and next wiki page
6179            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
6180            * @throws SystemException if a system exception occurred
6181            */
6182            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_S_PrevAndNext(
6183                    long pageId, long nodeId, boolean head, java.lang.String redirectTitle,
6184                    int status,
6185                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6186                    throws com.liferay.portal.kernel.exception.SystemException,
6187                            com.liferay.portlet.wiki.NoSuchPageException {
6188                    return getPersistence()
6189                                       .findByN_H_R_S_PrevAndNext(pageId, nodeId, head,
6190                            redirectTitle, status, orderByComparator);
6191            }
6192    
6193            /**
6194            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63; from the database.
6195            *
6196            * @param nodeId the node ID
6197            * @param head the head
6198            * @param redirectTitle the redirect title
6199            * @param status the status
6200            * @throws SystemException if a system exception occurred
6201            */
6202            public static void removeByN_H_R_S(long nodeId, boolean head,
6203                    java.lang.String redirectTitle, int status)
6204                    throws com.liferay.portal.kernel.exception.SystemException {
6205                    getPersistence().removeByN_H_R_S(nodeId, head, redirectTitle, status);
6206            }
6207    
6208            /**
6209            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
6210            *
6211            * @param nodeId the node ID
6212            * @param head the head
6213            * @param redirectTitle the redirect title
6214            * @param status the status
6215            * @return the number of matching wiki pages
6216            * @throws SystemException if a system exception occurred
6217            */
6218            public static int countByN_H_R_S(long nodeId, boolean head,
6219                    java.lang.String redirectTitle, int status)
6220                    throws com.liferay.portal.kernel.exception.SystemException {
6221                    return getPersistence()
6222                                       .countByN_H_R_S(nodeId, head, redirectTitle, status);
6223            }
6224    
6225            /**
6226            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
6227            *
6228            * @param nodeId the node ID
6229            * @param head the head
6230            * @param redirectTitle the redirect title
6231            * @param status the status
6232            * @return the matching wiki pages
6233            * @throws SystemException if a system exception occurred
6234            */
6235            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS(
6236                    long nodeId, boolean head, java.lang.String redirectTitle, int status)
6237                    throws com.liferay.portal.kernel.exception.SystemException {
6238                    return getPersistence()
6239                                       .findByN_H_R_NotS(nodeId, head, redirectTitle, status);
6240            }
6241    
6242            /**
6243            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
6244            *
6245            * <p>
6246            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6247            * </p>
6248            *
6249            * @param nodeId the node ID
6250            * @param head the head
6251            * @param redirectTitle the redirect title
6252            * @param status the status
6253            * @param start the lower bound of the range of wiki pages
6254            * @param end the upper bound of the range of wiki pages (not inclusive)
6255            * @return the range of matching wiki pages
6256            * @throws SystemException if a system exception occurred
6257            */
6258            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS(
6259                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6260                    int start, int end)
6261                    throws com.liferay.portal.kernel.exception.SystemException {
6262                    return getPersistence()
6263                                       .findByN_H_R_NotS(nodeId, head, redirectTitle, status,
6264                            start, end);
6265            }
6266    
6267            /**
6268            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
6269            *
6270            * <p>
6271            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6272            * </p>
6273            *
6274            * @param nodeId the node ID
6275            * @param head the head
6276            * @param redirectTitle the redirect title
6277            * @param status the status
6278            * @param start the lower bound of the range of wiki pages
6279            * @param end the upper bound of the range of wiki pages (not inclusive)
6280            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6281            * @return the ordered range of matching wiki pages
6282            * @throws SystemException if a system exception occurred
6283            */
6284            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS(
6285                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6286                    int start, int end,
6287                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6288                    throws com.liferay.portal.kernel.exception.SystemException {
6289                    return getPersistence()
6290                                       .findByN_H_R_NotS(nodeId, head, redirectTitle, status,
6291                            start, end, orderByComparator);
6292            }
6293    
6294            /**
6295            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
6296            *
6297            * @param nodeId the node ID
6298            * @param head the head
6299            * @param redirectTitle the redirect title
6300            * @param status the status
6301            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6302            * @return the first matching wiki page
6303            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
6304            * @throws SystemException if a system exception occurred
6305            */
6306            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_NotS_First(
6307                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6308                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6309                    throws com.liferay.portal.kernel.exception.SystemException,
6310                            com.liferay.portlet.wiki.NoSuchPageException {
6311                    return getPersistence()
6312                                       .findByN_H_R_NotS_First(nodeId, head, redirectTitle, status,
6313                            orderByComparator);
6314            }
6315    
6316            /**
6317            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
6318            *
6319            * @param nodeId the node ID
6320            * @param head the head
6321            * @param redirectTitle the redirect title
6322            * @param status the status
6323            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6324            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
6325            * @throws SystemException if a system exception occurred
6326            */
6327            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_NotS_First(
6328                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6329                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6330                    throws com.liferay.portal.kernel.exception.SystemException {
6331                    return getPersistence()
6332                                       .fetchByN_H_R_NotS_First(nodeId, head, redirectTitle,
6333                            status, orderByComparator);
6334            }
6335    
6336            /**
6337            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
6338            *
6339            * @param nodeId the node ID
6340            * @param head the head
6341            * @param redirectTitle the redirect title
6342            * @param status the status
6343            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6344            * @return the last matching wiki page
6345            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
6346            * @throws SystemException if a system exception occurred
6347            */
6348            public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_NotS_Last(
6349                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6350                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6351                    throws com.liferay.portal.kernel.exception.SystemException,
6352                            com.liferay.portlet.wiki.NoSuchPageException {
6353                    return getPersistence()
6354                                       .findByN_H_R_NotS_Last(nodeId, head, redirectTitle, status,
6355                            orderByComparator);
6356            }
6357    
6358            /**
6359            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
6360            *
6361            * @param nodeId the node ID
6362            * @param head the head
6363            * @param redirectTitle the redirect title
6364            * @param status the status
6365            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6366            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
6367            * @throws SystemException if a system exception occurred
6368            */
6369            public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_NotS_Last(
6370                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
6371                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6372                    throws com.liferay.portal.kernel.exception.SystemException {
6373                    return getPersistence()
6374                                       .fetchByN_H_R_NotS_Last(nodeId, head, redirectTitle, status,
6375                            orderByComparator);
6376            }
6377    
6378            /**
6379            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
6380            *
6381            * @param pageId the primary key of the current wiki page
6382            * @param nodeId the node ID
6383            * @param head the head
6384            * @param redirectTitle the redirect title
6385            * @param status the status
6386            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6387            * @return the previous, current, and next wiki page
6388            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
6389            * @throws SystemException if a system exception occurred
6390            */
6391            public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_NotS_PrevAndNext(
6392                    long pageId, long nodeId, boolean head, java.lang.String redirectTitle,
6393                    int status,
6394                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6395                    throws com.liferay.portal.kernel.exception.SystemException,
6396                            com.liferay.portlet.wiki.NoSuchPageException {
6397                    return getPersistence()
6398                                       .findByN_H_R_NotS_PrevAndNext(pageId, nodeId, head,
6399                            redirectTitle, status, orderByComparator);
6400            }
6401    
6402            /**
6403            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63; from the database.
6404            *
6405            * @param nodeId the node ID
6406            * @param head the head
6407            * @param redirectTitle the redirect title
6408            * @param status the status
6409            * @throws SystemException if a system exception occurred
6410            */
6411            public static void removeByN_H_R_NotS(long nodeId, boolean head,
6412                    java.lang.String redirectTitle, int status)
6413                    throws com.liferay.portal.kernel.exception.SystemException {
6414                    getPersistence().removeByN_H_R_NotS(nodeId, head, redirectTitle, status);
6415            }
6416    
6417            /**
6418            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
6419            *
6420            * @param nodeId the node ID
6421            * @param head the head
6422            * @param redirectTitle the redirect title
6423            * @param status the status
6424            * @return the number of matching wiki pages
6425            * @throws SystemException if a system exception occurred
6426            */
6427            public static int countByN_H_R_NotS(long nodeId, boolean head,
6428                    java.lang.String redirectTitle, int status)
6429                    throws com.liferay.portal.kernel.exception.SystemException {
6430                    return getPersistence()
6431                                       .countByN_H_R_NotS(nodeId, head, redirectTitle, status);
6432            }
6433    
6434            /**
6435            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
6436            *
6437            * @param groupId the group ID
6438            * @param nodeId the node ID
6439            * @param head the head
6440            * @param parentTitle the parent title
6441            * @param status the status
6442            * @return the matching wiki pages
6443            * @throws SystemException if a system exception occurred
6444            */
6445            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S(
6446                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
6447                    int status) throws com.liferay.portal.kernel.exception.SystemException {
6448                    return getPersistence()
6449                                       .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status);
6450            }
6451    
6452            /**
6453            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
6454            *
6455            * <p>
6456            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6457            * </p>
6458            *
6459            * @param groupId the group ID
6460            * @param nodeId the node ID
6461            * @param head the head
6462            * @param parentTitle the parent title
6463            * @param status the status
6464            * @param start the lower bound of the range of wiki pages
6465            * @param end the upper bound of the range of wiki pages (not inclusive)
6466            * @return the range of matching wiki pages
6467            * @throws SystemException if a system exception occurred
6468            */
6469            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S(
6470                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
6471                    int status, int start, int end)
6472                    throws com.liferay.portal.kernel.exception.SystemException {
6473                    return getPersistence()
6474                                       .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status,
6475                            start, end);
6476            }
6477    
6478            /**
6479            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
6480            *
6481            * <p>
6482            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6483            * </p>
6484            *
6485            * @param groupId the group ID
6486            * @param nodeId the node ID
6487            * @param head the head
6488            * @param parentTitle the parent title
6489            * @param status the status
6490            * @param start the lower bound of the range of wiki pages
6491            * @param end the upper bound of the range of wiki pages (not inclusive)
6492            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6493            * @return the ordered range of matching wiki pages
6494            * @throws SystemException if a system exception occurred
6495            */
6496            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S(
6497                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
6498                    int status, int start, int end,
6499                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6500                    throws com.liferay.portal.kernel.exception.SystemException {
6501                    return getPersistence()
6502                                       .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status,
6503                            start, end, orderByComparator);
6504            }
6505    
6506            /**
6507            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
6508            *
6509            * @param groupId the group ID
6510            * @param nodeId the node ID
6511            * @param head the head
6512            * @param parentTitle the parent title
6513            * @param status the status
6514            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6515            * @return the first matching wiki page
6516            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
6517            * @throws SystemException if a system exception occurred
6518            */
6519            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_First(
6520                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
6521                    int status,
6522                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6523                    throws com.liferay.portal.kernel.exception.SystemException,
6524                            com.liferay.portlet.wiki.NoSuchPageException {
6525                    return getPersistence()
6526                                       .findByG_N_H_P_S_First(groupId, nodeId, head, parentTitle,
6527                            status, orderByComparator);
6528            }
6529    
6530            /**
6531            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
6532            *
6533            * @param groupId the group ID
6534            * @param nodeId the node ID
6535            * @param head the head
6536            * @param parentTitle the parent title
6537            * @param status the status
6538            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6539            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
6540            * @throws SystemException if a system exception occurred
6541            */
6542            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_First(
6543                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
6544                    int status,
6545                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6546                    throws com.liferay.portal.kernel.exception.SystemException {
6547                    return getPersistence()
6548                                       .fetchByG_N_H_P_S_First(groupId, nodeId, head, parentTitle,
6549                            status, orderByComparator);
6550            }
6551    
6552            /**
6553            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
6554            *
6555            * @param groupId the group ID
6556            * @param nodeId the node ID
6557            * @param head the head
6558            * @param parentTitle the parent title
6559            * @param status the status
6560            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6561            * @return the last matching wiki page
6562            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
6563            * @throws SystemException if a system exception occurred
6564            */
6565            public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_Last(
6566                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
6567                    int status,
6568                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6569                    throws com.liferay.portal.kernel.exception.SystemException,
6570                            com.liferay.portlet.wiki.NoSuchPageException {
6571                    return getPersistence()
6572                                       .findByG_N_H_P_S_Last(groupId, nodeId, head, parentTitle,
6573                            status, orderByComparator);
6574            }
6575    
6576            /**
6577            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
6578            *
6579            * @param groupId the group ID
6580            * @param nodeId the node ID
6581            * @param head the head
6582            * @param parentTitle the parent title
6583            * @param status the status
6584            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6585            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
6586            * @throws SystemException if a system exception occurred
6587            */
6588            public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_Last(
6589                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
6590                    int status,
6591                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6592                    throws com.liferay.portal.kernel.exception.SystemException {
6593                    return getPersistence()
6594                                       .fetchByG_N_H_P_S_Last(groupId, nodeId, head, parentTitle,
6595                            status, orderByComparator);
6596            }
6597    
6598            /**
6599            * 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;.
6600            *
6601            * @param pageId the primary key of the current wiki page
6602            * @param groupId the group ID
6603            * @param nodeId the node ID
6604            * @param head the head
6605            * @param parentTitle the parent title
6606            * @param status the status
6607            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6608            * @return the previous, current, and next wiki page
6609            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
6610            * @throws SystemException if a system exception occurred
6611            */
6612            public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_P_S_PrevAndNext(
6613                    long pageId, long groupId, long nodeId, boolean head,
6614                    java.lang.String parentTitle, int status,
6615                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6616                    throws com.liferay.portal.kernel.exception.SystemException,
6617                            com.liferay.portlet.wiki.NoSuchPageException {
6618                    return getPersistence()
6619                                       .findByG_N_H_P_S_PrevAndNext(pageId, groupId, nodeId, head,
6620                            parentTitle, status, orderByComparator);
6621            }
6622    
6623            /**
6624            * 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;.
6625            *
6626            * @param groupId the group ID
6627            * @param nodeId the node ID
6628            * @param head the head
6629            * @param parentTitle the parent title
6630            * @param status the status
6631            * @return the matching wiki pages that the user has permission to view
6632            * @throws SystemException if a system exception occurred
6633            */
6634            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S(
6635                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
6636                    int status) throws com.liferay.portal.kernel.exception.SystemException {
6637                    return getPersistence()
6638                                       .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle,
6639                            status);
6640            }
6641    
6642            /**
6643            * 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;.
6644            *
6645            * <p>
6646            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6647            * </p>
6648            *
6649            * @param groupId the group ID
6650            * @param nodeId the node ID
6651            * @param head the head
6652            * @param parentTitle the parent title
6653            * @param status the status
6654            * @param start the lower bound of the range of wiki pages
6655            * @param end the upper bound of the range of wiki pages (not inclusive)
6656            * @return the range of matching wiki pages that the user has permission to view
6657            * @throws SystemException if a system exception occurred
6658            */
6659            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S(
6660                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
6661                    int status, int start, int end)
6662                    throws com.liferay.portal.kernel.exception.SystemException {
6663                    return getPersistence()
6664                                       .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle,
6665                            status, start, end);
6666            }
6667    
6668            /**
6669            * 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;.
6670            *
6671            * <p>
6672            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6673            * </p>
6674            *
6675            * @param groupId the group ID
6676            * @param nodeId the node ID
6677            * @param head the head
6678            * @param parentTitle the parent title
6679            * @param status the status
6680            * @param start the lower bound of the range of wiki pages
6681            * @param end the upper bound of the range of wiki pages (not inclusive)
6682            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6683            * @return the ordered range of matching wiki pages that the user has permission to view
6684            * @throws SystemException if a system exception occurred
6685            */
6686            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S(
6687                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
6688                    int status, int start, int end,
6689                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6690                    throws com.liferay.portal.kernel.exception.SystemException {
6691                    return getPersistence()
6692                                       .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle,
6693                            status, start, end, orderByComparator);
6694            }
6695    
6696            /**
6697            * 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;.
6698            *
6699            * @param pageId the primary key of the current wiki page
6700            * @param groupId the group ID
6701            * @param nodeId the node ID
6702            * @param head the head
6703            * @param parentTitle the parent title
6704            * @param status the status
6705            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
6706            * @return the previous, current, and next wiki page
6707            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
6708            * @throws SystemException if a system exception occurred
6709            */
6710            public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_P_S_PrevAndNext(
6711                    long pageId, long groupId, long nodeId, boolean head,
6712                    java.lang.String parentTitle, int status,
6713                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6714                    throws com.liferay.portal.kernel.exception.SystemException,
6715                            com.liferay.portlet.wiki.NoSuchPageException {
6716                    return getPersistence()
6717                                       .filterFindByG_N_H_P_S_PrevAndNext(pageId, groupId, nodeId,
6718                            head, parentTitle, status, orderByComparator);
6719            }
6720    
6721            /**
6722            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63; from the database.
6723            *
6724            * @param groupId the group ID
6725            * @param nodeId the node ID
6726            * @param head the head
6727            * @param parentTitle the parent title
6728            * @param status the status
6729            * @throws SystemException if a system exception occurred
6730            */
6731            public static void removeByG_N_H_P_S(long groupId, long nodeId,
6732                    boolean head, java.lang.String parentTitle, int status)
6733                    throws com.liferay.portal.kernel.exception.SystemException {
6734                    getPersistence()
6735                            .removeByG_N_H_P_S(groupId, nodeId, head, parentTitle, status);
6736            }
6737    
6738            /**
6739            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
6740            *
6741            * @param groupId the group ID
6742            * @param nodeId the node ID
6743            * @param head the head
6744            * @param parentTitle the parent title
6745            * @param status the status
6746            * @return the number of matching wiki pages
6747            * @throws SystemException if a system exception occurred
6748            */
6749            public static int countByG_N_H_P_S(long groupId, long nodeId, boolean head,
6750                    java.lang.String parentTitle, int status)
6751                    throws com.liferay.portal.kernel.exception.SystemException {
6752                    return getPersistence()
6753                                       .countByG_N_H_P_S(groupId, nodeId, head, parentTitle, status);
6754            }
6755    
6756            /**
6757            * 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;.
6758            *
6759            * @param groupId the group ID
6760            * @param nodeId the node ID
6761            * @param head the head
6762            * @param parentTitle the parent title
6763            * @param status the status
6764            * @return the number of matching wiki pages that the user has permission to view
6765            * @throws SystemException if a system exception occurred
6766            */
6767            public static int filterCountByG_N_H_P_S(long groupId, long nodeId,
6768                    boolean head, java.lang.String parentTitle, int status)
6769                    throws com.liferay.portal.kernel.exception.SystemException {
6770                    return getPersistence()
6771                                       .filterCountByG_N_H_P_S(groupId, nodeId, head, parentTitle,
6772                            status);
6773            }
6774    
6775            /**
6776            * Caches the wiki page in the entity cache if it is enabled.
6777            *
6778            * @param wikiPage the wiki page
6779            */
6780            public static void cacheResult(
6781                    com.liferay.portlet.wiki.model.WikiPage wikiPage) {
6782                    getPersistence().cacheResult(wikiPage);
6783            }
6784    
6785            /**
6786            * Caches the wiki pages in the entity cache if it is enabled.
6787            *
6788            * @param wikiPages the wiki pages
6789            */
6790            public static void cacheResult(
6791                    java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages) {
6792                    getPersistence().cacheResult(wikiPages);
6793            }
6794    
6795            /**
6796            * Creates a new wiki page with the primary key. Does not add the wiki page to the database.
6797            *
6798            * @param pageId the primary key for the new wiki page
6799            * @return the new wiki page
6800            */
6801            public static com.liferay.portlet.wiki.model.WikiPage create(long pageId) {
6802                    return getPersistence().create(pageId);
6803            }
6804    
6805            /**
6806            * Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.
6807            *
6808            * @param pageId the primary key of the wiki page
6809            * @return the wiki page that was removed
6810            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
6811            * @throws SystemException if a system exception occurred
6812            */
6813            public static com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
6814                    throws com.liferay.portal.kernel.exception.SystemException,
6815                            com.liferay.portlet.wiki.NoSuchPageException {
6816                    return getPersistence().remove(pageId);
6817            }
6818    
6819            public static com.liferay.portlet.wiki.model.WikiPage updateImpl(
6820                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
6821                    throws com.liferay.portal.kernel.exception.SystemException {
6822                    return getPersistence().updateImpl(wikiPage);
6823            }
6824    
6825            /**
6826            * Returns the wiki page with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found.
6827            *
6828            * @param pageId the primary key of the wiki page
6829            * @return the wiki page
6830            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
6831            * @throws SystemException if a system exception occurred
6832            */
6833            public static com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(
6834                    long pageId)
6835                    throws com.liferay.portal.kernel.exception.SystemException,
6836                            com.liferay.portlet.wiki.NoSuchPageException {
6837                    return getPersistence().findByPrimaryKey(pageId);
6838            }
6839    
6840            /**
6841            * Returns the wiki page with the primary key or returns <code>null</code> if it could not be found.
6842            *
6843            * @param pageId the primary key of the wiki page
6844            * @return the wiki page, or <code>null</code> if a wiki page with the primary key could not be found
6845            * @throws SystemException if a system exception occurred
6846            */
6847            public static com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
6848                    long pageId) throws com.liferay.portal.kernel.exception.SystemException {
6849                    return getPersistence().fetchByPrimaryKey(pageId);
6850            }
6851    
6852            /**
6853            * Returns all the wiki pages.
6854            *
6855            * @return the wiki pages
6856            * @throws SystemException if a system exception occurred
6857            */
6858            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
6859                    throws com.liferay.portal.kernel.exception.SystemException {
6860                    return getPersistence().findAll();
6861            }
6862    
6863            /**
6864            * Returns a range of all the wiki pages.
6865            *
6866            * <p>
6867            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6868            * </p>
6869            *
6870            * @param start the lower bound of the range of wiki pages
6871            * @param end the upper bound of the range of wiki pages (not inclusive)
6872            * @return the range of wiki pages
6873            * @throws SystemException if a system exception occurred
6874            */
6875            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
6876                    int start, int end)
6877                    throws com.liferay.portal.kernel.exception.SystemException {
6878                    return getPersistence().findAll(start, end);
6879            }
6880    
6881            /**
6882            * Returns an ordered range of all the wiki pages.
6883            *
6884            * <p>
6885            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
6886            * </p>
6887            *
6888            * @param start the lower bound of the range of wiki pages
6889            * @param end the upper bound of the range of wiki pages (not inclusive)
6890            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
6891            * @return the ordered range of wiki pages
6892            * @throws SystemException if a system exception occurred
6893            */
6894            public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
6895                    int start, int end,
6896                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
6897                    throws com.liferay.portal.kernel.exception.SystemException {
6898                    return getPersistence().findAll(start, end, orderByComparator);
6899            }
6900    
6901            /**
6902            * Removes all the wiki pages from the database.
6903            *
6904            * @throws SystemException if a system exception occurred
6905            */
6906            public static void removeAll()
6907                    throws com.liferay.portal.kernel.exception.SystemException {
6908                    getPersistence().removeAll();
6909            }
6910    
6911            /**
6912            * Returns the number of wiki pages.
6913            *
6914            * @return the number of wiki pages
6915            * @throws SystemException if a system exception occurred
6916            */
6917            public static int countAll()
6918                    throws com.liferay.portal.kernel.exception.SystemException {
6919                    return getPersistence().countAll();
6920            }
6921    
6922            public static WikiPagePersistence getPersistence() {
6923                    if (_persistence == null) {
6924                            _persistence = (WikiPagePersistence)PortalBeanLocatorUtil.locate(WikiPagePersistence.class.getName());
6925    
6926                            ReferenceRegistry.registerReference(WikiPageUtil.class,
6927                                    "_persistence");
6928                    }
6929    
6930                    return _persistence;
6931            }
6932    
6933            /**
6934             * @deprecated As of 6.2.0
6935             */
6936            public void setPersistence(WikiPagePersistence persistence) {
6937            }
6938    
6939            private static WikiPagePersistence _persistence;
6940    }