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 redirectTitle = &#63;.
3413            *
3414            * @param nodeId the node ID
3415            * @param head the head
3416            * @param redirectTitle the redirect title
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_R(
3421                    long nodeId, boolean head, java.lang.String redirectTitle)
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 redirectTitle = &#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 redirectTitle the redirect title
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_R(
3440                    long nodeId, boolean head, java.lang.String redirectTitle, int start,
3441                    int end) 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 redirectTitle = &#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 redirectTitle the redirect title
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_R(
3460                    long nodeId, boolean head, java.lang.String redirectTitle, int start,
3461                    int end,
3462                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3463                    throws com.liferay.portal.kernel.exception.SystemException;
3464    
3465            /**
3466            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
3467            *
3468            * @param nodeId the node ID
3469            * @param head the head
3470            * @param redirectTitle the redirect title
3471            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3472            * @return the first matching wiki page
3473            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3474            * @throws SystemException if a system exception occurred
3475            */
3476            public com.liferay.portlet.wiki.model.WikiPage findByN_H_R_First(
3477                    long nodeId, boolean head, java.lang.String redirectTitle,
3478                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3479                    throws com.liferay.portal.kernel.exception.SystemException,
3480                            com.liferay.portlet.wiki.NoSuchPageException;
3481    
3482            /**
3483            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
3484            *
3485            * @param nodeId the node ID
3486            * @param head the head
3487            * @param redirectTitle the redirect title
3488            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3489            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3490            * @throws SystemException if a system exception occurred
3491            */
3492            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_First(
3493                    long nodeId, boolean head, java.lang.String redirectTitle,
3494                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3495                    throws com.liferay.portal.kernel.exception.SystemException;
3496    
3497            /**
3498            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
3499            *
3500            * @param nodeId the node ID
3501            * @param head the head
3502            * @param redirectTitle the redirect title
3503            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3504            * @return the last matching wiki page
3505            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3506            * @throws SystemException if a system exception occurred
3507            */
3508            public com.liferay.portlet.wiki.model.WikiPage findByN_H_R_Last(
3509                    long nodeId, boolean head, java.lang.String redirectTitle,
3510                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3511                    throws com.liferay.portal.kernel.exception.SystemException,
3512                            com.liferay.portlet.wiki.NoSuchPageException;
3513    
3514            /**
3515            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
3516            *
3517            * @param nodeId the node ID
3518            * @param head the head
3519            * @param redirectTitle the redirect title
3520            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3521            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3522            * @throws SystemException if a system exception occurred
3523            */
3524            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_Last(
3525                    long nodeId, boolean head, java.lang.String redirectTitle,
3526                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3527                    throws com.liferay.portal.kernel.exception.SystemException;
3528    
3529            /**
3530            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
3531            *
3532            * @param pageId the primary key of the current wiki page
3533            * @param nodeId the node ID
3534            * @param head the head
3535            * @param redirectTitle the redirect title
3536            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3537            * @return the previous, current, and next wiki page
3538            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3539            * @throws SystemException if a system exception occurred
3540            */
3541            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_PrevAndNext(
3542                    long pageId, long nodeId, boolean head, java.lang.String redirectTitle,
3543                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3544                    throws com.liferay.portal.kernel.exception.SystemException,
3545                            com.liferay.portlet.wiki.NoSuchPageException;
3546    
3547            /**
3548            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; from the database.
3549            *
3550            * @param nodeId the node ID
3551            * @param head the head
3552            * @param redirectTitle the redirect title
3553            * @throws SystemException if a system exception occurred
3554            */
3555            public void removeByN_H_R(long nodeId, boolean head,
3556                    java.lang.String redirectTitle)
3557                    throws com.liferay.portal.kernel.exception.SystemException;
3558    
3559            /**
3560            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63;.
3561            *
3562            * @param nodeId the node ID
3563            * @param head the head
3564            * @param redirectTitle the redirect title
3565            * @return the number of matching wiki pages
3566            * @throws SystemException if a system exception occurred
3567            */
3568            public int countByN_H_R(long nodeId, boolean head,
3569                    java.lang.String redirectTitle)
3570                    throws com.liferay.portal.kernel.exception.SystemException;
3571    
3572            /**
3573            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
3574            *
3575            * @param nodeId the node ID
3576            * @param head the head
3577            * @param status the status
3578            * @return the matching wiki pages
3579            * @throws SystemException if a system exception occurred
3580            */
3581            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
3582                    long nodeId, boolean head, int status)
3583                    throws com.liferay.portal.kernel.exception.SystemException;
3584    
3585            /**
3586            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
3587            *
3588            * <p>
3589            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
3590            * </p>
3591            *
3592            * @param nodeId the node ID
3593            * @param head the head
3594            * @param status the status
3595            * @param start the lower bound of the range of wiki pages
3596            * @param end the upper bound of the range of wiki pages (not inclusive)
3597            * @return the range of matching wiki pages
3598            * @throws SystemException if a system exception occurred
3599            */
3600            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
3601                    long nodeId, boolean head, int status, int start, int end)
3602                    throws com.liferay.portal.kernel.exception.SystemException;
3603    
3604            /**
3605            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
3606            *
3607            * <p>
3608            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
3609            * </p>
3610            *
3611            * @param nodeId the node ID
3612            * @param head the head
3613            * @param status the status
3614            * @param start the lower bound of the range of wiki pages
3615            * @param end the upper bound of the range of wiki pages (not inclusive)
3616            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3617            * @return the ordered range of matching wiki pages
3618            * @throws SystemException if a system exception occurred
3619            */
3620            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
3621                    long nodeId, boolean head, int status, int start, int end,
3622                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3623                    throws com.liferay.portal.kernel.exception.SystemException;
3624    
3625            /**
3626            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
3627            *
3628            * @param nodeId the node ID
3629            * @param head the head
3630            * @param status the status
3631            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3632            * @return the first matching wiki page
3633            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3634            * @throws SystemException if a system exception occurred
3635            */
3636            public com.liferay.portlet.wiki.model.WikiPage findByN_H_S_First(
3637                    long nodeId, boolean head, int status,
3638                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3639                    throws com.liferay.portal.kernel.exception.SystemException,
3640                            com.liferay.portlet.wiki.NoSuchPageException;
3641    
3642            /**
3643            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
3644            *
3645            * @param nodeId the node ID
3646            * @param head the head
3647            * @param status the status
3648            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3649            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3650            * @throws SystemException if a system exception occurred
3651            */
3652            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_First(
3653                    long nodeId, boolean head, int status,
3654                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3655                    throws com.liferay.portal.kernel.exception.SystemException;
3656    
3657            /**
3658            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
3659            *
3660            * @param nodeId the node ID
3661            * @param head the head
3662            * @param status the status
3663            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3664            * @return the last matching wiki page
3665            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3666            * @throws SystemException if a system exception occurred
3667            */
3668            public com.liferay.portlet.wiki.model.WikiPage findByN_H_S_Last(
3669                    long nodeId, boolean head, int status,
3670                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3671                    throws com.liferay.portal.kernel.exception.SystemException,
3672                            com.liferay.portlet.wiki.NoSuchPageException;
3673    
3674            /**
3675            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
3676            *
3677            * @param nodeId the node ID
3678            * @param head the head
3679            * @param status the status
3680            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3681            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3682            * @throws SystemException if a system exception occurred
3683            */
3684            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_Last(
3685                    long nodeId, boolean head, int status,
3686                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3687                    throws com.liferay.portal.kernel.exception.SystemException;
3688    
3689            /**
3690            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
3691            *
3692            * @param pageId the primary key of the current wiki page
3693            * @param nodeId the node ID
3694            * @param head the head
3695            * @param status the status
3696            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3697            * @return the previous, current, and next wiki page
3698            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3699            * @throws SystemException if a system exception occurred
3700            */
3701            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_S_PrevAndNext(
3702                    long pageId, long nodeId, boolean head, int status,
3703                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3704                    throws com.liferay.portal.kernel.exception.SystemException,
3705                            com.liferay.portlet.wiki.NoSuchPageException;
3706    
3707            /**
3708            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63; from the database.
3709            *
3710            * @param nodeId the node ID
3711            * @param head the head
3712            * @param status the status
3713            * @throws SystemException if a system exception occurred
3714            */
3715            public void removeByN_H_S(long nodeId, boolean head, int status)
3716                    throws com.liferay.portal.kernel.exception.SystemException;
3717    
3718            /**
3719            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
3720            *
3721            * @param nodeId the node ID
3722            * @param head the head
3723            * @param status the status
3724            * @return the number of matching wiki pages
3725            * @throws SystemException if a system exception occurred
3726            */
3727            public int countByN_H_S(long nodeId, boolean head, int status)
3728                    throws com.liferay.portal.kernel.exception.SystemException;
3729    
3730            /**
3731            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and status &ne; &#63;.
3732            *
3733            * @param nodeId the node ID
3734            * @param head the head
3735            * @param status the status
3736            * @return the matching wiki pages
3737            * @throws SystemException if a system exception occurred
3738            */
3739            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS(
3740                    long nodeId, boolean head, int status)
3741                    throws com.liferay.portal.kernel.exception.SystemException;
3742    
3743            /**
3744            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and status &ne; &#63;.
3745            *
3746            * <p>
3747            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
3748            * </p>
3749            *
3750            * @param nodeId the node ID
3751            * @param head the head
3752            * @param status the status
3753            * @param start the lower bound of the range of wiki pages
3754            * @param end the upper bound of the range of wiki pages (not inclusive)
3755            * @return the range of matching wiki pages
3756            * @throws SystemException if a system exception occurred
3757            */
3758            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS(
3759                    long nodeId, boolean head, int status, int start, int end)
3760                    throws com.liferay.portal.kernel.exception.SystemException;
3761    
3762            /**
3763            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and status &ne; &#63;.
3764            *
3765            * <p>
3766            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
3767            * </p>
3768            *
3769            * @param nodeId the node ID
3770            * @param head the head
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> findByN_H_NotS(
3779                    long nodeId, boolean head, 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 nodeId = &#63; and head = &#63; and status &ne; &#63;.
3785            *
3786            * @param nodeId the node ID
3787            * @param head the head
3788            * @param status the status
3789            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3790            * @return the first matching wiki page
3791            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3792            * @throws SystemException if a system exception occurred
3793            */
3794            public com.liferay.portlet.wiki.model.WikiPage findByN_H_NotS_First(
3795                    long nodeId, boolean head, int status,
3796                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3797                    throws com.liferay.portal.kernel.exception.SystemException,
3798                            com.liferay.portlet.wiki.NoSuchPageException;
3799    
3800            /**
3801            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status &ne; &#63;.
3802            *
3803            * @param nodeId the node ID
3804            * @param head the head
3805            * @param status the status
3806            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3807            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3808            * @throws SystemException if a system exception occurred
3809            */
3810            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_NotS_First(
3811                    long nodeId, boolean head, int status,
3812                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3813                    throws com.liferay.portal.kernel.exception.SystemException;
3814    
3815            /**
3816            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status &ne; &#63;.
3817            *
3818            * @param nodeId the node ID
3819            * @param head the head
3820            * @param status the status
3821            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3822            * @return the last matching wiki page
3823            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3824            * @throws SystemException if a system exception occurred
3825            */
3826            public com.liferay.portlet.wiki.model.WikiPage findByN_H_NotS_Last(
3827                    long nodeId, boolean head, int status,
3828                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3829                    throws com.liferay.portal.kernel.exception.SystemException,
3830                            com.liferay.portlet.wiki.NoSuchPageException;
3831    
3832            /**
3833            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status &ne; &#63;.
3834            *
3835            * @param nodeId the node ID
3836            * @param head the head
3837            * @param status the status
3838            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3839            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
3840            * @throws SystemException if a system exception occurred
3841            */
3842            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_NotS_Last(
3843                    long nodeId, boolean head, int status,
3844                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3845                    throws com.liferay.portal.kernel.exception.SystemException;
3846    
3847            /**
3848            * 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;.
3849            *
3850            * @param pageId the primary key of the current wiki page
3851            * @param nodeId the node ID
3852            * @param head the head
3853            * @param status the status
3854            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3855            * @return the previous, current, and next wiki page
3856            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
3857            * @throws SystemException if a system exception occurred
3858            */
3859            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_NotS_PrevAndNext(
3860                    long pageId, long nodeId, boolean head, int status,
3861                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3862                    throws com.liferay.portal.kernel.exception.SystemException,
3863                            com.liferay.portlet.wiki.NoSuchPageException;
3864    
3865            /**
3866            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and status &ne; &#63; from the database.
3867            *
3868            * @param nodeId the node ID
3869            * @param head the head
3870            * @param status the status
3871            * @throws SystemException if a system exception occurred
3872            */
3873            public void removeByN_H_NotS(long nodeId, boolean head, int status)
3874                    throws com.liferay.portal.kernel.exception.SystemException;
3875    
3876            /**
3877            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and status &ne; &#63;.
3878            *
3879            * @param nodeId the node ID
3880            * @param head the head
3881            * @param status the status
3882            * @return the number of matching wiki pages
3883            * @throws SystemException if a system exception occurred
3884            */
3885            public int countByN_H_NotS(long nodeId, boolean head, int status)
3886                    throws com.liferay.portal.kernel.exception.SystemException;
3887    
3888            /**
3889            * Returns all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
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            * @return the matching wiki pages
3896            * @throws SystemException if a system exception occurred
3897            */
3898            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S(
3899                    long groupId, long userId, long nodeId, int status)
3900                    throws com.liferay.portal.kernel.exception.SystemException;
3901    
3902            /**
3903            * Returns a range of all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3904            *
3905            * <p>
3906            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
3907            * </p>
3908            *
3909            * @param groupId the group ID
3910            * @param userId the user ID
3911            * @param nodeId the node ID
3912            * @param status the status
3913            * @param start the lower bound of the range of wiki pages
3914            * @param end the upper bound of the range of wiki pages (not inclusive)
3915            * @return the range of matching wiki pages
3916            * @throws SystemException if a system exception occurred
3917            */
3918            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S(
3919                    long groupId, long userId, long nodeId, int status, int start, int end)
3920                    throws com.liferay.portal.kernel.exception.SystemException;
3921    
3922            /**
3923            * Returns an ordered range of all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3924            *
3925            * <p>
3926            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
3927            * </p>
3928            *
3929            * @param groupId the group ID
3930            * @param userId the user ID
3931            * @param nodeId the node ID
3932            * @param status the status
3933            * @param start the lower bound of the range of wiki pages
3934            * @param end the upper bound of the range of wiki pages (not inclusive)
3935            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
3936            * @return the ordered range of matching wiki pages
3937            * @throws SystemException if a system exception occurred
3938            */
3939            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S(
3940                    long groupId, long userId, long nodeId, int status, int start, int end,
3941                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3942                    throws com.liferay.portal.kernel.exception.SystemException;
3943    
3944            /**
3945            * Returns the first wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3946            *
3947            * @param groupId the group ID
3948            * @param userId the user ID
3949            * @param nodeId the node ID
3950            * @param status the status
3951            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3952            * @return the first matching wiki page
3953            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3954            * @throws SystemException if a system exception occurred
3955            */
3956            public com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_First(
3957                    long groupId, long userId, long nodeId, int status,
3958                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3959                    throws com.liferay.portal.kernel.exception.SystemException,
3960                            com.liferay.portlet.wiki.NoSuchPageException;
3961    
3962            /**
3963            * Returns the first wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3964            *
3965            * @param groupId the group ID
3966            * @param userId the user ID
3967            * @param nodeId the node ID
3968            * @param status the status
3969            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3970            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
3971            * @throws SystemException if a system exception occurred
3972            */
3973            public com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_First(
3974                    long groupId, long userId, long nodeId, int status,
3975                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3976                    throws com.liferay.portal.kernel.exception.SystemException;
3977    
3978            /**
3979            * Returns the last wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3980            *
3981            * @param groupId the group ID
3982            * @param userId the user ID
3983            * @param nodeId the node ID
3984            * @param status the status
3985            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
3986            * @return the last matching wiki page
3987            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
3988            * @throws SystemException if a system exception occurred
3989            */
3990            public com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_Last(
3991                    long groupId, long userId, long nodeId, int status,
3992                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
3993                    throws com.liferay.portal.kernel.exception.SystemException,
3994                            com.liferay.portlet.wiki.NoSuchPageException;
3995    
3996            /**
3997            * Returns the last wiki page in the ordered set where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
3998            *
3999            * @param groupId the group ID
4000            * @param userId the user ID
4001            * @param nodeId the node ID
4002            * @param status the status
4003            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4004            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4005            * @throws SystemException if a system exception occurred
4006            */
4007            public com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_Last(
4008                    long groupId, long userId, long nodeId, int status,
4009                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4010                    throws com.liferay.portal.kernel.exception.SystemException;
4011    
4012            /**
4013            * 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;.
4014            *
4015            * @param pageId the primary key of the current wiki page
4016            * @param groupId the group ID
4017            * @param userId the user ID
4018            * @param nodeId the node ID
4019            * @param status the status
4020            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4021            * @return the previous, current, and next wiki page
4022            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4023            * @throws SystemException if a system exception occurred
4024            */
4025            public com.liferay.portlet.wiki.model.WikiPage[] findByG_U_N_S_PrevAndNext(
4026                    long pageId, long groupId, long userId, long nodeId, int status,
4027                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4028                    throws com.liferay.portal.kernel.exception.SystemException,
4029                            com.liferay.portlet.wiki.NoSuchPageException;
4030    
4031            /**
4032            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4033            *
4034            * @param groupId the group ID
4035            * @param userId the user ID
4036            * @param nodeId the node ID
4037            * @param status the status
4038            * @return the matching wiki pages that the user has permission to view
4039            * @throws SystemException if a system exception occurred
4040            */
4041            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S(
4042                    long groupId, long userId, long nodeId, int status)
4043                    throws com.liferay.portal.kernel.exception.SystemException;
4044    
4045            /**
4046            * 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;.
4047            *
4048            * <p>
4049            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4050            * </p>
4051            *
4052            * @param groupId the group ID
4053            * @param userId the user ID
4054            * @param nodeId the node ID
4055            * @param status the status
4056            * @param start the lower bound of the range of wiki pages
4057            * @param end the upper bound of the range of wiki pages (not inclusive)
4058            * @return the range of matching wiki pages that the user has permission to view
4059            * @throws SystemException if a system exception occurred
4060            */
4061            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S(
4062                    long groupId, long userId, long nodeId, int status, int start, int end)
4063                    throws com.liferay.portal.kernel.exception.SystemException;
4064    
4065            /**
4066            * 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;.
4067            *
4068            * <p>
4069            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4070            * </p>
4071            *
4072            * @param groupId the group ID
4073            * @param userId the user ID
4074            * @param nodeId the node ID
4075            * @param status the status
4076            * @param start the lower bound of the range of wiki pages
4077            * @param end the upper bound of the range of wiki pages (not inclusive)
4078            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4079            * @return the ordered range of matching wiki pages that the user has permission to view
4080            * @throws SystemException if a system exception occurred
4081            */
4082            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S(
4083                    long groupId, long userId, long nodeId, int status, int start, int end,
4084                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4085                    throws com.liferay.portal.kernel.exception.SystemException;
4086    
4087            /**
4088            * 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;.
4089            *
4090            * @param pageId the primary key of the current wiki page
4091            * @param groupId the group ID
4092            * @param userId the user ID
4093            * @param nodeId the node ID
4094            * @param status the status
4095            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4096            * @return the previous, current, and next wiki page
4097            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4098            * @throws SystemException if a system exception occurred
4099            */
4100            public com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_U_N_S_PrevAndNext(
4101                    long pageId, long groupId, long userId, long nodeId, int status,
4102                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4103                    throws com.liferay.portal.kernel.exception.SystemException,
4104                            com.liferay.portlet.wiki.NoSuchPageException;
4105    
4106            /**
4107            * Removes all the wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63; from the database.
4108            *
4109            * @param groupId the group ID
4110            * @param userId the user ID
4111            * @param nodeId the node ID
4112            * @param status the status
4113            * @throws SystemException if a system exception occurred
4114            */
4115            public void removeByG_U_N_S(long groupId, long userId, long nodeId,
4116                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4117    
4118            /**
4119            * Returns the number of wiki pages where groupId = &#63; and userId = &#63; and nodeId = &#63; and status = &#63;.
4120            *
4121            * @param groupId the group ID
4122            * @param userId the user ID
4123            * @param nodeId the node ID
4124            * @param status the status
4125            * @return the number of matching wiki pages
4126            * @throws SystemException if a system exception occurred
4127            */
4128            public int countByG_U_N_S(long groupId, long userId, long nodeId, int status)
4129                    throws com.liferay.portal.kernel.exception.SystemException;
4130    
4131            /**
4132            * 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;.
4133            *
4134            * @param groupId the group ID
4135            * @param userId the user ID
4136            * @param nodeId the node ID
4137            * @param status the status
4138            * @return the number of matching wiki pages that the user has permission to view
4139            * @throws SystemException if a system exception occurred
4140            */
4141            public int filterCountByG_U_N_S(long groupId, long userId, long nodeId,
4142                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4143    
4144            /**
4145            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
4146            *
4147            * @param groupId the group ID
4148            * @param nodeId the node ID
4149            * @param title the title
4150            * @param head the head
4151            * @return the matching wiki pages
4152            * @throws SystemException if a system exception occurred
4153            */
4154            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H(
4155                    long groupId, long nodeId, java.lang.String title, boolean head)
4156                    throws com.liferay.portal.kernel.exception.SystemException;
4157    
4158            /**
4159            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
4160            *
4161            * <p>
4162            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4163            * </p>
4164            *
4165            * @param groupId the group ID
4166            * @param nodeId the node ID
4167            * @param title the title
4168            * @param head the head
4169            * @param start the lower bound of the range of wiki pages
4170            * @param end the upper bound of the range of wiki pages (not inclusive)
4171            * @return the range of matching wiki pages
4172            * @throws SystemException if a system exception occurred
4173            */
4174            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H(
4175                    long groupId, long nodeId, java.lang.String title, boolean head,
4176                    int start, int end)
4177                    throws com.liferay.portal.kernel.exception.SystemException;
4178    
4179            /**
4180            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
4181            *
4182            * <p>
4183            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4184            * </p>
4185            *
4186            * @param groupId the group ID
4187            * @param nodeId the node ID
4188            * @param title the title
4189            * @param head the head
4190            * @param start the lower bound of the range of wiki pages
4191            * @param end the upper bound of the range of wiki pages (not inclusive)
4192            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4193            * @return the ordered range of matching wiki pages
4194            * @throws SystemException if a system exception occurred
4195            */
4196            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H(
4197                    long groupId, long nodeId, java.lang.String title, boolean head,
4198                    int start, int end,
4199                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4200                    throws com.liferay.portal.kernel.exception.SystemException;
4201    
4202            /**
4203            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
4204            *
4205            * @param groupId the group ID
4206            * @param nodeId the node ID
4207            * @param title the title
4208            * @param head the head
4209            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4210            * @return the first matching wiki page
4211            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4212            * @throws SystemException if a system exception occurred
4213            */
4214            public com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_First(
4215                    long groupId, long nodeId, java.lang.String title, boolean head,
4216                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4217                    throws com.liferay.portal.kernel.exception.SystemException,
4218                            com.liferay.portlet.wiki.NoSuchPageException;
4219    
4220            /**
4221            * Returns the first wiki page in the ordered set 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            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4228            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
4229            * @throws SystemException if a system exception occurred
4230            */
4231            public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_First(
4232                    long groupId, long nodeId, java.lang.String title, boolean head,
4233                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4234                    throws com.liferay.portal.kernel.exception.SystemException;
4235    
4236            /**
4237            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
4238            *
4239            * @param groupId the group ID
4240            * @param nodeId the node ID
4241            * @param title the title
4242            * @param head the head
4243            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4244            * @return the last matching wiki page
4245            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4246            * @throws SystemException if a system exception occurred
4247            */
4248            public com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_Last(
4249                    long groupId, long nodeId, java.lang.String title, boolean head,
4250                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4251                    throws com.liferay.portal.kernel.exception.SystemException,
4252                            com.liferay.portlet.wiki.NoSuchPageException;
4253    
4254            /**
4255            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
4256            *
4257            * @param groupId the group ID
4258            * @param nodeId the node ID
4259            * @param title the title
4260            * @param head the head
4261            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4262            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4263            * @throws SystemException if a system exception occurred
4264            */
4265            public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_Last(
4266                    long groupId, long nodeId, java.lang.String title, boolean head,
4267                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4268                    throws com.liferay.portal.kernel.exception.SystemException;
4269    
4270            /**
4271            * 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;.
4272            *
4273            * @param pageId the primary key of the current wiki page
4274            * @param groupId the group ID
4275            * @param nodeId the node ID
4276            * @param title the title
4277            * @param head the head
4278            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4279            * @return the previous, current, and next wiki page
4280            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4281            * @throws SystemException if a system exception occurred
4282            */
4283            public com.liferay.portlet.wiki.model.WikiPage[] findByG_N_T_H_PrevAndNext(
4284                    long pageId, long groupId, long nodeId, java.lang.String title,
4285                    boolean head,
4286                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4287                    throws com.liferay.portal.kernel.exception.SystemException,
4288                            com.liferay.portlet.wiki.NoSuchPageException;
4289    
4290            /**
4291            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
4292            *
4293            * @param groupId the group ID
4294            * @param nodeId the node ID
4295            * @param title the title
4296            * @param head the head
4297            * @return the matching wiki pages that the user has permission to view
4298            * @throws SystemException if a system exception occurred
4299            */
4300            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H(
4301                    long groupId, long nodeId, java.lang.String title, boolean head)
4302                    throws com.liferay.portal.kernel.exception.SystemException;
4303    
4304            /**
4305            * 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;.
4306            *
4307            * <p>
4308            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4309            * </p>
4310            *
4311            * @param groupId the group ID
4312            * @param nodeId the node ID
4313            * @param title the title
4314            * @param head the head
4315            * @param start the lower bound of the range of wiki pages
4316            * @param end the upper bound of the range of wiki pages (not inclusive)
4317            * @return the range of matching wiki pages that the user has permission to view
4318            * @throws SystemException if a system exception occurred
4319            */
4320            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H(
4321                    long groupId, long nodeId, java.lang.String title, boolean head,
4322                    int start, int end)
4323                    throws com.liferay.portal.kernel.exception.SystemException;
4324    
4325            /**
4326            * 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;.
4327            *
4328            * <p>
4329            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4330            * </p>
4331            *
4332            * @param groupId the group ID
4333            * @param nodeId the node ID
4334            * @param title the title
4335            * @param head the head
4336            * @param start the lower bound of the range of wiki pages
4337            * @param end the upper bound of the range of wiki pages (not inclusive)
4338            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4339            * @return the ordered range of matching wiki pages that the user has permission to view
4340            * @throws SystemException if a system exception occurred
4341            */
4342            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H(
4343                    long groupId, long nodeId, java.lang.String title, boolean head,
4344                    int start, int end,
4345                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4346                    throws com.liferay.portal.kernel.exception.SystemException;
4347    
4348            /**
4349            * 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;.
4350            *
4351            * @param pageId the primary key of the current wiki page
4352            * @param groupId the group ID
4353            * @param nodeId the node ID
4354            * @param title the title
4355            * @param head the head
4356            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4357            * @return the previous, current, and next wiki page
4358            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4359            * @throws SystemException if a system exception occurred
4360            */
4361            public com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_T_H_PrevAndNext(
4362                    long pageId, long groupId, long nodeId, java.lang.String title,
4363                    boolean head,
4364                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4365                    throws com.liferay.portal.kernel.exception.SystemException,
4366                            com.liferay.portlet.wiki.NoSuchPageException;
4367    
4368            /**
4369            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63; from the database.
4370            *
4371            * @param groupId the group ID
4372            * @param nodeId the node ID
4373            * @param title the title
4374            * @param head the head
4375            * @throws SystemException if a system exception occurred
4376            */
4377            public void removeByG_N_T_H(long groupId, long nodeId,
4378                    java.lang.String title, boolean head)
4379                    throws com.liferay.portal.kernel.exception.SystemException;
4380    
4381            /**
4382            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and title = &#63; and head = &#63;.
4383            *
4384            * @param groupId the group ID
4385            * @param nodeId the node ID
4386            * @param title the title
4387            * @param head the head
4388            * @return the number of matching wiki pages
4389            * @throws SystemException if a system exception occurred
4390            */
4391            public int countByG_N_T_H(long groupId, long nodeId,
4392                    java.lang.String title, boolean head)
4393                    throws com.liferay.portal.kernel.exception.SystemException;
4394    
4395            /**
4396            * 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;.
4397            *
4398            * @param groupId the group ID
4399            * @param nodeId the node ID
4400            * @param title the title
4401            * @param head the head
4402            * @return the number of matching wiki pages that the user has permission to view
4403            * @throws SystemException if a system exception occurred
4404            */
4405            public int filterCountByG_N_T_H(long groupId, long nodeId,
4406                    java.lang.String title, boolean head)
4407                    throws com.liferay.portal.kernel.exception.SystemException;
4408    
4409            /**
4410            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
4411            *
4412            * @param groupId the group ID
4413            * @param nodeId the node ID
4414            * @param head the head
4415            * @param status the status
4416            * @return the matching wiki pages
4417            * @throws SystemException if a system exception occurred
4418            */
4419            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S(
4420                    long groupId, long nodeId, boolean head, int status)
4421                    throws com.liferay.portal.kernel.exception.SystemException;
4422    
4423            /**
4424            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
4425            *
4426            * <p>
4427            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4428            * </p>
4429            *
4430            * @param groupId the group ID
4431            * @param nodeId the node ID
4432            * @param head the head
4433            * @param status the status
4434            * @param start the lower bound of the range of wiki pages
4435            * @param end the upper bound of the range of wiki pages (not inclusive)
4436            * @return the range of matching wiki pages
4437            * @throws SystemException if a system exception occurred
4438            */
4439            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S(
4440                    long groupId, long nodeId, boolean head, int status, int start, int end)
4441                    throws com.liferay.portal.kernel.exception.SystemException;
4442    
4443            /**
4444            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
4445            *
4446            * <p>
4447            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4448            * </p>
4449            *
4450            * @param groupId the group ID
4451            * @param nodeId the node ID
4452            * @param head the head
4453            * @param status the status
4454            * @param start the lower bound of the range of wiki pages
4455            * @param end the upper bound of the range of wiki pages (not inclusive)
4456            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4457            * @return the ordered range of matching wiki pages
4458            * @throws SystemException if a system exception occurred
4459            */
4460            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S(
4461                    long groupId, long nodeId, boolean head, int status, int start,
4462                    int end,
4463                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4464                    throws com.liferay.portal.kernel.exception.SystemException;
4465    
4466            /**
4467            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
4468            *
4469            * @param groupId the group ID
4470            * @param nodeId the node ID
4471            * @param head the head
4472            * @param status the status
4473            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4474            * @return the first matching wiki page
4475            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4476            * @throws SystemException if a system exception occurred
4477            */
4478            public com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_First(
4479                    long groupId, long nodeId, boolean head, int status,
4480                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4481                    throws com.liferay.portal.kernel.exception.SystemException,
4482                            com.liferay.portlet.wiki.NoSuchPageException;
4483    
4484            /**
4485            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
4486            *
4487            * @param groupId the group ID
4488            * @param nodeId the node ID
4489            * @param head the head
4490            * @param status the status
4491            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4492            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
4493            * @throws SystemException if a system exception occurred
4494            */
4495            public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_First(
4496                    long groupId, long nodeId, boolean head, int status,
4497                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4498                    throws com.liferay.portal.kernel.exception.SystemException;
4499    
4500            /**
4501            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
4502            *
4503            * @param groupId the group ID
4504            * @param nodeId the node ID
4505            * @param head the head
4506            * @param status the status
4507            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4508            * @return the last matching wiki page
4509            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4510            * @throws SystemException if a system exception occurred
4511            */
4512            public com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_Last(
4513                    long groupId, long nodeId, boolean head, int status,
4514                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4515                    throws com.liferay.portal.kernel.exception.SystemException,
4516                            com.liferay.portlet.wiki.NoSuchPageException;
4517    
4518            /**
4519            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
4520            *
4521            * @param groupId the group ID
4522            * @param nodeId the node ID
4523            * @param head the head
4524            * @param status the status
4525            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4526            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4527            * @throws SystemException if a system exception occurred
4528            */
4529            public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_Last(
4530                    long groupId, long nodeId, boolean head, int status,
4531                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4532                    throws com.liferay.portal.kernel.exception.SystemException;
4533    
4534            /**
4535            * 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;.
4536            *
4537            * @param pageId the primary key of the current wiki page
4538            * @param groupId the group ID
4539            * @param nodeId the node ID
4540            * @param head the head
4541            * @param status the status
4542            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4543            * @return the previous, current, and next wiki page
4544            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4545            * @throws SystemException if a system exception occurred
4546            */
4547            public com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_S_PrevAndNext(
4548                    long pageId, long groupId, long nodeId, boolean head, int status,
4549                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4550                    throws com.liferay.portal.kernel.exception.SystemException,
4551                            com.liferay.portlet.wiki.NoSuchPageException;
4552    
4553            /**
4554            * Returns all the wiki pages that the user has permission to view where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
4555            *
4556            * @param groupId the group ID
4557            * @param nodeId the node ID
4558            * @param head the head
4559            * @param status the status
4560            * @return the matching wiki pages that the user has permission to view
4561            * @throws SystemException if a system exception occurred
4562            */
4563            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S(
4564                    long groupId, long nodeId, boolean head, int status)
4565                    throws com.liferay.portal.kernel.exception.SystemException;
4566    
4567            /**
4568            * 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;.
4569            *
4570            * <p>
4571            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4572            * </p>
4573            *
4574            * @param groupId the group ID
4575            * @param nodeId the node ID
4576            * @param head the head
4577            * @param status the status
4578            * @param start the lower bound of the range of wiki pages
4579            * @param end the upper bound of the range of wiki pages (not inclusive)
4580            * @return the range of matching wiki pages that the user has permission to view
4581            * @throws SystemException if a system exception occurred
4582            */
4583            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S(
4584                    long groupId, long nodeId, boolean head, int status, int start, int end)
4585                    throws com.liferay.portal.kernel.exception.SystemException;
4586    
4587            /**
4588            * 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;.
4589            *
4590            * <p>
4591            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4592            * </p>
4593            *
4594            * @param groupId the group ID
4595            * @param nodeId the node ID
4596            * @param head the head
4597            * @param status the status
4598            * @param start the lower bound of the range of wiki pages
4599            * @param end the upper bound of the range of wiki pages (not inclusive)
4600            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4601            * @return the ordered range of matching wiki pages that the user has permission to view
4602            * @throws SystemException if a system exception occurred
4603            */
4604            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S(
4605                    long groupId, long nodeId, boolean head, int status, int start,
4606                    int end,
4607                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4608                    throws com.liferay.portal.kernel.exception.SystemException;
4609    
4610            /**
4611            * 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;.
4612            *
4613            * @param pageId the primary key of the current wiki page
4614            * @param groupId the group ID
4615            * @param nodeId the node ID
4616            * @param head the head
4617            * @param status the status
4618            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4619            * @return the previous, current, and next wiki page
4620            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4621            * @throws SystemException if a system exception occurred
4622            */
4623            public com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_S_PrevAndNext(
4624                    long pageId, long groupId, long nodeId, boolean head, int status,
4625                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4626                    throws com.liferay.portal.kernel.exception.SystemException,
4627                            com.liferay.portlet.wiki.NoSuchPageException;
4628    
4629            /**
4630            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63; from the database.
4631            *
4632            * @param groupId the group ID
4633            * @param nodeId the node ID
4634            * @param head the head
4635            * @param status the status
4636            * @throws SystemException if a system exception occurred
4637            */
4638            public void removeByG_N_H_S(long groupId, long nodeId, boolean head,
4639                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4640    
4641            /**
4642            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and status = &#63;.
4643            *
4644            * @param groupId the group ID
4645            * @param nodeId the node ID
4646            * @param head the head
4647            * @param status the status
4648            * @return the number of matching wiki pages
4649            * @throws SystemException if a system exception occurred
4650            */
4651            public int countByG_N_H_S(long groupId, long nodeId, boolean head,
4652                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4653    
4654            /**
4655            * 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;.
4656            *
4657            * @param groupId the group ID
4658            * @param nodeId the node ID
4659            * @param head the head
4660            * @param status the status
4661            * @return the number of matching wiki pages that the user has permission to view
4662            * @throws SystemException if a system exception occurred
4663            */
4664            public int filterCountByG_N_H_S(long groupId, long nodeId, boolean head,
4665                    int status) throws com.liferay.portal.kernel.exception.SystemException;
4666    
4667            /**
4668            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4669            *
4670            * @param nodeId the node ID
4671            * @param head the head
4672            * @param parentTitle the parent title
4673            * @param status the status
4674            * @return the matching wiki pages
4675            * @throws SystemException if a system exception occurred
4676            */
4677            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
4678                    long nodeId, boolean head, java.lang.String parentTitle, int status)
4679                    throws com.liferay.portal.kernel.exception.SystemException;
4680    
4681            /**
4682            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4683            *
4684            * <p>
4685            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4686            * </p>
4687            *
4688            * @param nodeId the node ID
4689            * @param head the head
4690            * @param parentTitle the parent title
4691            * @param status the status
4692            * @param start the lower bound of the range of wiki pages
4693            * @param end the upper bound of the range of wiki pages (not inclusive)
4694            * @return the range of matching wiki pages
4695            * @throws SystemException if a system exception occurred
4696            */
4697            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
4698                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4699                    int start, int end)
4700                    throws com.liferay.portal.kernel.exception.SystemException;
4701    
4702            /**
4703            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4704            *
4705            * <p>
4706            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4707            * </p>
4708            *
4709            * @param nodeId the node ID
4710            * @param head the head
4711            * @param parentTitle the parent title
4712            * @param status the status
4713            * @param start the lower bound of the range of wiki pages
4714            * @param end the upper bound of the range of wiki pages (not inclusive)
4715            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4716            * @return the ordered range of matching wiki pages
4717            * @throws SystemException if a system exception occurred
4718            */
4719            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
4720                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4721                    int start, int end,
4722                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4723                    throws com.liferay.portal.kernel.exception.SystemException;
4724    
4725            /**
4726            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4727            *
4728            * @param nodeId the node ID
4729            * @param head the head
4730            * @param parentTitle the parent title
4731            * @param status the status
4732            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4733            * @return the first matching wiki page
4734            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4735            * @throws SystemException if a system exception occurred
4736            */
4737            public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_First(
4738                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4739                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4740                    throws com.liferay.portal.kernel.exception.SystemException,
4741                            com.liferay.portlet.wiki.NoSuchPageException;
4742    
4743            /**
4744            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4745            *
4746            * @param nodeId the node ID
4747            * @param head the head
4748            * @param parentTitle the parent title
4749            * @param status the status
4750            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4751            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
4752            * @throws SystemException if a system exception occurred
4753            */
4754            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_First(
4755                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4756                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4757                    throws com.liferay.portal.kernel.exception.SystemException;
4758    
4759            /**
4760            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4761            *
4762            * @param nodeId the node ID
4763            * @param head the head
4764            * @param parentTitle the parent title
4765            * @param status the status
4766            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4767            * @return the last matching wiki page
4768            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4769            * @throws SystemException if a system exception occurred
4770            */
4771            public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_Last(
4772                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4773                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4774                    throws com.liferay.portal.kernel.exception.SystemException,
4775                            com.liferay.portlet.wiki.NoSuchPageException;
4776    
4777            /**
4778            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4779            *
4780            * @param nodeId the node ID
4781            * @param head the head
4782            * @param parentTitle the parent title
4783            * @param status the status
4784            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4785            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4786            * @throws SystemException if a system exception occurred
4787            */
4788            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_Last(
4789                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4790                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4791                    throws com.liferay.portal.kernel.exception.SystemException;
4792    
4793            /**
4794            * 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;.
4795            *
4796            * @param pageId the primary key of the current wiki page
4797            * @param nodeId the node ID
4798            * @param head the head
4799            * @param parentTitle the parent title
4800            * @param status the status
4801            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4802            * @return the previous, current, and next wiki page
4803            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4804            * @throws SystemException if a system exception occurred
4805            */
4806            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_S_PrevAndNext(
4807                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
4808                    int status,
4809                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4810                    throws com.liferay.portal.kernel.exception.SystemException,
4811                            com.liferay.portlet.wiki.NoSuchPageException;
4812    
4813            /**
4814            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63; from the database.
4815            *
4816            * @param nodeId the node ID
4817            * @param head the head
4818            * @param parentTitle the parent title
4819            * @param status the status
4820            * @throws SystemException if a system exception occurred
4821            */
4822            public void removeByN_H_P_S(long nodeId, boolean head,
4823                    java.lang.String parentTitle, int status)
4824                    throws com.liferay.portal.kernel.exception.SystemException;
4825    
4826            /**
4827            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
4828            *
4829            * @param nodeId the node ID
4830            * @param head the head
4831            * @param parentTitle the parent title
4832            * @param status the status
4833            * @return the number of matching wiki pages
4834            * @throws SystemException if a system exception occurred
4835            */
4836            public int countByN_H_P_S(long nodeId, boolean head,
4837                    java.lang.String parentTitle, int status)
4838                    throws com.liferay.portal.kernel.exception.SystemException;
4839    
4840            /**
4841            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
4842            *
4843            * @param nodeId the node ID
4844            * @param head the head
4845            * @param parentTitle the parent title
4846            * @param status the status
4847            * @return the matching wiki pages
4848            * @throws SystemException if a system exception occurred
4849            */
4850            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS(
4851                    long nodeId, boolean head, java.lang.String parentTitle, int status)
4852                    throws com.liferay.portal.kernel.exception.SystemException;
4853    
4854            /**
4855            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
4856            *
4857            * <p>
4858            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4859            * </p>
4860            *
4861            * @param nodeId the node ID
4862            * @param head the head
4863            * @param parentTitle the parent title
4864            * @param status the status
4865            * @param start the lower bound of the range of wiki pages
4866            * @param end the upper bound of the range of wiki pages (not inclusive)
4867            * @return the range of matching wiki pages
4868            * @throws SystemException if a system exception occurred
4869            */
4870            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS(
4871                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4872                    int start, int end)
4873                    throws com.liferay.portal.kernel.exception.SystemException;
4874    
4875            /**
4876            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
4877            *
4878            * <p>
4879            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
4880            * </p>
4881            *
4882            * @param nodeId the node ID
4883            * @param head the head
4884            * @param parentTitle the parent title
4885            * @param status the status
4886            * @param start the lower bound of the range of wiki pages
4887            * @param end the upper bound of the range of wiki pages (not inclusive)
4888            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
4889            * @return the ordered range of matching wiki pages
4890            * @throws SystemException if a system exception occurred
4891            */
4892            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS(
4893                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4894                    int start, int end,
4895                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4896                    throws com.liferay.portal.kernel.exception.SystemException;
4897    
4898            /**
4899            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
4900            *
4901            * @param nodeId the node ID
4902            * @param head the head
4903            * @param parentTitle the parent title
4904            * @param status the status
4905            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4906            * @return the first matching wiki page
4907            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4908            * @throws SystemException if a system exception occurred
4909            */
4910            public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_NotS_First(
4911                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4912                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4913                    throws com.liferay.portal.kernel.exception.SystemException,
4914                            com.liferay.portlet.wiki.NoSuchPageException;
4915    
4916            /**
4917            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
4918            *
4919            * @param nodeId the node ID
4920            * @param head the head
4921            * @param parentTitle the parent title
4922            * @param status the status
4923            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4924            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
4925            * @throws SystemException if a system exception occurred
4926            */
4927            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_NotS_First(
4928                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4929                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4930                    throws com.liferay.portal.kernel.exception.SystemException;
4931    
4932            /**
4933            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
4934            *
4935            * @param nodeId the node ID
4936            * @param head the head
4937            * @param parentTitle the parent title
4938            * @param status the status
4939            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4940            * @return the last matching wiki page
4941            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
4942            * @throws SystemException if a system exception occurred
4943            */
4944            public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_NotS_Last(
4945                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4946                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4947                    throws com.liferay.portal.kernel.exception.SystemException,
4948                            com.liferay.portlet.wiki.NoSuchPageException;
4949    
4950            /**
4951            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
4952            *
4953            * @param nodeId the node ID
4954            * @param head the head
4955            * @param parentTitle the parent title
4956            * @param status the status
4957            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4958            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
4959            * @throws SystemException if a system exception occurred
4960            */
4961            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_NotS_Last(
4962                    long nodeId, boolean head, java.lang.String parentTitle, int status,
4963                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4964                    throws com.liferay.portal.kernel.exception.SystemException;
4965    
4966            /**
4967            * 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;.
4968            *
4969            * @param pageId the primary key of the current wiki page
4970            * @param nodeId the node ID
4971            * @param head the head
4972            * @param parentTitle the parent title
4973            * @param status the status
4974            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
4975            * @return the previous, current, and next wiki page
4976            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
4977            * @throws SystemException if a system exception occurred
4978            */
4979            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_NotS_PrevAndNext(
4980                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
4981                    int status,
4982                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
4983                    throws com.liferay.portal.kernel.exception.SystemException,
4984                            com.liferay.portlet.wiki.NoSuchPageException;
4985    
4986            /**
4987            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63; from the database.
4988            *
4989            * @param nodeId the node ID
4990            * @param head the head
4991            * @param parentTitle the parent title
4992            * @param status the status
4993            * @throws SystemException if a system exception occurred
4994            */
4995            public void removeByN_H_P_NotS(long nodeId, boolean head,
4996                    java.lang.String parentTitle, int status)
4997                    throws com.liferay.portal.kernel.exception.SystemException;
4998    
4999            /**
5000            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status &ne; &#63;.
5001            *
5002            * @param nodeId the node ID
5003            * @param head the head
5004            * @param parentTitle the parent title
5005            * @param status the status
5006            * @return the number of matching wiki pages
5007            * @throws SystemException if a system exception occurred
5008            */
5009            public int countByN_H_P_NotS(long nodeId, boolean head,
5010                    java.lang.String parentTitle, int status)
5011                    throws com.liferay.portal.kernel.exception.SystemException;
5012    
5013            /**
5014            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
5015            *
5016            * @param nodeId the node ID
5017            * @param head the head
5018            * @param redirectTitle the redirect title
5019            * @param status the status
5020            * @return the matching wiki pages
5021            * @throws SystemException if a system exception occurred
5022            */
5023            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S(
5024                    long nodeId, boolean head, java.lang.String redirectTitle, int status)
5025                    throws com.liferay.portal.kernel.exception.SystemException;
5026    
5027            /**
5028            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
5029            *
5030            * <p>
5031            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
5032            * </p>
5033            *
5034            * @param nodeId the node ID
5035            * @param head the head
5036            * @param redirectTitle the redirect title
5037            * @param status the status
5038            * @param start the lower bound of the range of wiki pages
5039            * @param end the upper bound of the range of wiki pages (not inclusive)
5040            * @return the range of matching wiki pages
5041            * @throws SystemException if a system exception occurred
5042            */
5043            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S(
5044                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5045                    int start, int end)
5046                    throws com.liferay.portal.kernel.exception.SystemException;
5047    
5048            /**
5049            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
5050            *
5051            * <p>
5052            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
5053            * </p>
5054            *
5055            * @param nodeId the node ID
5056            * @param head the head
5057            * @param redirectTitle the redirect title
5058            * @param status the status
5059            * @param start the lower bound of the range of wiki pages
5060            * @param end the upper bound of the range of wiki pages (not inclusive)
5061            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5062            * @return the ordered range of matching wiki pages
5063            * @throws SystemException if a system exception occurred
5064            */
5065            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S(
5066                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5067                    int start, int end,
5068                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5069                    throws com.liferay.portal.kernel.exception.SystemException;
5070    
5071            /**
5072            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
5073            *
5074            * @param nodeId the node ID
5075            * @param head the head
5076            * @param redirectTitle the redirect title
5077            * @param status the status
5078            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5079            * @return the first matching wiki page
5080            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5081            * @throws SystemException if a system exception occurred
5082            */
5083            public com.liferay.portlet.wiki.model.WikiPage findByN_H_R_S_First(
5084                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5085                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5086                    throws com.liferay.portal.kernel.exception.SystemException,
5087                            com.liferay.portlet.wiki.NoSuchPageException;
5088    
5089            /**
5090            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
5091            *
5092            * @param nodeId the node ID
5093            * @param head the head
5094            * @param redirectTitle the redirect title
5095            * @param status the status
5096            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5097            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
5098            * @throws SystemException if a system exception occurred
5099            */
5100            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_S_First(
5101                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5102                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5103                    throws com.liferay.portal.kernel.exception.SystemException;
5104    
5105            /**
5106            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
5107            *
5108            * @param nodeId the node ID
5109            * @param head the head
5110            * @param redirectTitle the redirect title
5111            * @param status the status
5112            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5113            * @return the last matching wiki page
5114            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5115            * @throws SystemException if a system exception occurred
5116            */
5117            public com.liferay.portlet.wiki.model.WikiPage findByN_H_R_S_Last(
5118                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5119                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5120                    throws com.liferay.portal.kernel.exception.SystemException,
5121                            com.liferay.portlet.wiki.NoSuchPageException;
5122    
5123            /**
5124            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
5125            *
5126            * @param nodeId the node ID
5127            * @param head the head
5128            * @param redirectTitle the redirect title
5129            * @param status the status
5130            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5131            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
5132            * @throws SystemException if a system exception occurred
5133            */
5134            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_S_Last(
5135                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5136                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5137                    throws com.liferay.portal.kernel.exception.SystemException;
5138    
5139            /**
5140            * 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;.
5141            *
5142            * @param pageId the primary key of the current wiki page
5143            * @param nodeId the node ID
5144            * @param head the head
5145            * @param redirectTitle the redirect title
5146            * @param status the status
5147            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5148            * @return the previous, current, and next wiki page
5149            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5150            * @throws SystemException if a system exception occurred
5151            */
5152            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_S_PrevAndNext(
5153                    long pageId, long nodeId, boolean head, java.lang.String redirectTitle,
5154                    int status,
5155                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5156                    throws com.liferay.portal.kernel.exception.SystemException,
5157                            com.liferay.portlet.wiki.NoSuchPageException;
5158    
5159            /**
5160            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63; from the database.
5161            *
5162            * @param nodeId the node ID
5163            * @param head the head
5164            * @param redirectTitle the redirect title
5165            * @param status the status
5166            * @throws SystemException if a system exception occurred
5167            */
5168            public void removeByN_H_R_S(long nodeId, boolean head,
5169                    java.lang.String redirectTitle, int status)
5170                    throws com.liferay.portal.kernel.exception.SystemException;
5171    
5172            /**
5173            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status = &#63;.
5174            *
5175            * @param nodeId the node ID
5176            * @param head the head
5177            * @param redirectTitle the redirect title
5178            * @param status the status
5179            * @return the number of matching wiki pages
5180            * @throws SystemException if a system exception occurred
5181            */
5182            public int countByN_H_R_S(long nodeId, boolean head,
5183                    java.lang.String redirectTitle, int status)
5184                    throws com.liferay.portal.kernel.exception.SystemException;
5185    
5186            /**
5187            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
5188            *
5189            * @param nodeId the node ID
5190            * @param head the head
5191            * @param redirectTitle the redirect title
5192            * @param status the status
5193            * @return the matching wiki pages
5194            * @throws SystemException if a system exception occurred
5195            */
5196            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS(
5197                    long nodeId, boolean head, java.lang.String redirectTitle, int status)
5198                    throws com.liferay.portal.kernel.exception.SystemException;
5199    
5200            /**
5201            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
5202            *
5203            * <p>
5204            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
5205            * </p>
5206            *
5207            * @param nodeId the node ID
5208            * @param head the head
5209            * @param redirectTitle the redirect title
5210            * @param status the status
5211            * @param start the lower bound of the range of wiki pages
5212            * @param end the upper bound of the range of wiki pages (not inclusive)
5213            * @return the range of matching wiki pages
5214            * @throws SystemException if a system exception occurred
5215            */
5216            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS(
5217                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5218                    int start, int end)
5219                    throws com.liferay.portal.kernel.exception.SystemException;
5220    
5221            /**
5222            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
5223            *
5224            * <p>
5225            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
5226            * </p>
5227            *
5228            * @param nodeId the node ID
5229            * @param head the head
5230            * @param redirectTitle the redirect title
5231            * @param status the status
5232            * @param start the lower bound of the range of wiki pages
5233            * @param end the upper bound of the range of wiki pages (not inclusive)
5234            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5235            * @return the ordered range of matching wiki pages
5236            * @throws SystemException if a system exception occurred
5237            */
5238            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS(
5239                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5240                    int start, int end,
5241                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5242                    throws com.liferay.portal.kernel.exception.SystemException;
5243    
5244            /**
5245            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
5246            *
5247            * @param nodeId the node ID
5248            * @param head the head
5249            * @param redirectTitle the redirect title
5250            * @param status the status
5251            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5252            * @return the first matching wiki page
5253            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5254            * @throws SystemException if a system exception occurred
5255            */
5256            public com.liferay.portlet.wiki.model.WikiPage findByN_H_R_NotS_First(
5257                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5258                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5259                    throws com.liferay.portal.kernel.exception.SystemException,
5260                            com.liferay.portlet.wiki.NoSuchPageException;
5261    
5262            /**
5263            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
5264            *
5265            * @param nodeId the node ID
5266            * @param head the head
5267            * @param redirectTitle the redirect title
5268            * @param status the status
5269            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5270            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
5271            * @throws SystemException if a system exception occurred
5272            */
5273            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_NotS_First(
5274                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5275                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5276                    throws com.liferay.portal.kernel.exception.SystemException;
5277    
5278            /**
5279            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
5280            *
5281            * @param nodeId the node ID
5282            * @param head the head
5283            * @param redirectTitle the redirect title
5284            * @param status the status
5285            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5286            * @return the last matching wiki page
5287            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5288            * @throws SystemException if a system exception occurred
5289            */
5290            public com.liferay.portlet.wiki.model.WikiPage findByN_H_R_NotS_Last(
5291                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5292                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5293                    throws com.liferay.portal.kernel.exception.SystemException,
5294                            com.liferay.portlet.wiki.NoSuchPageException;
5295    
5296            /**
5297            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
5298            *
5299            * @param nodeId the node ID
5300            * @param head the head
5301            * @param redirectTitle the redirect title
5302            * @param status the status
5303            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5304            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
5305            * @throws SystemException if a system exception occurred
5306            */
5307            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_NotS_Last(
5308                    long nodeId, boolean head, java.lang.String redirectTitle, int status,
5309                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5310                    throws com.liferay.portal.kernel.exception.SystemException;
5311    
5312            /**
5313            * 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;.
5314            *
5315            * @param pageId the primary key of the current wiki page
5316            * @param nodeId the node ID
5317            * @param head the head
5318            * @param redirectTitle the redirect title
5319            * @param status the status
5320            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5321            * @return the previous, current, and next wiki page
5322            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5323            * @throws SystemException if a system exception occurred
5324            */
5325            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_NotS_PrevAndNext(
5326                    long pageId, long nodeId, boolean head, java.lang.String redirectTitle,
5327                    int status,
5328                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5329                    throws com.liferay.portal.kernel.exception.SystemException,
5330                            com.liferay.portlet.wiki.NoSuchPageException;
5331    
5332            /**
5333            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63; from the database.
5334            *
5335            * @param nodeId the node ID
5336            * @param head the head
5337            * @param redirectTitle the redirect title
5338            * @param status the status
5339            * @throws SystemException if a system exception occurred
5340            */
5341            public void removeByN_H_R_NotS(long nodeId, boolean head,
5342                    java.lang.String redirectTitle, int status)
5343                    throws com.liferay.portal.kernel.exception.SystemException;
5344    
5345            /**
5346            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and redirectTitle = &#63; and status &ne; &#63;.
5347            *
5348            * @param nodeId the node ID
5349            * @param head the head
5350            * @param redirectTitle the redirect title
5351            * @param status the status
5352            * @return the number of matching wiki pages
5353            * @throws SystemException if a system exception occurred
5354            */
5355            public int countByN_H_R_NotS(long nodeId, boolean head,
5356                    java.lang.String redirectTitle, int status)
5357                    throws com.liferay.portal.kernel.exception.SystemException;
5358    
5359            /**
5360            * Returns all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5361            *
5362            * @param groupId the group ID
5363            * @param nodeId the node ID
5364            * @param head the head
5365            * @param parentTitle the parent title
5366            * @param status the status
5367            * @return the matching wiki pages
5368            * @throws SystemException if a system exception occurred
5369            */
5370            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S(
5371                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
5372                    int status) throws com.liferay.portal.kernel.exception.SystemException;
5373    
5374            /**
5375            * Returns a range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5376            *
5377            * <p>
5378            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
5379            * </p>
5380            *
5381            * @param groupId the group ID
5382            * @param nodeId the node ID
5383            * @param head the head
5384            * @param parentTitle the parent title
5385            * @param status the status
5386            * @param start the lower bound of the range of wiki pages
5387            * @param end the upper bound of the range of wiki pages (not inclusive)
5388            * @return the range of matching wiki pages
5389            * @throws SystemException if a system exception occurred
5390            */
5391            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S(
5392                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
5393                    int status, int start, int end)
5394                    throws com.liferay.portal.kernel.exception.SystemException;
5395    
5396            /**
5397            * Returns an ordered range of all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5398            *
5399            * <p>
5400            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
5401            * </p>
5402            *
5403            * @param groupId the group ID
5404            * @param nodeId the node ID
5405            * @param head the head
5406            * @param parentTitle the parent title
5407            * @param status the status
5408            * @param start the lower bound of the range of wiki pages
5409            * @param end the upper bound of the range of wiki pages (not inclusive)
5410            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5411            * @return the ordered range of matching wiki pages
5412            * @throws SystemException if a system exception occurred
5413            */
5414            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S(
5415                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
5416                    int status, int start, int end,
5417                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5418                    throws com.liferay.portal.kernel.exception.SystemException;
5419    
5420            /**
5421            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5422            *
5423            * @param groupId the group ID
5424            * @param nodeId the node ID
5425            * @param head the head
5426            * @param parentTitle the parent title
5427            * @param status the status
5428            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5429            * @return the first matching wiki page
5430            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5431            * @throws SystemException if a system exception occurred
5432            */
5433            public com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_First(
5434                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
5435                    int status,
5436                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5437                    throws com.liferay.portal.kernel.exception.SystemException,
5438                            com.liferay.portlet.wiki.NoSuchPageException;
5439    
5440            /**
5441            * Returns the first wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5442            *
5443            * @param groupId the group ID
5444            * @param nodeId the node ID
5445            * @param head the head
5446            * @param parentTitle the parent title
5447            * @param status the status
5448            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5449            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
5450            * @throws SystemException if a system exception occurred
5451            */
5452            public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_First(
5453                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
5454                    int status,
5455                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5456                    throws com.liferay.portal.kernel.exception.SystemException;
5457    
5458            /**
5459            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5460            *
5461            * @param groupId the group ID
5462            * @param nodeId the node ID
5463            * @param head the head
5464            * @param parentTitle the parent title
5465            * @param status the status
5466            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5467            * @return the last matching wiki page
5468            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
5469            * @throws SystemException if a system exception occurred
5470            */
5471            public com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_Last(
5472                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
5473                    int status,
5474                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5475                    throws com.liferay.portal.kernel.exception.SystemException,
5476                            com.liferay.portlet.wiki.NoSuchPageException;
5477    
5478            /**
5479            * Returns the last wiki page in the ordered set where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5480            *
5481            * @param groupId the group ID
5482            * @param nodeId the node ID
5483            * @param head the head
5484            * @param parentTitle the parent title
5485            * @param status the status
5486            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5487            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
5488            * @throws SystemException if a system exception occurred
5489            */
5490            public com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_Last(
5491                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
5492                    int status,
5493                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5494                    throws com.liferay.portal.kernel.exception.SystemException;
5495    
5496            /**
5497            * 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;.
5498            *
5499            * @param pageId the primary key of the current wiki page
5500            * @param groupId the group ID
5501            * @param nodeId the node ID
5502            * @param head the head
5503            * @param parentTitle the parent title
5504            * @param status the status
5505            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5506            * @return the previous, current, and next wiki page
5507            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5508            * @throws SystemException if a system exception occurred
5509            */
5510            public com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_P_S_PrevAndNext(
5511                    long pageId, long groupId, long nodeId, boolean head,
5512                    java.lang.String parentTitle, int status,
5513                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5514                    throws com.liferay.portal.kernel.exception.SystemException,
5515                            com.liferay.portlet.wiki.NoSuchPageException;
5516    
5517            /**
5518            * 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;.
5519            *
5520            * @param groupId the group ID
5521            * @param nodeId the node ID
5522            * @param head the head
5523            * @param parentTitle the parent title
5524            * @param status the status
5525            * @return the matching wiki pages that the user has permission to view
5526            * @throws SystemException if a system exception occurred
5527            */
5528            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S(
5529                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
5530                    int status) throws com.liferay.portal.kernel.exception.SystemException;
5531    
5532            /**
5533            * 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;.
5534            *
5535            * <p>
5536            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
5537            * </p>
5538            *
5539            * @param groupId the group ID
5540            * @param nodeId the node ID
5541            * @param head the head
5542            * @param parentTitle the parent title
5543            * @param status the status
5544            * @param start the lower bound of the range of wiki pages
5545            * @param end the upper bound of the range of wiki pages (not inclusive)
5546            * @return the range of matching wiki pages that the user has permission to view
5547            * @throws SystemException if a system exception occurred
5548            */
5549            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S(
5550                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
5551                    int status, int start, int end)
5552                    throws com.liferay.portal.kernel.exception.SystemException;
5553    
5554            /**
5555            * 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;.
5556            *
5557            * <p>
5558            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
5559            * </p>
5560            *
5561            * @param groupId the group ID
5562            * @param nodeId the node ID
5563            * @param head the head
5564            * @param parentTitle the parent title
5565            * @param status the status
5566            * @param start the lower bound of the range of wiki pages
5567            * @param end the upper bound of the range of wiki pages (not inclusive)
5568            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5569            * @return the ordered range of matching wiki pages that the user has permission to view
5570            * @throws SystemException if a system exception occurred
5571            */
5572            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S(
5573                    long groupId, long nodeId, boolean head, java.lang.String parentTitle,
5574                    int status, int start, int end,
5575                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5576                    throws com.liferay.portal.kernel.exception.SystemException;
5577    
5578            /**
5579            * 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;.
5580            *
5581            * @param pageId the primary key of the current wiki page
5582            * @param groupId the group ID
5583            * @param nodeId the node ID
5584            * @param head the head
5585            * @param parentTitle the parent title
5586            * @param status the status
5587            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
5588            * @return the previous, current, and next wiki page
5589            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5590            * @throws SystemException if a system exception occurred
5591            */
5592            public com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_P_S_PrevAndNext(
5593                    long pageId, long groupId, long nodeId, boolean head,
5594                    java.lang.String parentTitle, int status,
5595                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5596                    throws com.liferay.portal.kernel.exception.SystemException,
5597                            com.liferay.portlet.wiki.NoSuchPageException;
5598    
5599            /**
5600            * Removes all the wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63; from the database.
5601            *
5602            * @param groupId the group ID
5603            * @param nodeId the node ID
5604            * @param head the head
5605            * @param parentTitle the parent title
5606            * @param status the status
5607            * @throws SystemException if a system exception occurred
5608            */
5609            public void removeByG_N_H_P_S(long groupId, long nodeId, boolean head,
5610                    java.lang.String parentTitle, int status)
5611                    throws com.liferay.portal.kernel.exception.SystemException;
5612    
5613            /**
5614            * Returns the number of wiki pages where groupId = &#63; and nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
5615            *
5616            * @param groupId the group ID
5617            * @param nodeId the node ID
5618            * @param head the head
5619            * @param parentTitle the parent title
5620            * @param status the status
5621            * @return the number of matching wiki pages
5622            * @throws SystemException if a system exception occurred
5623            */
5624            public int countByG_N_H_P_S(long groupId, long nodeId, boolean head,
5625                    java.lang.String parentTitle, int status)
5626                    throws com.liferay.portal.kernel.exception.SystemException;
5627    
5628            /**
5629            * 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;.
5630            *
5631            * @param groupId the group ID
5632            * @param nodeId the node ID
5633            * @param head the head
5634            * @param parentTitle the parent title
5635            * @param status the status
5636            * @return the number of matching wiki pages that the user has permission to view
5637            * @throws SystemException if a system exception occurred
5638            */
5639            public int filterCountByG_N_H_P_S(long groupId, long nodeId, boolean head,
5640                    java.lang.String parentTitle, int status)
5641                    throws com.liferay.portal.kernel.exception.SystemException;
5642    
5643            /**
5644            * Caches the wiki page in the entity cache if it is enabled.
5645            *
5646            * @param wikiPage the wiki page
5647            */
5648            public void cacheResult(com.liferay.portlet.wiki.model.WikiPage wikiPage);
5649    
5650            /**
5651            * Caches the wiki pages in the entity cache if it is enabled.
5652            *
5653            * @param wikiPages the wiki pages
5654            */
5655            public void cacheResult(
5656                    java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages);
5657    
5658            /**
5659            * Creates a new wiki page with the primary key. Does not add the wiki page to the database.
5660            *
5661            * @param pageId the primary key for the new wiki page
5662            * @return the new wiki page
5663            */
5664            public com.liferay.portlet.wiki.model.WikiPage create(long pageId);
5665    
5666            /**
5667            * Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.
5668            *
5669            * @param pageId the primary key of the wiki page
5670            * @return the wiki page that was removed
5671            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5672            * @throws SystemException if a system exception occurred
5673            */
5674            public com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
5675                    throws com.liferay.portal.kernel.exception.SystemException,
5676                            com.liferay.portlet.wiki.NoSuchPageException;
5677    
5678            public com.liferay.portlet.wiki.model.WikiPage updateImpl(
5679                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
5680                    throws com.liferay.portal.kernel.exception.SystemException;
5681    
5682            /**
5683            * Returns the wiki page with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found.
5684            *
5685            * @param pageId the primary key of the wiki page
5686            * @return the wiki page
5687            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
5688            * @throws SystemException if a system exception occurred
5689            */
5690            public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
5691                    throws com.liferay.portal.kernel.exception.SystemException,
5692                            com.liferay.portlet.wiki.NoSuchPageException;
5693    
5694            /**
5695            * Returns the wiki page with the primary key or returns <code>null</code> if it could not be found.
5696            *
5697            * @param pageId the primary key of the wiki page
5698            * @return the wiki page, or <code>null</code> if a wiki page with the primary key could not be found
5699            * @throws SystemException if a system exception occurred
5700            */
5701            public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
5702                    long pageId) throws com.liferay.portal.kernel.exception.SystemException;
5703    
5704            /**
5705            * Returns all the wiki pages.
5706            *
5707            * @return the wiki pages
5708            * @throws SystemException if a system exception occurred
5709            */
5710            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
5711                    throws com.liferay.portal.kernel.exception.SystemException;
5712    
5713            /**
5714            * Returns a range of all the wiki pages.
5715            *
5716            * <p>
5717            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
5718            * </p>
5719            *
5720            * @param start the lower bound of the range of wiki pages
5721            * @param end the upper bound of the range of wiki pages (not inclusive)
5722            * @return the range of wiki pages
5723            * @throws SystemException if a system exception occurred
5724            */
5725            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
5726                    int start, int end)
5727                    throws com.liferay.portal.kernel.exception.SystemException;
5728    
5729            /**
5730            * Returns an ordered range of all the wiki pages.
5731            *
5732            * <p>
5733            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.
5734            * </p>
5735            *
5736            * @param start the lower bound of the range of wiki pages
5737            * @param end the upper bound of the range of wiki pages (not inclusive)
5738            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
5739            * @return the ordered range of wiki pages
5740            * @throws SystemException if a system exception occurred
5741            */
5742            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
5743                    int start, int end,
5744                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
5745                    throws com.liferay.portal.kernel.exception.SystemException;
5746    
5747            /**
5748            * Removes all the wiki pages from the database.
5749            *
5750            * @throws SystemException if a system exception occurred
5751            */
5752            public void removeAll()
5753                    throws com.liferay.portal.kernel.exception.SystemException;
5754    
5755            /**
5756            * Returns the number of wiki pages.
5757            *
5758            * @return the number of wiki pages
5759            * @throws SystemException if a system exception occurred
5760            */
5761            public int countAll()
5762                    throws com.liferay.portal.kernel.exception.SystemException;
5763    }