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