001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.wiki.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.wiki.model.WikiPage;
020    
021    /**
022     * The persistence interface for the wiki page service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see WikiPagePersistenceImpl
030     * @see WikiPageUtil
031     * @generated
032     */
033    public interface WikiPagePersistence extends BasePersistence<WikiPage> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link WikiPageUtil} to access the wiki page persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Caches the wiki page in the entity cache if it is enabled.
042            *
043            * @param wikiPage the wiki page
044            */
045            public void cacheResult(com.liferay.portlet.wiki.model.WikiPage wikiPage);
046    
047            /**
048            * Caches the wiki pages in the entity cache if it is enabled.
049            *
050            * @param wikiPages the wiki pages
051            */
052            public void cacheResult(
053                    java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages);
054    
055            /**
056            * Creates a new wiki page with the primary key. Does not add the wiki page to the database.
057            *
058            * @param pageId the primary key for the new wiki page
059            * @return the new wiki page
060            */
061            public com.liferay.portlet.wiki.model.WikiPage create(long pageId);
062    
063            /**
064            * Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.
065            *
066            * @param pageId the primary key of the wiki page
067            * @return the wiki page that was removed
068            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
069            * @throws SystemException if a system exception occurred
070            */
071            public com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
072                    throws com.liferay.portal.kernel.exception.SystemException,
073                            com.liferay.portlet.wiki.NoSuchPageException;
074    
075            public com.liferay.portlet.wiki.model.WikiPage updateImpl(
076                    com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
077                    throws com.liferay.portal.kernel.exception.SystemException;
078    
079            /**
080            * Returns the wiki page with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found.
081            *
082            * @param pageId the primary key of the wiki page
083            * @return the wiki page
084            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
085            * @throws SystemException if a system exception occurred
086            */
087            public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
088                    throws com.liferay.portal.kernel.exception.SystemException,
089                            com.liferay.portlet.wiki.NoSuchPageException;
090    
091            /**
092            * Returns the wiki page with the primary key or returns <code>null</code> if it could not be found.
093            *
094            * @param pageId the primary key of the wiki page
095            * @return the wiki page, or <code>null</code> if a wiki page with the primary key could not be found
096            * @throws SystemException if a system exception occurred
097            */
098            public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(
099                    long pageId) throws com.liferay.portal.kernel.exception.SystemException;
100    
101            /**
102            * Returns all the wiki pages where uuid = &#63;.
103            *
104            * @param uuid the uuid
105            * @return the matching wiki pages
106            * @throws SystemException if a system exception occurred
107            */
108            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
109                    java.lang.String uuid)
110                    throws com.liferay.portal.kernel.exception.SystemException;
111    
112            /**
113            * Returns a range of all the wiki pages where uuid = &#63;.
114            *
115            * <p>
116            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
117            * </p>
118            *
119            * @param uuid the uuid
120            * @param start the lower bound of the range of wiki pages
121            * @param end the upper bound of the range of wiki pages (not inclusive)
122            * @return the range of matching wiki pages
123            * @throws SystemException if a system exception occurred
124            */
125            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
126                    java.lang.String uuid, int start, int end)
127                    throws com.liferay.portal.kernel.exception.SystemException;
128    
129            /**
130            * Returns an ordered range of all the wiki pages where uuid = &#63;.
131            *
132            * <p>
133            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
134            * </p>
135            *
136            * @param uuid the uuid
137            * @param start the lower bound of the range of wiki pages
138            * @param end the upper bound of the range of wiki pages (not inclusive)
139            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
140            * @return the ordered range of matching wiki pages
141            * @throws SystemException if a system exception occurred
142            */
143            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid(
144                    java.lang.String uuid, int start, int end,
145                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146                    throws com.liferay.portal.kernel.exception.SystemException;
147    
148            /**
149            * Returns the first wiki page in the ordered set where uuid = &#63;.
150            *
151            * @param uuid the uuid
152            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
153            * @return the first matching wiki page
154            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
155            * @throws SystemException if a system exception occurred
156            */
157            public com.liferay.portlet.wiki.model.WikiPage findByUuid_First(
158                    java.lang.String uuid,
159                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160                    throws com.liferay.portal.kernel.exception.SystemException,
161                            com.liferay.portlet.wiki.NoSuchPageException;
162    
163            /**
164            * Returns the first wiki page in the ordered set where uuid = &#63;.
165            *
166            * @param uuid the uuid
167            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
168            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
169            * @throws SystemException if a system exception occurred
170            */
171            public com.liferay.portlet.wiki.model.WikiPage fetchByUuid_First(
172                    java.lang.String uuid,
173                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
174                    throws com.liferay.portal.kernel.exception.SystemException;
175    
176            /**
177            * Returns the last wiki page in the ordered set where uuid = &#63;.
178            *
179            * @param uuid the uuid
180            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
181            * @return the last matching wiki page
182            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
183            * @throws SystemException if a system exception occurred
184            */
185            public com.liferay.portlet.wiki.model.WikiPage findByUuid_Last(
186                    java.lang.String uuid,
187                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
188                    throws com.liferay.portal.kernel.exception.SystemException,
189                            com.liferay.portlet.wiki.NoSuchPageException;
190    
191            /**
192            * Returns the last wiki page in the ordered set where uuid = &#63;.
193            *
194            * @param uuid the uuid
195            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
196            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
197            * @throws SystemException if a system exception occurred
198            */
199            public com.liferay.portlet.wiki.model.WikiPage fetchByUuid_Last(
200                    java.lang.String uuid,
201                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
202                    throws com.liferay.portal.kernel.exception.SystemException;
203    
204            /**
205            * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = &#63;.
206            *
207            * @param pageId the primary key of the current wiki page
208            * @param uuid the uuid
209            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
210            * @return the previous, current, and next wiki page
211            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
212            * @throws SystemException if a system exception occurred
213            */
214            public com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext(
215                    long pageId, java.lang.String uuid,
216                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
217                    throws com.liferay.portal.kernel.exception.SystemException,
218                            com.liferay.portlet.wiki.NoSuchPageException;
219    
220            /**
221            * 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.
222            *
223            * @param uuid the uuid
224            * @param groupId the group ID
225            * @return the matching wiki page
226            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
227            * @throws SystemException if a system exception occurred
228            */
229            public com.liferay.portlet.wiki.model.WikiPage findByUUID_G(
230                    java.lang.String uuid, long groupId)
231                    throws com.liferay.portal.kernel.exception.SystemException,
232                            com.liferay.portlet.wiki.NoSuchPageException;
233    
234            /**
235            * 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.
236            *
237            * @param uuid the uuid
238            * @param groupId the group ID
239            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
240            * @throws SystemException if a system exception occurred
241            */
242            public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
243                    java.lang.String uuid, long groupId)
244                    throws com.liferay.portal.kernel.exception.SystemException;
245    
246            /**
247            * 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.
248            *
249            * @param uuid the uuid
250            * @param groupId the group ID
251            * @param retrieveFromCache whether to use the finder cache
252            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
253            * @throws SystemException if a system exception occurred
254            */
255            public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G(
256                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
257                    throws com.liferay.portal.kernel.exception.SystemException;
258    
259            /**
260            * Returns all the wiki pages where nodeId = &#63;.
261            *
262            * @param nodeId the node ID
263            * @return the matching wiki pages
264            * @throws SystemException if a system exception occurred
265            */
266            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
267                    long nodeId) throws com.liferay.portal.kernel.exception.SystemException;
268    
269            /**
270            * Returns a range of all the wiki pages where nodeId = &#63;.
271            *
272            * <p>
273            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
274            * </p>
275            *
276            * @param nodeId the node ID
277            * @param start the lower bound of the range of wiki pages
278            * @param end the upper bound of the range of wiki pages (not inclusive)
279            * @return the range of matching wiki pages
280            * @throws SystemException if a system exception occurred
281            */
282            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
283                    long nodeId, int start, int end)
284                    throws com.liferay.portal.kernel.exception.SystemException;
285    
286            /**
287            * Returns an ordered range of all the wiki pages where nodeId = &#63;.
288            *
289            * <p>
290            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
291            * </p>
292            *
293            * @param nodeId the node ID
294            * @param start the lower bound of the range of wiki pages
295            * @param end the upper bound of the range of wiki pages (not inclusive)
296            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
297            * @return the ordered range of matching wiki pages
298            * @throws SystemException if a system exception occurred
299            */
300            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId(
301                    long nodeId, int start, int end,
302                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
303                    throws com.liferay.portal.kernel.exception.SystemException;
304    
305            /**
306            * Returns the first wiki page in the ordered set where nodeId = &#63;.
307            *
308            * @param nodeId the node ID
309            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
310            * @return the first matching wiki page
311            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
312            * @throws SystemException if a system exception occurred
313            */
314            public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(
315                    long nodeId,
316                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
317                    throws com.liferay.portal.kernel.exception.SystemException,
318                            com.liferay.portlet.wiki.NoSuchPageException;
319    
320            /**
321            * Returns the first wiki page in the ordered set where nodeId = &#63;.
322            *
323            * @param nodeId the node ID
324            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
325            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
326            * @throws SystemException if a system exception occurred
327            */
328            public com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_First(
329                    long nodeId,
330                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
331                    throws com.liferay.portal.kernel.exception.SystemException;
332    
333            /**
334            * Returns the last wiki page in the ordered set where nodeId = &#63;.
335            *
336            * @param nodeId the node ID
337            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
338            * @return the last matching wiki page
339            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
340            * @throws SystemException if a system exception occurred
341            */
342            public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(
343                    long nodeId,
344                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
345                    throws com.liferay.portal.kernel.exception.SystemException,
346                            com.liferay.portlet.wiki.NoSuchPageException;
347    
348            /**
349            * Returns the last wiki page in the ordered set where nodeId = &#63;.
350            *
351            * @param nodeId the node ID
352            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
353            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
354            * @throws SystemException if a system exception occurred
355            */
356            public com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_Last(
357                    long nodeId,
358                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
359                    throws com.liferay.portal.kernel.exception.SystemException;
360    
361            /**
362            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63;.
363            *
364            * @param pageId the primary key of the current wiki page
365            * @param nodeId the node ID
366            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
367            * @return the previous, current, and next wiki page
368            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
369            * @throws SystemException if a system exception occurred
370            */
371            public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(
372                    long pageId, long nodeId,
373                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
374                    throws com.liferay.portal.kernel.exception.SystemException,
375                            com.liferay.portlet.wiki.NoSuchPageException;
376    
377            /**
378            * Returns all the wiki pages where format = &#63;.
379            *
380            * @param format the format
381            * @return the matching wiki pages
382            * @throws SystemException if a system exception occurred
383            */
384            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
385                    java.lang.String format)
386                    throws com.liferay.portal.kernel.exception.SystemException;
387    
388            /**
389            * Returns a range of all the wiki pages where format = &#63;.
390            *
391            * <p>
392            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
393            * </p>
394            *
395            * @param format the format
396            * @param start the lower bound of the range of wiki pages
397            * @param end the upper bound of the range of wiki pages (not inclusive)
398            * @return the range of matching wiki pages
399            * @throws SystemException if a system exception occurred
400            */
401            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
402                    java.lang.String format, int start, int end)
403                    throws com.liferay.portal.kernel.exception.SystemException;
404    
405            /**
406            * Returns an ordered range of all the wiki pages where format = &#63;.
407            *
408            * <p>
409            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
410            * </p>
411            *
412            * @param format the format
413            * @param start the lower bound of the range of wiki pages
414            * @param end the upper bound of the range of wiki pages (not inclusive)
415            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
416            * @return the ordered range of matching wiki pages
417            * @throws SystemException if a system exception occurred
418            */
419            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat(
420                    java.lang.String format, int start, int end,
421                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
422                    throws com.liferay.portal.kernel.exception.SystemException;
423    
424            /**
425            * Returns the first wiki page in the ordered set where format = &#63;.
426            *
427            * @param format the format
428            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
429            * @return the first matching wiki page
430            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
431            * @throws SystemException if a system exception occurred
432            */
433            public com.liferay.portlet.wiki.model.WikiPage findByFormat_First(
434                    java.lang.String format,
435                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
436                    throws com.liferay.portal.kernel.exception.SystemException,
437                            com.liferay.portlet.wiki.NoSuchPageException;
438    
439            /**
440            * Returns the first wiki page in the ordered set where format = &#63;.
441            *
442            * @param format the format
443            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
444            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
445            * @throws SystemException if a system exception occurred
446            */
447            public com.liferay.portlet.wiki.model.WikiPage fetchByFormat_First(
448                    java.lang.String format,
449                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
450                    throws com.liferay.portal.kernel.exception.SystemException;
451    
452            /**
453            * Returns the last wiki page in the ordered set where format = &#63;.
454            *
455            * @param format the format
456            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
457            * @return the last matching wiki page
458            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
459            * @throws SystemException if a system exception occurred
460            */
461            public com.liferay.portlet.wiki.model.WikiPage findByFormat_Last(
462                    java.lang.String format,
463                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
464                    throws com.liferay.portal.kernel.exception.SystemException,
465                            com.liferay.portlet.wiki.NoSuchPageException;
466    
467            /**
468            * Returns the last wiki page in the ordered set where format = &#63;.
469            *
470            * @param format the format
471            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
472            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
473            * @throws SystemException if a system exception occurred
474            */
475            public com.liferay.portlet.wiki.model.WikiPage fetchByFormat_Last(
476                    java.lang.String format,
477                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
478                    throws com.liferay.portal.kernel.exception.SystemException;
479    
480            /**
481            * Returns the wiki pages before and after the current wiki page in the ordered set where format = &#63;.
482            *
483            * @param pageId the primary key of the current wiki page
484            * @param format the format
485            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
486            * @return the previous, current, and next wiki page
487            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
488            * @throws SystemException if a system exception occurred
489            */
490            public com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext(
491                    long pageId, java.lang.String format,
492                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
493                    throws com.liferay.portal.kernel.exception.SystemException,
494                            com.liferay.portlet.wiki.NoSuchPageException;
495    
496            /**
497            * Returns all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
498            *
499            * @param resourcePrimKey the resource prim key
500            * @param nodeId the node ID
501            * @return the matching wiki pages
502            * @throws SystemException if a system exception occurred
503            */
504            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
505                    long resourcePrimKey, long nodeId)
506                    throws com.liferay.portal.kernel.exception.SystemException;
507    
508            /**
509            * Returns a range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
510            *
511            * <p>
512            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
513            * </p>
514            *
515            * @param resourcePrimKey the resource prim key
516            * @param nodeId the node ID
517            * @param start the lower bound of the range of wiki pages
518            * @param end the upper bound of the range of wiki pages (not inclusive)
519            * @return the range of matching wiki pages
520            * @throws SystemException if a system exception occurred
521            */
522            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
523                    long resourcePrimKey, long nodeId, int start, int end)
524                    throws com.liferay.portal.kernel.exception.SystemException;
525    
526            /**
527            * Returns an ordered range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
528            *
529            * <p>
530            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
531            * </p>
532            *
533            * @param resourcePrimKey the resource prim key
534            * @param nodeId the node ID
535            * @param start the lower bound of the range of wiki pages
536            * @param end the upper bound of the range of wiki pages (not inclusive)
537            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
538            * @return the ordered range of matching wiki pages
539            * @throws SystemException if a system exception occurred
540            */
541            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N(
542                    long resourcePrimKey, long nodeId, int start, int end,
543                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
544                    throws com.liferay.portal.kernel.exception.SystemException;
545    
546            /**
547            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
548            *
549            * @param resourcePrimKey the resource prim key
550            * @param nodeId the node ID
551            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
552            * @return the first matching wiki page
553            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
554            * @throws SystemException if a system exception occurred
555            */
556            public com.liferay.portlet.wiki.model.WikiPage findByR_N_First(
557                    long resourcePrimKey, long nodeId,
558                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
559                    throws com.liferay.portal.kernel.exception.SystemException,
560                            com.liferay.portlet.wiki.NoSuchPageException;
561    
562            /**
563            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
564            *
565            * @param resourcePrimKey the resource prim key
566            * @param nodeId the node ID
567            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
568            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
569            * @throws SystemException if a system exception occurred
570            */
571            public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_First(
572                    long resourcePrimKey, long nodeId,
573                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
574                    throws com.liferay.portal.kernel.exception.SystemException;
575    
576            /**
577            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
578            *
579            * @param resourcePrimKey the resource prim key
580            * @param nodeId the node ID
581            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
582            * @return the last matching wiki page
583            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
584            * @throws SystemException if a system exception occurred
585            */
586            public com.liferay.portlet.wiki.model.WikiPage findByR_N_Last(
587                    long resourcePrimKey, long nodeId,
588                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
589                    throws com.liferay.portal.kernel.exception.SystemException,
590                            com.liferay.portlet.wiki.NoSuchPageException;
591    
592            /**
593            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
594            *
595            * @param resourcePrimKey the resource prim key
596            * @param nodeId the node ID
597            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
598            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
599            * @throws SystemException if a system exception occurred
600            */
601            public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_Last(
602                    long resourcePrimKey, long nodeId,
603                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
604                    throws com.liferay.portal.kernel.exception.SystemException;
605    
606            /**
607            * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63;.
608            *
609            * @param pageId the primary key of the current wiki page
610            * @param resourcePrimKey the resource prim key
611            * @param nodeId the node ID
612            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
613            * @return the previous, current, and next wiki page
614            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
615            * @throws SystemException if a system exception occurred
616            */
617            public com.liferay.portlet.wiki.model.WikiPage[] findByR_N_PrevAndNext(
618                    long pageId, long resourcePrimKey, long nodeId,
619                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
620                    throws com.liferay.portal.kernel.exception.SystemException,
621                            com.liferay.portlet.wiki.NoSuchPageException;
622    
623            /**
624            * Returns all the wiki pages where nodeId = &#63; and title = &#63;.
625            *
626            * @param nodeId the node ID
627            * @param title the title
628            * @return the matching wiki pages
629            * @throws SystemException if a system exception occurred
630            */
631            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
632                    long nodeId, java.lang.String title)
633                    throws com.liferay.portal.kernel.exception.SystemException;
634    
635            /**
636            * Returns a range of all the wiki pages where nodeId = &#63; and title = &#63;.
637            *
638            * <p>
639            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
640            * </p>
641            *
642            * @param nodeId the node ID
643            * @param title the title
644            * @param start the lower bound of the range of wiki pages
645            * @param end the upper bound of the range of wiki pages (not inclusive)
646            * @return the range of matching wiki pages
647            * @throws SystemException if a system exception occurred
648            */
649            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
650                    long nodeId, java.lang.String title, int start, int end)
651                    throws com.liferay.portal.kernel.exception.SystemException;
652    
653            /**
654            * Returns an ordered range of all the wiki pages where nodeId = &#63; and title = &#63;.
655            *
656            * <p>
657            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
658            * </p>
659            *
660            * @param nodeId the node ID
661            * @param title the title
662            * @param start the lower bound of the range of wiki pages
663            * @param end the upper bound of the range of wiki pages (not inclusive)
664            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
665            * @return the ordered range of matching wiki pages
666            * @throws SystemException if a system exception occurred
667            */
668            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T(
669                    long nodeId, java.lang.String title, int start, int end,
670                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
671                    throws com.liferay.portal.kernel.exception.SystemException;
672    
673            /**
674            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63;.
675            *
676            * @param nodeId the node ID
677            * @param title the title
678            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
679            * @return the first matching wiki page
680            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
681            * @throws SystemException if a system exception occurred
682            */
683            public com.liferay.portlet.wiki.model.WikiPage findByN_T_First(
684                    long nodeId, java.lang.String title,
685                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
686                    throws com.liferay.portal.kernel.exception.SystemException,
687                            com.liferay.portlet.wiki.NoSuchPageException;
688    
689            /**
690            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63;.
691            *
692            * @param nodeId the node ID
693            * @param title the title
694            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
695            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
696            * @throws SystemException if a system exception occurred
697            */
698            public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_First(
699                    long nodeId, java.lang.String title,
700                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
701                    throws com.liferay.portal.kernel.exception.SystemException;
702    
703            /**
704            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63;.
705            *
706            * @param nodeId the node ID
707            * @param title the title
708            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
709            * @return the last matching wiki page
710            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
711            * @throws SystemException if a system exception occurred
712            */
713            public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId,
714                    java.lang.String title,
715                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
716                    throws com.liferay.portal.kernel.exception.SystemException,
717                            com.liferay.portlet.wiki.NoSuchPageException;
718    
719            /**
720            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63;.
721            *
722            * @param nodeId the node ID
723            * @param title the title
724            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
725            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
726            * @throws SystemException if a system exception occurred
727            */
728            public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_Last(
729                    long nodeId, java.lang.String title,
730                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
731                    throws com.liferay.portal.kernel.exception.SystemException;
732    
733            /**
734            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63;.
735            *
736            * @param pageId the primary key of the current wiki page
737            * @param nodeId the node ID
738            * @param title the title
739            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
740            * @return the previous, current, and next wiki page
741            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
742            * @throws SystemException if a system exception occurred
743            */
744            public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(
745                    long pageId, long nodeId, java.lang.String title,
746                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
747                    throws com.liferay.portal.kernel.exception.SystemException,
748                            com.liferay.portlet.wiki.NoSuchPageException;
749    
750            /**
751            * Returns all the wiki pages where nodeId = &#63; and head = &#63;.
752            *
753            * @param nodeId the node ID
754            * @param head the head
755            * @return the matching wiki pages
756            * @throws SystemException if a system exception occurred
757            */
758            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
759                    long nodeId, boolean head)
760                    throws com.liferay.portal.kernel.exception.SystemException;
761    
762            /**
763            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63;.
764            *
765            * <p>
766            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
767            * </p>
768            *
769            * @param nodeId the node ID
770            * @param head the head
771            * @param start the lower bound of the range of wiki pages
772            * @param end the upper bound of the range of wiki pages (not inclusive)
773            * @return the range of matching wiki pages
774            * @throws SystemException if a system exception occurred
775            */
776            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
777                    long nodeId, boolean head, int start, int end)
778                    throws com.liferay.portal.kernel.exception.SystemException;
779    
780            /**
781            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63;.
782            *
783            * <p>
784            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
785            * </p>
786            *
787            * @param nodeId the node ID
788            * @param head the head
789            * @param start the lower bound of the range of wiki pages
790            * @param end the upper bound of the range of wiki pages (not inclusive)
791            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
792            * @return the ordered range of matching wiki pages
793            * @throws SystemException if a system exception occurred
794            */
795            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H(
796                    long nodeId, boolean head, int start, int end,
797                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
798                    throws com.liferay.portal.kernel.exception.SystemException;
799    
800            /**
801            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63;.
802            *
803            * @param nodeId the node ID
804            * @param head the head
805            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
806            * @return the first matching wiki page
807            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
808            * @throws SystemException if a system exception occurred
809            */
810            public com.liferay.portlet.wiki.model.WikiPage findByN_H_First(
811                    long nodeId, boolean head,
812                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
813                    throws com.liferay.portal.kernel.exception.SystemException,
814                            com.liferay.portlet.wiki.NoSuchPageException;
815    
816            /**
817            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63;.
818            *
819            * @param nodeId the node ID
820            * @param head the head
821            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
822            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
823            * @throws SystemException if a system exception occurred
824            */
825            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_First(
826                    long nodeId, boolean head,
827                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
828                    throws com.liferay.portal.kernel.exception.SystemException;
829    
830            /**
831            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63;.
832            *
833            * @param nodeId the node ID
834            * @param head the head
835            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
836            * @return the last matching wiki page
837            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
838            * @throws SystemException if a system exception occurred
839            */
840            public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId,
841                    boolean head,
842                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
843                    throws com.liferay.portal.kernel.exception.SystemException,
844                            com.liferay.portlet.wiki.NoSuchPageException;
845    
846            /**
847            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63;.
848            *
849            * @param nodeId the node ID
850            * @param head the head
851            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
852            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
853            * @throws SystemException if a system exception occurred
854            */
855            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_Last(
856                    long nodeId, boolean head,
857                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
858                    throws com.liferay.portal.kernel.exception.SystemException;
859    
860            /**
861            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63;.
862            *
863            * @param pageId the primary key of the current wiki page
864            * @param nodeId the node ID
865            * @param head the head
866            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
867            * @return the previous, current, and next wiki page
868            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
869            * @throws SystemException if a system exception occurred
870            */
871            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(
872                    long pageId, long nodeId, boolean head,
873                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
874                    throws com.liferay.portal.kernel.exception.SystemException,
875                            com.liferay.portlet.wiki.NoSuchPageException;
876    
877            /**
878            * Returns all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
879            *
880            * @param nodeId the node ID
881            * @param parentTitle the parent title
882            * @return the matching wiki pages
883            * @throws SystemException if a system exception occurred
884            */
885            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
886                    long nodeId, java.lang.String parentTitle)
887                    throws com.liferay.portal.kernel.exception.SystemException;
888    
889            /**
890            * Returns a range of all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
891            *
892            * <p>
893            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
894            * </p>
895            *
896            * @param nodeId the node ID
897            * @param parentTitle the parent title
898            * @param start the lower bound of the range of wiki pages
899            * @param end the upper bound of the range of wiki pages (not inclusive)
900            * @return the range of matching wiki pages
901            * @throws SystemException if a system exception occurred
902            */
903            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
904                    long nodeId, java.lang.String parentTitle, int start, int end)
905                    throws com.liferay.portal.kernel.exception.SystemException;
906    
907            /**
908            * Returns an ordered range of all the wiki pages where nodeId = &#63; and parentTitle = &#63;.
909            *
910            * <p>
911            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
912            * </p>
913            *
914            * @param nodeId the node ID
915            * @param parentTitle the parent title
916            * @param start the lower bound of the range of wiki pages
917            * @param end the upper bound of the range of wiki pages (not inclusive)
918            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
919            * @return the ordered range of matching wiki pages
920            * @throws SystemException if a system exception occurred
921            */
922            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P(
923                    long nodeId, java.lang.String parentTitle, int start, int end,
924                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
925                    throws com.liferay.portal.kernel.exception.SystemException;
926    
927            /**
928            * Returns the first wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
929            *
930            * @param nodeId the node ID
931            * @param parentTitle the parent title
932            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
933            * @return the first matching wiki page
934            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
935            * @throws SystemException if a system exception occurred
936            */
937            public com.liferay.portlet.wiki.model.WikiPage findByN_P_First(
938                    long nodeId, java.lang.String parentTitle,
939                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
940                    throws com.liferay.portal.kernel.exception.SystemException,
941                            com.liferay.portlet.wiki.NoSuchPageException;
942    
943            /**
944            * Returns the first wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
945            *
946            * @param nodeId the node ID
947            * @param parentTitle the parent title
948            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
949            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
950            * @throws SystemException if a system exception occurred
951            */
952            public com.liferay.portlet.wiki.model.WikiPage fetchByN_P_First(
953                    long nodeId, java.lang.String parentTitle,
954                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
955                    throws com.liferay.portal.kernel.exception.SystemException;
956    
957            /**
958            * Returns the last wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
959            *
960            * @param nodeId the node ID
961            * @param parentTitle the parent title
962            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
963            * @return the last matching wiki page
964            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
965            * @throws SystemException if a system exception occurred
966            */
967            public com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(long nodeId,
968                    java.lang.String parentTitle,
969                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
970                    throws com.liferay.portal.kernel.exception.SystemException,
971                            com.liferay.portlet.wiki.NoSuchPageException;
972    
973            /**
974            * Returns the last wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
975            *
976            * @param nodeId the node ID
977            * @param parentTitle the parent title
978            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
979            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
980            * @throws SystemException if a system exception occurred
981            */
982            public com.liferay.portlet.wiki.model.WikiPage fetchByN_P_Last(
983                    long nodeId, java.lang.String parentTitle,
984                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
985                    throws com.liferay.portal.kernel.exception.SystemException;
986    
987            /**
988            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and parentTitle = &#63;.
989            *
990            * @param pageId the primary key of the current wiki page
991            * @param nodeId the node ID
992            * @param parentTitle the parent title
993            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
994            * @return the previous, current, and next wiki page
995            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
996            * @throws SystemException if a system exception occurred
997            */
998            public com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext(
999                    long pageId, long nodeId, java.lang.String parentTitle,
1000                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1001                    throws com.liferay.portal.kernel.exception.SystemException,
1002                            com.liferay.portlet.wiki.NoSuchPageException;
1003    
1004            /**
1005            * Returns all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1006            *
1007            * @param nodeId the node ID
1008            * @param redirectTitle the redirect title
1009            * @return the matching wiki pages
1010            * @throws SystemException if a system exception occurred
1011            */
1012            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1013                    long nodeId, java.lang.String redirectTitle)
1014                    throws com.liferay.portal.kernel.exception.SystemException;
1015    
1016            /**
1017            * Returns a range of all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1018            *
1019            * <p>
1020            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1021            * </p>
1022            *
1023            * @param nodeId the node ID
1024            * @param redirectTitle the redirect title
1025            * @param start the lower bound of the range of wiki pages
1026            * @param end the upper bound of the range of wiki pages (not inclusive)
1027            * @return the range of matching wiki pages
1028            * @throws SystemException if a system exception occurred
1029            */
1030            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1031                    long nodeId, java.lang.String redirectTitle, int start, int end)
1032                    throws com.liferay.portal.kernel.exception.SystemException;
1033    
1034            /**
1035            * Returns an ordered range of all the wiki pages where nodeId = &#63; and redirectTitle = &#63;.
1036            *
1037            * <p>
1038            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1039            * </p>
1040            *
1041            * @param nodeId the node ID
1042            * @param redirectTitle the redirect title
1043            * @param start the lower bound of the range of wiki pages
1044            * @param end the upper bound of the range of wiki pages (not inclusive)
1045            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1046            * @return the ordered range of matching wiki pages
1047            * @throws SystemException if a system exception occurred
1048            */
1049            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R(
1050                    long nodeId, java.lang.String redirectTitle, int start, int end,
1051                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1052                    throws com.liferay.portal.kernel.exception.SystemException;
1053    
1054            /**
1055            * Returns the first wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1056            *
1057            * @param nodeId the node ID
1058            * @param redirectTitle the redirect title
1059            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1060            * @return the first matching wiki page
1061            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1062            * @throws SystemException if a system exception occurred
1063            */
1064            public com.liferay.portlet.wiki.model.WikiPage findByN_R_First(
1065                    long nodeId, java.lang.String redirectTitle,
1066                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1067                    throws com.liferay.portal.kernel.exception.SystemException,
1068                            com.liferay.portlet.wiki.NoSuchPageException;
1069    
1070            /**
1071            * Returns the first wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1072            *
1073            * @param nodeId the node ID
1074            * @param redirectTitle the redirect title
1075            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1076            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1077            * @throws SystemException if a system exception occurred
1078            */
1079            public com.liferay.portlet.wiki.model.WikiPage fetchByN_R_First(
1080                    long nodeId, java.lang.String redirectTitle,
1081                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1082                    throws com.liferay.portal.kernel.exception.SystemException;
1083    
1084            /**
1085            * Returns the last wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1086            *
1087            * @param nodeId the node ID
1088            * @param redirectTitle the redirect title
1089            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1090            * @return the last matching wiki page
1091            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1092            * @throws SystemException if a system exception occurred
1093            */
1094            public com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(long nodeId,
1095                    java.lang.String redirectTitle,
1096                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1097                    throws com.liferay.portal.kernel.exception.SystemException,
1098                            com.liferay.portlet.wiki.NoSuchPageException;
1099    
1100            /**
1101            * Returns the last wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1102            *
1103            * @param nodeId the node ID
1104            * @param redirectTitle the redirect title
1105            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1106            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1107            * @throws SystemException if a system exception occurred
1108            */
1109            public com.liferay.portlet.wiki.model.WikiPage fetchByN_R_Last(
1110                    long nodeId, java.lang.String redirectTitle,
1111                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1112                    throws com.liferay.portal.kernel.exception.SystemException;
1113    
1114            /**
1115            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and redirectTitle = &#63;.
1116            *
1117            * @param pageId the primary key of the current wiki page
1118            * @param nodeId the node ID
1119            * @param redirectTitle the redirect title
1120            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1121            * @return the previous, current, and next wiki page
1122            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1123            * @throws SystemException if a system exception occurred
1124            */
1125            public com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext(
1126                    long pageId, long nodeId, java.lang.String redirectTitle,
1127                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1128                    throws com.liferay.portal.kernel.exception.SystemException,
1129                            com.liferay.portlet.wiki.NoSuchPageException;
1130    
1131            /**
1132            * Returns all the wiki pages where nodeId = &#63; and status = &#63;.
1133            *
1134            * @param nodeId the node ID
1135            * @param status the status
1136            * @return the matching wiki pages
1137            * @throws SystemException if a system exception occurred
1138            */
1139            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
1140                    long nodeId, int status)
1141                    throws com.liferay.portal.kernel.exception.SystemException;
1142    
1143            /**
1144            * Returns a range of all the wiki pages where nodeId = &#63; and status = &#63;.
1145            *
1146            * <p>
1147            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1148            * </p>
1149            *
1150            * @param nodeId the node ID
1151            * @param status the status
1152            * @param start the lower bound of the range of wiki pages
1153            * @param end the upper bound of the range of wiki pages (not inclusive)
1154            * @return the range of matching wiki pages
1155            * @throws SystemException if a system exception occurred
1156            */
1157            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
1158                    long nodeId, int status, int start, int end)
1159                    throws com.liferay.portal.kernel.exception.SystemException;
1160    
1161            /**
1162            * Returns an ordered range of all the wiki pages where nodeId = &#63; and status = &#63;.
1163            *
1164            * <p>
1165            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1166            * </p>
1167            *
1168            * @param nodeId the node ID
1169            * @param status the status
1170            * @param start the lower bound of the range of wiki pages
1171            * @param end the upper bound of the range of wiki pages (not inclusive)
1172            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1173            * @return the ordered range of matching wiki pages
1174            * @throws SystemException if a system exception occurred
1175            */
1176            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S(
1177                    long nodeId, int status, int start, int end,
1178                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1179                    throws com.liferay.portal.kernel.exception.SystemException;
1180    
1181            /**
1182            * Returns the first wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1183            *
1184            * @param nodeId the node ID
1185            * @param status the status
1186            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1187            * @return the first matching wiki page
1188            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1189            * @throws SystemException if a system exception occurred
1190            */
1191            public com.liferay.portlet.wiki.model.WikiPage findByN_S_First(
1192                    long nodeId, int status,
1193                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1194                    throws com.liferay.portal.kernel.exception.SystemException,
1195                            com.liferay.portlet.wiki.NoSuchPageException;
1196    
1197            /**
1198            * Returns the first wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1199            *
1200            * @param nodeId the node ID
1201            * @param status the status
1202            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1203            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1204            * @throws SystemException if a system exception occurred
1205            */
1206            public com.liferay.portlet.wiki.model.WikiPage fetchByN_S_First(
1207                    long nodeId, int status,
1208                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1209                    throws com.liferay.portal.kernel.exception.SystemException;
1210    
1211            /**
1212            * Returns the last wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1213            *
1214            * @param nodeId the node ID
1215            * @param status the status
1216            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1217            * @return the last matching wiki page
1218            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1219            * @throws SystemException if a system exception occurred
1220            */
1221            public com.liferay.portlet.wiki.model.WikiPage findByN_S_Last(long nodeId,
1222                    int status,
1223                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1224                    throws com.liferay.portal.kernel.exception.SystemException,
1225                            com.liferay.portlet.wiki.NoSuchPageException;
1226    
1227            /**
1228            * Returns the last wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1229            *
1230            * @param nodeId the node ID
1231            * @param status the status
1232            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1233            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1234            * @throws SystemException if a system exception occurred
1235            */
1236            public com.liferay.portlet.wiki.model.WikiPage fetchByN_S_Last(
1237                    long nodeId, int status,
1238                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1239                    throws com.liferay.portal.kernel.exception.SystemException;
1240    
1241            /**
1242            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and status = &#63;.
1243            *
1244            * @param pageId the primary key of the current wiki page
1245            * @param nodeId the node ID
1246            * @param status the status
1247            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1248            * @return the previous, current, and next wiki page
1249            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1250            * @throws SystemException if a system exception occurred
1251            */
1252            public com.liferay.portlet.wiki.model.WikiPage[] findByN_S_PrevAndNext(
1253                    long pageId, long nodeId, int status,
1254                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1255                    throws com.liferay.portal.kernel.exception.SystemException,
1256                            com.liferay.portlet.wiki.NoSuchPageException;
1257    
1258            /**
1259            * 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.
1260            *
1261            * @param resourcePrimKey the resource prim key
1262            * @param nodeId the node ID
1263            * @param version the version
1264            * @return the matching wiki page
1265            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1266            * @throws SystemException if a system exception occurred
1267            */
1268            public com.liferay.portlet.wiki.model.WikiPage findByR_N_V(
1269                    long resourcePrimKey, long nodeId, double version)
1270                    throws com.liferay.portal.kernel.exception.SystemException,
1271                            com.liferay.portlet.wiki.NoSuchPageException;
1272    
1273            /**
1274            * 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.
1275            *
1276            * @param resourcePrimKey the resource prim key
1277            * @param nodeId the node ID
1278            * @param version the version
1279            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
1280            * @throws SystemException if a system exception occurred
1281            */
1282            public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V(
1283                    long resourcePrimKey, long nodeId, double version)
1284                    throws com.liferay.portal.kernel.exception.SystemException;
1285    
1286            /**
1287            * 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.
1288            *
1289            * @param resourcePrimKey the resource prim key
1290            * @param nodeId the node ID
1291            * @param version the version
1292            * @param retrieveFromCache whether to use the finder cache
1293            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
1294            * @throws SystemException if a system exception occurred
1295            */
1296            public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V(
1297                    long resourcePrimKey, long nodeId, double version,
1298                    boolean retrieveFromCache)
1299                    throws com.liferay.portal.kernel.exception.SystemException;
1300    
1301            /**
1302            * Returns all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1303            *
1304            * @param resourcePrimKey the resource prim key
1305            * @param nodeId the node ID
1306            * @param status the status
1307            * @return the matching wiki pages
1308            * @throws SystemException if a system exception occurred
1309            */
1310            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
1311                    long resourcePrimKey, long nodeId, int status)
1312                    throws com.liferay.portal.kernel.exception.SystemException;
1313    
1314            /**
1315            * Returns a range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1316            *
1317            * <p>
1318            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1319            * </p>
1320            *
1321            * @param resourcePrimKey the resource prim key
1322            * @param nodeId the node ID
1323            * @param status the status
1324            * @param start the lower bound of the range of wiki pages
1325            * @param end the upper bound of the range of wiki pages (not inclusive)
1326            * @return the range of matching wiki pages
1327            * @throws SystemException if a system exception occurred
1328            */
1329            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
1330                    long resourcePrimKey, long nodeId, int status, int start, int end)
1331                    throws com.liferay.portal.kernel.exception.SystemException;
1332    
1333            /**
1334            * Returns an ordered range of all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1335            *
1336            * <p>
1337            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1338            * </p>
1339            *
1340            * @param resourcePrimKey the resource prim key
1341            * @param nodeId the node ID
1342            * @param status the status
1343            * @param start the lower bound of the range of wiki pages
1344            * @param end the upper bound of the range of wiki pages (not inclusive)
1345            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1346            * @return the ordered range of matching wiki pages
1347            * @throws SystemException if a system exception occurred
1348            */
1349            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S(
1350                    long resourcePrimKey, long nodeId, int status, int start, int end,
1351                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1352                    throws com.liferay.portal.kernel.exception.SystemException;
1353    
1354            /**
1355            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1356            *
1357            * @param resourcePrimKey the resource prim key
1358            * @param nodeId the node ID
1359            * @param status the status
1360            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1361            * @return the first matching wiki page
1362            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1363            * @throws SystemException if a system exception occurred
1364            */
1365            public com.liferay.portlet.wiki.model.WikiPage findByR_N_S_First(
1366                    long resourcePrimKey, long nodeId, int status,
1367                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1368                    throws com.liferay.portal.kernel.exception.SystemException,
1369                            com.liferay.portlet.wiki.NoSuchPageException;
1370    
1371            /**
1372            * Returns the first wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1373            *
1374            * @param resourcePrimKey the resource prim key
1375            * @param nodeId the node ID
1376            * @param status the status
1377            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1378            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1379            * @throws SystemException if a system exception occurred
1380            */
1381            public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_First(
1382                    long resourcePrimKey, long nodeId, int status,
1383                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1384                    throws com.liferay.portal.kernel.exception.SystemException;
1385    
1386            /**
1387            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1388            *
1389            * @param resourcePrimKey the resource prim key
1390            * @param nodeId the node ID
1391            * @param status the status
1392            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1393            * @return the last matching wiki page
1394            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1395            * @throws SystemException if a system exception occurred
1396            */
1397            public com.liferay.portlet.wiki.model.WikiPage findByR_N_S_Last(
1398                    long resourcePrimKey, long nodeId, int status,
1399                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1400                    throws com.liferay.portal.kernel.exception.SystemException,
1401                            com.liferay.portlet.wiki.NoSuchPageException;
1402    
1403            /**
1404            * Returns the last wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1405            *
1406            * @param resourcePrimKey the resource prim key
1407            * @param nodeId the node ID
1408            * @param status the status
1409            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1410            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1411            * @throws SystemException if a system exception occurred
1412            */
1413            public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_Last(
1414                    long resourcePrimKey, long nodeId, int status,
1415                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1416                    throws com.liferay.portal.kernel.exception.SystemException;
1417    
1418            /**
1419            * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
1420            *
1421            * @param pageId the primary key of the current wiki page
1422            * @param resourcePrimKey the resource prim key
1423            * @param nodeId the node ID
1424            * @param status the status
1425            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1426            * @return the previous, current, and next wiki page
1427            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1428            * @throws SystemException if a system exception occurred
1429            */
1430            public com.liferay.portlet.wiki.model.WikiPage[] findByR_N_S_PrevAndNext(
1431                    long pageId, long resourcePrimKey, long nodeId, int status,
1432                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1433                    throws com.liferay.portal.kernel.exception.SystemException,
1434                            com.liferay.portlet.wiki.NoSuchPageException;
1435    
1436            /**
1437            * Returns all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
1438            *
1439            * @param userId the user ID
1440            * @param nodeId the node ID
1441            * @param status the status
1442            * @return the matching wiki pages
1443            * @throws SystemException if a system exception occurred
1444            */
1445            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
1446                    long userId, long nodeId, int status)
1447                    throws com.liferay.portal.kernel.exception.SystemException;
1448    
1449            /**
1450            * Returns a range of all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
1451            *
1452            * <p>
1453            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1454            * </p>
1455            *
1456            * @param userId the user ID
1457            * @param nodeId the node ID
1458            * @param status the status
1459            * @param start the lower bound of the range of wiki pages
1460            * @param end the upper bound of the range of wiki pages (not inclusive)
1461            * @return the range of matching wiki pages
1462            * @throws SystemException if a system exception occurred
1463            */
1464            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
1465                    long userId, long nodeId, int status, int start, int end)
1466                    throws com.liferay.portal.kernel.exception.SystemException;
1467    
1468            /**
1469            * Returns an ordered range of all the wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
1470            *
1471            * <p>
1472            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1473            * </p>
1474            *
1475            * @param userId the user ID
1476            * @param nodeId the node ID
1477            * @param status the status
1478            * @param start the lower bound of the range of wiki pages
1479            * @param end the upper bound of the range of wiki pages (not inclusive)
1480            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1481            * @return the ordered range of matching wiki pages
1482            * @throws SystemException if a system exception occurred
1483            */
1484            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S(
1485                    long userId, long nodeId, int status, int start, int end,
1486                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1487                    throws com.liferay.portal.kernel.exception.SystemException;
1488    
1489            /**
1490            * Returns the first wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
1491            *
1492            * @param userId the user ID
1493            * @param nodeId the node ID
1494            * @param status the status
1495            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1496            * @return the first matching wiki page
1497            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1498            * @throws SystemException if a system exception occurred
1499            */
1500            public com.liferay.portlet.wiki.model.WikiPage findByU_N_S_First(
1501                    long userId, long nodeId, int status,
1502                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1503                    throws com.liferay.portal.kernel.exception.SystemException,
1504                            com.liferay.portlet.wiki.NoSuchPageException;
1505    
1506            /**
1507            * Returns the first wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
1508            *
1509            * @param userId the user ID
1510            * @param nodeId the node ID
1511            * @param status the status
1512            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1513            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1514            * @throws SystemException if a system exception occurred
1515            */
1516            public com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_First(
1517                    long userId, long nodeId, int status,
1518                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1519                    throws com.liferay.portal.kernel.exception.SystemException;
1520    
1521            /**
1522            * Returns the last wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
1523            *
1524            * @param userId the user ID
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 last matching wiki page
1529            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1530            * @throws SystemException if a system exception occurred
1531            */
1532            public com.liferay.portlet.wiki.model.WikiPage findByU_N_S_Last(
1533                    long userId, long nodeId, int status,
1534                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1535                    throws com.liferay.portal.kernel.exception.SystemException,
1536                            com.liferay.portlet.wiki.NoSuchPageException;
1537    
1538            /**
1539            * Returns the last wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
1540            *
1541            * @param userId the user ID
1542            * @param nodeId the node ID
1543            * @param status the status
1544            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1545            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1546            * @throws SystemException if a system exception occurred
1547            */
1548            public com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_Last(
1549                    long userId, long nodeId, int status,
1550                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1551                    throws com.liferay.portal.kernel.exception.SystemException;
1552    
1553            /**
1554            * Returns the wiki pages before and after the current wiki page in the ordered set where userId = &#63; and nodeId = &#63; and status = &#63;.
1555            *
1556            * @param pageId the primary key of the current wiki page
1557            * @param userId the user ID
1558            * @param nodeId the node ID
1559            * @param status the status
1560            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1561            * @return the previous, current, and next wiki page
1562            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1563            * @throws SystemException if a system exception occurred
1564            */
1565            public com.liferay.portlet.wiki.model.WikiPage[] findByU_N_S_PrevAndNext(
1566                    long pageId, long userId, long nodeId, int status,
1567                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1568                    throws com.liferay.portal.kernel.exception.SystemException,
1569                            com.liferay.portlet.wiki.NoSuchPageException;
1570    
1571            /**
1572            * 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.
1573            *
1574            * @param nodeId the node ID
1575            * @param title the title
1576            * @param version the version
1577            * @return the matching wiki page
1578            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1579            * @throws SystemException if a system exception occurred
1580            */
1581            public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId,
1582                    java.lang.String title, double version)
1583                    throws com.liferay.portal.kernel.exception.SystemException,
1584                            com.liferay.portlet.wiki.NoSuchPageException;
1585    
1586            /**
1587            * 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.
1588            *
1589            * @param nodeId the node ID
1590            * @param title the title
1591            * @param version the version
1592            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
1593            * @throws SystemException if a system exception occurred
1594            */
1595            public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
1596                    java.lang.String title, double version)
1597                    throws com.liferay.portal.kernel.exception.SystemException;
1598    
1599            /**
1600            * 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.
1601            *
1602            * @param nodeId the node ID
1603            * @param title the title
1604            * @param version the version
1605            * @param retrieveFromCache whether to use the finder cache
1606            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
1607            * @throws SystemException if a system exception occurred
1608            */
1609            public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
1610                    java.lang.String title, double version, boolean retrieveFromCache)
1611                    throws com.liferay.portal.kernel.exception.SystemException;
1612    
1613            /**
1614            * Returns all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
1615            *
1616            * @param nodeId the node ID
1617            * @param title the title
1618            * @param head the head
1619            * @return the matching wiki pages
1620            * @throws SystemException if a system exception occurred
1621            */
1622            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
1623                    long nodeId, java.lang.String title, boolean head)
1624                    throws com.liferay.portal.kernel.exception.SystemException;
1625    
1626            /**
1627            * Returns a range of all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
1628            *
1629            * <p>
1630            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1631            * </p>
1632            *
1633            * @param nodeId the node ID
1634            * @param title the title
1635            * @param head the head
1636            * @param start the lower bound of the range of wiki pages
1637            * @param end the upper bound of the range of wiki pages (not inclusive)
1638            * @return the range of matching wiki pages
1639            * @throws SystemException if a system exception occurred
1640            */
1641            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
1642                    long nodeId, java.lang.String title, boolean head, int start, int end)
1643                    throws com.liferay.portal.kernel.exception.SystemException;
1644    
1645            /**
1646            * Returns an ordered range of all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
1647            *
1648            * <p>
1649            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1650            * </p>
1651            *
1652            * @param nodeId the node ID
1653            * @param title the title
1654            * @param head the head
1655            * @param start the lower bound of the range of wiki pages
1656            * @param end the upper bound of the range of wiki pages (not inclusive)
1657            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1658            * @return the ordered range of matching wiki pages
1659            * @throws SystemException if a system exception occurred
1660            */
1661            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H(
1662                    long nodeId, java.lang.String title, boolean head, int start, int end,
1663                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1664                    throws com.liferay.portal.kernel.exception.SystemException;
1665    
1666            /**
1667            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
1668            *
1669            * @param nodeId the node ID
1670            * @param title the title
1671            * @param head the head
1672            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1673            * @return the first matching wiki page
1674            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1675            * @throws SystemException if a system exception occurred
1676            */
1677            public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(
1678                    long nodeId, java.lang.String title, boolean head,
1679                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1680                    throws com.liferay.portal.kernel.exception.SystemException,
1681                            com.liferay.portlet.wiki.NoSuchPageException;
1682    
1683            /**
1684            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
1685            *
1686            * @param nodeId the node ID
1687            * @param title the title
1688            * @param head the head
1689            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1690            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1691            * @throws SystemException if a system exception occurred
1692            */
1693            public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_First(
1694                    long nodeId, java.lang.String title, boolean head,
1695                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1696                    throws com.liferay.portal.kernel.exception.SystemException;
1697    
1698            /**
1699            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
1700            *
1701            * @param nodeId the node ID
1702            * @param title the title
1703            * @param head the head
1704            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1705            * @return the last matching wiki page
1706            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1707            * @throws SystemException if a system exception occurred
1708            */
1709            public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(
1710                    long nodeId, java.lang.String title, boolean head,
1711                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1712                    throws com.liferay.portal.kernel.exception.SystemException,
1713                            com.liferay.portlet.wiki.NoSuchPageException;
1714    
1715            /**
1716            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
1717            *
1718            * @param nodeId the node ID
1719            * @param title the title
1720            * @param head the head
1721            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1722            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1723            * @throws SystemException if a system exception occurred
1724            */
1725            public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_Last(
1726                    long nodeId, java.lang.String title, boolean head,
1727                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1728                    throws com.liferay.portal.kernel.exception.SystemException;
1729    
1730            /**
1731            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63; and head = &#63;.
1732            *
1733            * @param pageId the primary key of the current wiki page
1734            * @param nodeId the node ID
1735            * @param title the title
1736            * @param head the head
1737            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1738            * @return the previous, current, and next wiki page
1739            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1740            * @throws SystemException if a system exception occurred
1741            */
1742            public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(
1743                    long pageId, long nodeId, java.lang.String title, boolean head,
1744                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1745                    throws com.liferay.portal.kernel.exception.SystemException,
1746                            com.liferay.portlet.wiki.NoSuchPageException;
1747    
1748            /**
1749            * Returns all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
1750            *
1751            * @param nodeId the node ID
1752            * @param title the title
1753            * @param status the status
1754            * @return the matching wiki pages
1755            * @throws SystemException if a system exception occurred
1756            */
1757            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
1758                    long nodeId, java.lang.String title, int status)
1759                    throws com.liferay.portal.kernel.exception.SystemException;
1760    
1761            /**
1762            * Returns a range of all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
1763            *
1764            * <p>
1765            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1766            * </p>
1767            *
1768            * @param nodeId the node ID
1769            * @param title the title
1770            * @param status the status
1771            * @param start the lower bound of the range of wiki pages
1772            * @param end the upper bound of the range of wiki pages (not inclusive)
1773            * @return the range of matching wiki pages
1774            * @throws SystemException if a system exception occurred
1775            */
1776            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
1777                    long nodeId, java.lang.String title, int status, int start, int end)
1778                    throws com.liferay.portal.kernel.exception.SystemException;
1779    
1780            /**
1781            * Returns an ordered range of all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
1782            *
1783            * <p>
1784            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1785            * </p>
1786            *
1787            * @param nodeId the node ID
1788            * @param title the title
1789            * @param status the status
1790            * @param start the lower bound of the range of wiki pages
1791            * @param end the upper bound of the range of wiki pages (not inclusive)
1792            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1793            * @return the ordered range of matching wiki pages
1794            * @throws SystemException if a system exception occurred
1795            */
1796            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S(
1797                    long nodeId, java.lang.String title, int status, int start, int end,
1798                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1799                    throws com.liferay.portal.kernel.exception.SystemException;
1800    
1801            /**
1802            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
1803            *
1804            * @param nodeId the node ID
1805            * @param title the title
1806            * @param status the status
1807            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1808            * @return the first matching wiki page
1809            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1810            * @throws SystemException if a system exception occurred
1811            */
1812            public com.liferay.portlet.wiki.model.WikiPage findByN_T_S_First(
1813                    long nodeId, java.lang.String title, int status,
1814                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1815                    throws com.liferay.portal.kernel.exception.SystemException,
1816                            com.liferay.portlet.wiki.NoSuchPageException;
1817    
1818            /**
1819            * Returns the first wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
1820            *
1821            * @param nodeId the node ID
1822            * @param title the title
1823            * @param status the status
1824            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1825            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1826            * @throws SystemException if a system exception occurred
1827            */
1828            public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_First(
1829                    long nodeId, java.lang.String title, int status,
1830                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1831                    throws com.liferay.portal.kernel.exception.SystemException;
1832    
1833            /**
1834            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
1835            *
1836            * @param nodeId the node ID
1837            * @param title the title
1838            * @param status the status
1839            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1840            * @return the last matching wiki page
1841            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1842            * @throws SystemException if a system exception occurred
1843            */
1844            public com.liferay.portlet.wiki.model.WikiPage findByN_T_S_Last(
1845                    long nodeId, java.lang.String title, int status,
1846                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1847                    throws com.liferay.portal.kernel.exception.SystemException,
1848                            com.liferay.portlet.wiki.NoSuchPageException;
1849    
1850            /**
1851            * Returns the last wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
1852            *
1853            * @param nodeId the node ID
1854            * @param title the title
1855            * @param status the status
1856            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1857            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1858            * @throws SystemException if a system exception occurred
1859            */
1860            public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_Last(
1861                    long nodeId, java.lang.String title, int status,
1862                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1863                    throws com.liferay.portal.kernel.exception.SystemException;
1864    
1865            /**
1866            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and title = &#63; and status = &#63;.
1867            *
1868            * @param pageId the primary key of the current wiki page
1869            * @param nodeId the node ID
1870            * @param title the title
1871            * @param status the status
1872            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1873            * @return the previous, current, and next wiki page
1874            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
1875            * @throws SystemException if a system exception occurred
1876            */
1877            public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_S_PrevAndNext(
1878                    long pageId, long nodeId, java.lang.String title, int status,
1879                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1880                    throws com.liferay.portal.kernel.exception.SystemException,
1881                            com.liferay.portlet.wiki.NoSuchPageException;
1882    
1883            /**
1884            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
1885            *
1886            * @param nodeId the node ID
1887            * @param head the head
1888            * @param parentTitle the parent title
1889            * @return the matching wiki pages
1890            * @throws SystemException if a system exception occurred
1891            */
1892            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
1893                    long nodeId, boolean head, java.lang.String parentTitle)
1894                    throws com.liferay.portal.kernel.exception.SystemException;
1895    
1896            /**
1897            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
1898            *
1899            * <p>
1900            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1901            * </p>
1902            *
1903            * @param nodeId the node ID
1904            * @param head the head
1905            * @param parentTitle the parent title
1906            * @param start the lower bound of the range of wiki pages
1907            * @param end the upper bound of the range of wiki pages (not inclusive)
1908            * @return the range of matching wiki pages
1909            * @throws SystemException if a system exception occurred
1910            */
1911            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
1912                    long nodeId, boolean head, java.lang.String parentTitle, int start,
1913                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1914    
1915            /**
1916            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
1917            *
1918            * <p>
1919            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1920            * </p>
1921            *
1922            * @param nodeId the node ID
1923            * @param head the head
1924            * @param parentTitle the parent title
1925            * @param start the lower bound of the range of wiki pages
1926            * @param end the upper bound of the range of wiki pages (not inclusive)
1927            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1928            * @return the ordered range of matching wiki pages
1929            * @throws SystemException if a system exception occurred
1930            */
1931            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P(
1932                    long nodeId, boolean head, java.lang.String parentTitle, int start,
1933                    int end,
1934                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1935                    throws com.liferay.portal.kernel.exception.SystemException;
1936    
1937            /**
1938            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
1939            *
1940            * @param nodeId the node ID
1941            * @param head the head
1942            * @param parentTitle the parent title
1943            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1944            * @return the first matching wiki page
1945            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1946            * @throws SystemException if a system exception occurred
1947            */
1948            public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First(
1949                    long nodeId, boolean head, java.lang.String parentTitle,
1950                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1951                    throws com.liferay.portal.kernel.exception.SystemException,
1952                            com.liferay.portlet.wiki.NoSuchPageException;
1953    
1954            /**
1955            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
1956            *
1957            * @param nodeId the node ID
1958            * @param head the head
1959            * @param parentTitle the parent title
1960            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1961            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
1962            * @throws SystemException if a system exception occurred
1963            */
1964            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_First(
1965                    long nodeId, boolean head, java.lang.String parentTitle,
1966                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1967                    throws com.liferay.portal.kernel.exception.SystemException;
1968    
1969            /**
1970            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
1971            *
1972            * @param nodeId the node ID
1973            * @param head the head
1974            * @param parentTitle the parent title
1975            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1976            * @return the last matching wiki page
1977            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
1978            * @throws SystemException if a system exception occurred
1979            */
1980            public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last(
1981                    long nodeId, boolean head, java.lang.String parentTitle,
1982                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1983                    throws com.liferay.portal.kernel.exception.SystemException,
1984                            com.liferay.portlet.wiki.NoSuchPageException;
1985    
1986            /**
1987            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
1988            *
1989            * @param nodeId the node ID
1990            * @param head the head
1991            * @param parentTitle the parent title
1992            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1993            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
1994            * @throws SystemException if a system exception occurred
1995            */
1996            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_Last(
1997                    long nodeId, boolean head, java.lang.String parentTitle,
1998                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1999                    throws com.liferay.portal.kernel.exception.SystemException;
2000    
2001            /**
2002            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2003            *
2004            * @param pageId the primary key of the current wiki page
2005            * @param nodeId the node ID
2006            * @param head the head
2007            * @param parentTitle the parent title
2008            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2009            * @return the previous, current, and next wiki page
2010            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2011            * @throws SystemException if a system exception occurred
2012            */
2013            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext(
2014                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
2015                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2016                    throws com.liferay.portal.kernel.exception.SystemException,
2017                            com.liferay.portlet.wiki.NoSuchPageException;
2018    
2019            /**
2020            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2021            *
2022            * @param nodeId the node ID
2023            * @param head the head
2024            * @param status the status
2025            * @return the matching wiki pages
2026            * @throws SystemException if a system exception occurred
2027            */
2028            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
2029                    long nodeId, boolean head, int status)
2030                    throws com.liferay.portal.kernel.exception.SystemException;
2031    
2032            /**
2033            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2034            *
2035            * <p>
2036            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2037            * </p>
2038            *
2039            * @param nodeId the node ID
2040            * @param head the head
2041            * @param status the status
2042            * @param start the lower bound of the range of wiki pages
2043            * @param end the upper bound of the range of wiki pages (not inclusive)
2044            * @return the range of matching wiki pages
2045            * @throws SystemException if a system exception occurred
2046            */
2047            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
2048                    long nodeId, boolean head, int status, int start, int end)
2049                    throws com.liferay.portal.kernel.exception.SystemException;
2050    
2051            /**
2052            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2053            *
2054            * <p>
2055            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2056            * </p>
2057            *
2058            * @param nodeId the node ID
2059            * @param head the head
2060            * @param status the status
2061            * @param start the lower bound of the range of wiki pages
2062            * @param end the upper bound of the range of wiki pages (not inclusive)
2063            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2064            * @return the ordered range of matching wiki pages
2065            * @throws SystemException if a system exception occurred
2066            */
2067            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S(
2068                    long nodeId, boolean head, int status, int start, int end,
2069                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2070                    throws com.liferay.portal.kernel.exception.SystemException;
2071    
2072            /**
2073            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
2074            *
2075            * @param nodeId the node ID
2076            * @param head the head
2077            * @param status the status
2078            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2079            * @return the first matching wiki page
2080            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2081            * @throws SystemException if a system exception occurred
2082            */
2083            public com.liferay.portlet.wiki.model.WikiPage findByN_H_S_First(
2084                    long nodeId, boolean head, int status,
2085                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2086                    throws com.liferay.portal.kernel.exception.SystemException,
2087                            com.liferay.portlet.wiki.NoSuchPageException;
2088    
2089            /**
2090            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
2091            *
2092            * @param nodeId the node ID
2093            * @param head the head
2094            * @param status the status
2095            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2096            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2097            * @throws SystemException if a system exception occurred
2098            */
2099            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_First(
2100                    long nodeId, boolean head, int status,
2101                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2102                    throws com.liferay.portal.kernel.exception.SystemException;
2103    
2104            /**
2105            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
2106            *
2107            * @param nodeId the node ID
2108            * @param head the head
2109            * @param status the status
2110            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2111            * @return the last matching wiki page
2112            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2113            * @throws SystemException if a system exception occurred
2114            */
2115            public com.liferay.portlet.wiki.model.WikiPage findByN_H_S_Last(
2116                    long nodeId, boolean head, int status,
2117                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2118                    throws com.liferay.portal.kernel.exception.SystemException,
2119                            com.liferay.portlet.wiki.NoSuchPageException;
2120    
2121            /**
2122            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
2123            *
2124            * @param nodeId the node ID
2125            * @param head the head
2126            * @param status the status
2127            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2128            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2129            * @throws SystemException if a system exception occurred
2130            */
2131            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_Last(
2132                    long nodeId, boolean head, int status,
2133                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2134                    throws com.liferay.portal.kernel.exception.SystemException;
2135    
2136            /**
2137            * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = &#63; and head = &#63; and status = &#63;.
2138            *
2139            * @param pageId the primary key of the current wiki page
2140            * @param nodeId the node ID
2141            * @param head the head
2142            * @param status the status
2143            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2144            * @return the previous, current, and next wiki page
2145            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2146            * @throws SystemException if a system exception occurred
2147            */
2148            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_S_PrevAndNext(
2149                    long pageId, long nodeId, boolean head, int status,
2150                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2151                    throws com.liferay.portal.kernel.exception.SystemException,
2152                            com.liferay.portlet.wiki.NoSuchPageException;
2153    
2154            /**
2155            * Returns all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2156            *
2157            * @param nodeId the node ID
2158            * @param head the head
2159            * @param parentTitle the parent title
2160            * @param status the status
2161            * @return the matching wiki pages
2162            * @throws SystemException if a system exception occurred
2163            */
2164            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
2165                    long nodeId, boolean head, java.lang.String parentTitle, int status)
2166                    throws com.liferay.portal.kernel.exception.SystemException;
2167    
2168            /**
2169            * Returns a range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2170            *
2171            * <p>
2172            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2173            * </p>
2174            *
2175            * @param nodeId the node ID
2176            * @param head the head
2177            * @param parentTitle the parent title
2178            * @param status the status
2179            * @param start the lower bound of the range of wiki pages
2180            * @param end the upper bound of the range of wiki pages (not inclusive)
2181            * @return the range of matching wiki pages
2182            * @throws SystemException if a system exception occurred
2183            */
2184            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
2185                    long nodeId, boolean head, java.lang.String parentTitle, int status,
2186                    int start, int end)
2187                    throws com.liferay.portal.kernel.exception.SystemException;
2188    
2189            /**
2190            * Returns an ordered range of all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2191            *
2192            * <p>
2193            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2194            * </p>
2195            *
2196            * @param nodeId the node ID
2197            * @param head the head
2198            * @param parentTitle the parent title
2199            * @param status the status
2200            * @param start the lower bound of the range of wiki pages
2201            * @param end the upper bound of the range of wiki pages (not inclusive)
2202            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2203            * @return the ordered range of matching wiki pages
2204            * @throws SystemException if a system exception occurred
2205            */
2206            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S(
2207                    long nodeId, boolean head, java.lang.String parentTitle, int status,
2208                    int start, int end,
2209                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2210                    throws com.liferay.portal.kernel.exception.SystemException;
2211    
2212            /**
2213            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2214            *
2215            * @param nodeId the node ID
2216            * @param head the head
2217            * @param parentTitle the parent title
2218            * @param status the status
2219            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2220            * @return the first matching wiki page
2221            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2222            * @throws SystemException if a system exception occurred
2223            */
2224            public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_First(
2225                    long nodeId, boolean head, java.lang.String parentTitle, int status,
2226                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2227                    throws com.liferay.portal.kernel.exception.SystemException,
2228                            com.liferay.portlet.wiki.NoSuchPageException;
2229    
2230            /**
2231            * Returns the first wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2232            *
2233            * @param nodeId the node ID
2234            * @param head the head
2235            * @param parentTitle the parent title
2236            * @param status the status
2237            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2238            * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found
2239            * @throws SystemException if a system exception occurred
2240            */
2241            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_First(
2242                    long nodeId, boolean head, java.lang.String parentTitle, int status,
2243                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2244                    throws com.liferay.portal.kernel.exception.SystemException;
2245    
2246            /**
2247            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2248            *
2249            * @param nodeId the node ID
2250            * @param head the head
2251            * @param parentTitle the parent title
2252            * @param status the status
2253            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2254            * @return the last matching wiki page
2255            * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found
2256            * @throws SystemException if a system exception occurred
2257            */
2258            public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_Last(
2259                    long nodeId, boolean head, java.lang.String parentTitle, int status,
2260                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2261                    throws com.liferay.portal.kernel.exception.SystemException,
2262                            com.liferay.portlet.wiki.NoSuchPageException;
2263    
2264            /**
2265            * Returns the last wiki page in the ordered set where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2266            *
2267            * @param nodeId the node ID
2268            * @param head the head
2269            * @param parentTitle the parent title
2270            * @param status the status
2271            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2272            * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found
2273            * @throws SystemException if a system exception occurred
2274            */
2275            public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_Last(
2276                    long nodeId, boolean head, java.lang.String parentTitle, int status,
2277                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2278                    throws com.liferay.portal.kernel.exception.SystemException;
2279    
2280            /**
2281            * 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;.
2282            *
2283            * @param pageId the primary key of the current wiki page
2284            * @param nodeId the node ID
2285            * @param head the head
2286            * @param parentTitle the parent title
2287            * @param status the status
2288            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2289            * @return the previous, current, and next wiki page
2290            * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found
2291            * @throws SystemException if a system exception occurred
2292            */
2293            public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_S_PrevAndNext(
2294                    long pageId, long nodeId, boolean head, java.lang.String parentTitle,
2295                    int status,
2296                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2297                    throws com.liferay.portal.kernel.exception.SystemException,
2298                            com.liferay.portlet.wiki.NoSuchPageException;
2299    
2300            /**
2301            * Returns all the wiki pages.
2302            *
2303            * @return the wiki pages
2304            * @throws SystemException if a system exception occurred
2305            */
2306            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll()
2307                    throws com.liferay.portal.kernel.exception.SystemException;
2308    
2309            /**
2310            * Returns a range of all the wiki pages.
2311            *
2312            * <p>
2313            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2314            * </p>
2315            *
2316            * @param start the lower bound of the range of wiki pages
2317            * @param end the upper bound of the range of wiki pages (not inclusive)
2318            * @return the range of wiki pages
2319            * @throws SystemException if a system exception occurred
2320            */
2321            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
2322                    int start, int end)
2323                    throws com.liferay.portal.kernel.exception.SystemException;
2324    
2325            /**
2326            * Returns an ordered range of all the wiki pages.
2327            *
2328            * <p>
2329            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
2330            * </p>
2331            *
2332            * @param start the lower bound of the range of wiki pages
2333            * @param end the upper bound of the range of wiki pages (not inclusive)
2334            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2335            * @return the ordered range of wiki pages
2336            * @throws SystemException if a system exception occurred
2337            */
2338            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll(
2339                    int start, int end,
2340                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2341                    throws com.liferay.portal.kernel.exception.SystemException;
2342    
2343            /**
2344            * Removes all the wiki pages where uuid = &#63; from the database.
2345            *
2346            * @param uuid the uuid
2347            * @throws SystemException if a system exception occurred
2348            */
2349            public void removeByUuid(java.lang.String uuid)
2350                    throws com.liferay.portal.kernel.exception.SystemException;
2351    
2352            /**
2353            * Removes the wiki page where uuid = &#63; and groupId = &#63; from the database.
2354            *
2355            * @param uuid the uuid
2356            * @param groupId the group ID
2357            * @return the wiki page that was removed
2358            * @throws SystemException if a system exception occurred
2359            */
2360            public com.liferay.portlet.wiki.model.WikiPage removeByUUID_G(
2361                    java.lang.String uuid, long groupId)
2362                    throws com.liferay.portal.kernel.exception.SystemException,
2363                            com.liferay.portlet.wiki.NoSuchPageException;
2364    
2365            /**
2366            * Removes all the wiki pages where nodeId = &#63; from the database.
2367            *
2368            * @param nodeId the node ID
2369            * @throws SystemException if a system exception occurred
2370            */
2371            public void removeByNodeId(long nodeId)
2372                    throws com.liferay.portal.kernel.exception.SystemException;
2373    
2374            /**
2375            * Removes all the wiki pages where format = &#63; from the database.
2376            *
2377            * @param format the format
2378            * @throws SystemException if a system exception occurred
2379            */
2380            public void removeByFormat(java.lang.String format)
2381                    throws com.liferay.portal.kernel.exception.SystemException;
2382    
2383            /**
2384            * Removes all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; from the database.
2385            *
2386            * @param resourcePrimKey the resource prim key
2387            * @param nodeId the node ID
2388            * @throws SystemException if a system exception occurred
2389            */
2390            public void removeByR_N(long resourcePrimKey, long nodeId)
2391                    throws com.liferay.portal.kernel.exception.SystemException;
2392    
2393            /**
2394            * Removes all the wiki pages where nodeId = &#63; and title = &#63; from the database.
2395            *
2396            * @param nodeId the node ID
2397            * @param title the title
2398            * @throws SystemException if a system exception occurred
2399            */
2400            public void removeByN_T(long nodeId, java.lang.String title)
2401                    throws com.liferay.portal.kernel.exception.SystemException;
2402    
2403            /**
2404            * Removes all the wiki pages where nodeId = &#63; and head = &#63; from the database.
2405            *
2406            * @param nodeId the node ID
2407            * @param head the head
2408            * @throws SystemException if a system exception occurred
2409            */
2410            public void removeByN_H(long nodeId, boolean head)
2411                    throws com.liferay.portal.kernel.exception.SystemException;
2412    
2413            /**
2414            * Removes all the wiki pages where nodeId = &#63; and parentTitle = &#63; from the database.
2415            *
2416            * @param nodeId the node ID
2417            * @param parentTitle the parent title
2418            * @throws SystemException if a system exception occurred
2419            */
2420            public void removeByN_P(long nodeId, java.lang.String parentTitle)
2421                    throws com.liferay.portal.kernel.exception.SystemException;
2422    
2423            /**
2424            * Removes all the wiki pages where nodeId = &#63; and redirectTitle = &#63; from the database.
2425            *
2426            * @param nodeId the node ID
2427            * @param redirectTitle the redirect title
2428            * @throws SystemException if a system exception occurred
2429            */
2430            public void removeByN_R(long nodeId, java.lang.String redirectTitle)
2431                    throws com.liferay.portal.kernel.exception.SystemException;
2432    
2433            /**
2434            * Removes all the wiki pages where nodeId = &#63; and status = &#63; from the database.
2435            *
2436            * @param nodeId the node ID
2437            * @param status the status
2438            * @throws SystemException if a system exception occurred
2439            */
2440            public void removeByN_S(long nodeId, int status)
2441                    throws com.liferay.portal.kernel.exception.SystemException;
2442    
2443            /**
2444            * Removes the wiki page where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63; from the database.
2445            *
2446            * @param resourcePrimKey the resource prim key
2447            * @param nodeId the node ID
2448            * @param version the version
2449            * @return the wiki page that was removed
2450            * @throws SystemException if a system exception occurred
2451            */
2452            public com.liferay.portlet.wiki.model.WikiPage removeByR_N_V(
2453                    long resourcePrimKey, long nodeId, double version)
2454                    throws com.liferay.portal.kernel.exception.SystemException,
2455                            com.liferay.portlet.wiki.NoSuchPageException;
2456    
2457            /**
2458            * Removes all the wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63; from the database.
2459            *
2460            * @param resourcePrimKey the resource prim key
2461            * @param nodeId the node ID
2462            * @param status the status
2463            * @throws SystemException if a system exception occurred
2464            */
2465            public void removeByR_N_S(long resourcePrimKey, long nodeId, int status)
2466                    throws com.liferay.portal.kernel.exception.SystemException;
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            * @throws SystemException if a system exception occurred
2475            */
2476            public void removeByU_N_S(long userId, long nodeId, int status)
2477                    throws com.liferay.portal.kernel.exception.SystemException;
2478    
2479            /**
2480            * Removes the wiki page where nodeId = &#63; and title = &#63; and version = &#63; from the database.
2481            *
2482            * @param nodeId the node ID
2483            * @param title the title
2484            * @param version the version
2485            * @return the wiki page that was removed
2486            * @throws SystemException if a system exception occurred
2487            */
2488            public com.liferay.portlet.wiki.model.WikiPage removeByN_T_V(long nodeId,
2489                    java.lang.String title, double version)
2490                    throws com.liferay.portal.kernel.exception.SystemException,
2491                            com.liferay.portlet.wiki.NoSuchPageException;
2492    
2493            /**
2494            * Removes all the wiki pages where nodeId = &#63; and title = &#63; and head = &#63; from the database.
2495            *
2496            * @param nodeId the node ID
2497            * @param title the title
2498            * @param head the head
2499            * @throws SystemException if a system exception occurred
2500            */
2501            public void removeByN_T_H(long nodeId, java.lang.String title, boolean head)
2502                    throws com.liferay.portal.kernel.exception.SystemException;
2503    
2504            /**
2505            * Removes all the wiki pages where nodeId = &#63; and title = &#63; and status = &#63; from the database.
2506            *
2507            * @param nodeId the node ID
2508            * @param title the title
2509            * @param status the status
2510            * @throws SystemException if a system exception occurred
2511            */
2512            public void removeByN_T_S(long nodeId, java.lang.String title, int status)
2513                    throws com.liferay.portal.kernel.exception.SystemException;
2514    
2515            /**
2516            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; from the database.
2517            *
2518            * @param nodeId the node ID
2519            * @param head the head
2520            * @param parentTitle the parent title
2521            * @throws SystemException if a system exception occurred
2522            */
2523            public void removeByN_H_P(long nodeId, boolean head,
2524                    java.lang.String parentTitle)
2525                    throws com.liferay.portal.kernel.exception.SystemException;
2526    
2527            /**
2528            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and status = &#63; from the database.
2529            *
2530            * @param nodeId the node ID
2531            * @param head the head
2532            * @param status the status
2533            * @throws SystemException if a system exception occurred
2534            */
2535            public void removeByN_H_S(long nodeId, boolean head, int status)
2536                    throws com.liferay.portal.kernel.exception.SystemException;
2537    
2538            /**
2539            * Removes all the wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63; from the database.
2540            *
2541            * @param nodeId the node ID
2542            * @param head the head
2543            * @param parentTitle the parent title
2544            * @param status the status
2545            * @throws SystemException if a system exception occurred
2546            */
2547            public void removeByN_H_P_S(long nodeId, boolean head,
2548                    java.lang.String parentTitle, int status)
2549                    throws com.liferay.portal.kernel.exception.SystemException;
2550    
2551            /**
2552            * Removes all the wiki pages from the database.
2553            *
2554            * @throws SystemException if a system exception occurred
2555            */
2556            public void removeAll()
2557                    throws com.liferay.portal.kernel.exception.SystemException;
2558    
2559            /**
2560            * Returns the number of wiki pages where uuid = &#63;.
2561            *
2562            * @param uuid the uuid
2563            * @return the number of matching wiki pages
2564            * @throws SystemException if a system exception occurred
2565            */
2566            public int countByUuid(java.lang.String uuid)
2567                    throws com.liferay.portal.kernel.exception.SystemException;
2568    
2569            /**
2570            * Returns the number of wiki pages where uuid = &#63; and groupId = &#63;.
2571            *
2572            * @param uuid the uuid
2573            * @param groupId the group ID
2574            * @return the number of matching wiki pages
2575            * @throws SystemException if a system exception occurred
2576            */
2577            public int countByUUID_G(java.lang.String uuid, long groupId)
2578                    throws com.liferay.portal.kernel.exception.SystemException;
2579    
2580            /**
2581            * Returns the number of wiki pages where nodeId = &#63;.
2582            *
2583            * @param nodeId the node ID
2584            * @return the number of matching wiki pages
2585            * @throws SystemException if a system exception occurred
2586            */
2587            public int countByNodeId(long nodeId)
2588                    throws com.liferay.portal.kernel.exception.SystemException;
2589    
2590            /**
2591            * Returns the number of wiki pages where format = &#63;.
2592            *
2593            * @param format the format
2594            * @return the number of matching wiki pages
2595            * @throws SystemException if a system exception occurred
2596            */
2597            public int countByFormat(java.lang.String format)
2598                    throws com.liferay.portal.kernel.exception.SystemException;
2599    
2600            /**
2601            * Returns the number of wiki pages where resourcePrimKey = &#63; and nodeId = &#63;.
2602            *
2603            * @param resourcePrimKey the resource prim key
2604            * @param nodeId the node ID
2605            * @return the number of matching wiki pages
2606            * @throws SystemException if a system exception occurred
2607            */
2608            public int countByR_N(long resourcePrimKey, long nodeId)
2609                    throws com.liferay.portal.kernel.exception.SystemException;
2610    
2611            /**
2612            * Returns the number of wiki pages where nodeId = &#63; and title = &#63;.
2613            *
2614            * @param nodeId the node ID
2615            * @param title the title
2616            * @return the number of matching wiki pages
2617            * @throws SystemException if a system exception occurred
2618            */
2619            public int countByN_T(long nodeId, java.lang.String title)
2620                    throws com.liferay.portal.kernel.exception.SystemException;
2621    
2622            /**
2623            * Returns the number of wiki pages where nodeId = &#63; and head = &#63;.
2624            *
2625            * @param nodeId the node ID
2626            * @param head the head
2627            * @return the number of matching wiki pages
2628            * @throws SystemException if a system exception occurred
2629            */
2630            public int countByN_H(long nodeId, boolean head)
2631                    throws com.liferay.portal.kernel.exception.SystemException;
2632    
2633            /**
2634            * Returns the number of wiki pages where nodeId = &#63; and parentTitle = &#63;.
2635            *
2636            * @param nodeId the node ID
2637            * @param parentTitle the parent title
2638            * @return the number of matching wiki pages
2639            * @throws SystemException if a system exception occurred
2640            */
2641            public int countByN_P(long nodeId, java.lang.String parentTitle)
2642                    throws com.liferay.portal.kernel.exception.SystemException;
2643    
2644            /**
2645            * Returns the number of wiki pages where nodeId = &#63; and redirectTitle = &#63;.
2646            *
2647            * @param nodeId the node ID
2648            * @param redirectTitle the redirect title
2649            * @return the number of matching wiki pages
2650            * @throws SystemException if a system exception occurred
2651            */
2652            public int countByN_R(long nodeId, java.lang.String redirectTitle)
2653                    throws com.liferay.portal.kernel.exception.SystemException;
2654    
2655            /**
2656            * Returns the number of wiki pages where nodeId = &#63; and status = &#63;.
2657            *
2658            * @param nodeId the node ID
2659            * @param status the status
2660            * @return the number of matching wiki pages
2661            * @throws SystemException if a system exception occurred
2662            */
2663            public int countByN_S(long nodeId, int status)
2664                    throws com.liferay.portal.kernel.exception.SystemException;
2665    
2666            /**
2667            * Returns the number of wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and version = &#63;.
2668            *
2669            * @param resourcePrimKey the resource prim key
2670            * @param nodeId the node ID
2671            * @param version the version
2672            * @return the number of matching wiki pages
2673            * @throws SystemException if a system exception occurred
2674            */
2675            public int countByR_N_V(long resourcePrimKey, long nodeId, double version)
2676                    throws com.liferay.portal.kernel.exception.SystemException;
2677    
2678            /**
2679            * Returns the number of wiki pages where resourcePrimKey = &#63; and nodeId = &#63; and status = &#63;.
2680            *
2681            * @param resourcePrimKey the resource prim key
2682            * @param nodeId the node ID
2683            * @param status the status
2684            * @return the number of matching wiki pages
2685            * @throws SystemException if a system exception occurred
2686            */
2687            public int countByR_N_S(long resourcePrimKey, long nodeId, int status)
2688                    throws com.liferay.portal.kernel.exception.SystemException;
2689    
2690            /**
2691            * Returns the number of wiki pages where userId = &#63; and nodeId = &#63; and status = &#63;.
2692            *
2693            * @param userId the user ID
2694            * @param nodeId the node ID
2695            * @param status the status
2696            * @return the number of matching wiki pages
2697            * @throws SystemException if a system exception occurred
2698            */
2699            public int countByU_N_S(long userId, long nodeId, int status)
2700                    throws com.liferay.portal.kernel.exception.SystemException;
2701    
2702            /**
2703            * Returns the number of wiki pages where nodeId = &#63; and title = &#63; and version = &#63;.
2704            *
2705            * @param nodeId the node ID
2706            * @param title the title
2707            * @param version the version
2708            * @return the number of matching wiki pages
2709            * @throws SystemException if a system exception occurred
2710            */
2711            public int countByN_T_V(long nodeId, java.lang.String title, double version)
2712                    throws com.liferay.portal.kernel.exception.SystemException;
2713    
2714            /**
2715            * Returns the number of wiki pages where nodeId = &#63; and title = &#63; and head = &#63;.
2716            *
2717            * @param nodeId the node ID
2718            * @param title the title
2719            * @param head the head
2720            * @return the number of matching wiki pages
2721            * @throws SystemException if a system exception occurred
2722            */
2723            public int countByN_T_H(long nodeId, java.lang.String title, boolean head)
2724                    throws com.liferay.portal.kernel.exception.SystemException;
2725    
2726            /**
2727            * Returns the number of wiki pages where nodeId = &#63; and title = &#63; and status = &#63;.
2728            *
2729            * @param nodeId the node ID
2730            * @param title the title
2731            * @param status the status
2732            * @return the number of matching wiki pages
2733            * @throws SystemException if a system exception occurred
2734            */
2735            public int countByN_T_S(long nodeId, java.lang.String title, int status)
2736                    throws com.liferay.portal.kernel.exception.SystemException;
2737    
2738            /**
2739            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63;.
2740            *
2741            * @param nodeId the node ID
2742            * @param head the head
2743            * @param parentTitle the parent title
2744            * @return the number of matching wiki pages
2745            * @throws SystemException if a system exception occurred
2746            */
2747            public int countByN_H_P(long nodeId, boolean head,
2748                    java.lang.String parentTitle)
2749                    throws com.liferay.portal.kernel.exception.SystemException;
2750    
2751            /**
2752            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and status = &#63;.
2753            *
2754            * @param nodeId the node ID
2755            * @param head the head
2756            * @param status the status
2757            * @return the number of matching wiki pages
2758            * @throws SystemException if a system exception occurred
2759            */
2760            public int countByN_H_S(long nodeId, boolean head, int status)
2761                    throws com.liferay.portal.kernel.exception.SystemException;
2762    
2763            /**
2764            * Returns the number of wiki pages where nodeId = &#63; and head = &#63; and parentTitle = &#63; and status = &#63;.
2765            *
2766            * @param nodeId the node ID
2767            * @param head the head
2768            * @param parentTitle the parent title
2769            * @param status the status
2770            * @return the number of matching wiki pages
2771            * @throws SystemException if a system exception occurred
2772            */
2773            public int countByN_H_P_S(long nodeId, boolean head,
2774                    java.lang.String parentTitle, int status)
2775                    throws com.liferay.portal.kernel.exception.SystemException;
2776    
2777            /**
2778            * Returns the number of wiki pages.
2779            *
2780            * @return the number of wiki pages
2781            * @throws SystemException if a system exception occurred
2782            */
2783            public int countAll()
2784                    throws com.liferay.portal.kernel.exception.SystemException;
2785    }