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