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