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