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