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