001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.wiki.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.wiki.model.WikiNode;
020    
021    /**
022     * The persistence interface for the wiki node service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see WikiNodePersistenceImpl
030     * @see WikiNodeUtil
031     * @generated
032     */
033    public interface WikiNodePersistence extends BasePersistence<WikiNode> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link WikiNodeUtil} to access the wiki node persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Caches the wiki node in the entity cache if it is enabled.
042            *
043            * @param wikiNode the wiki node
044            */
045            public void cacheResult(com.liferay.portlet.wiki.model.WikiNode wikiNode);
046    
047            /**
048            * Caches the wiki nodes in the entity cache if it is enabled.
049            *
050            * @param wikiNodes the wiki nodes
051            */
052            public void cacheResult(
053                    java.util.List<com.liferay.portlet.wiki.model.WikiNode> wikiNodes);
054    
055            /**
056            * Creates a new wiki node with the primary key. Does not add the wiki node to the database.
057            *
058            * @param nodeId the primary key for the new wiki node
059            * @return the new wiki node
060            */
061            public com.liferay.portlet.wiki.model.WikiNode create(long nodeId);
062    
063            /**
064            * Removes the wiki node with the primary key from the database. Also notifies the appropriate model listeners.
065            *
066            * @param nodeId the primary key of the wiki node
067            * @return the wiki node that was removed
068            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
069            * @throws SystemException if a system exception occurred
070            */
071            public com.liferay.portlet.wiki.model.WikiNode remove(long nodeId)
072                    throws com.liferay.portal.kernel.exception.SystemException,
073                            com.liferay.portlet.wiki.NoSuchNodeException;
074    
075            public com.liferay.portlet.wiki.model.WikiNode updateImpl(
076                    com.liferay.portlet.wiki.model.WikiNode wikiNode)
077                    throws com.liferay.portal.kernel.exception.SystemException;
078    
079            /**
080            * Returns the wiki node with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchNodeException} if it could not be found.
081            *
082            * @param nodeId the primary key of the wiki node
083            * @return the wiki node
084            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
085            * @throws SystemException if a system exception occurred
086            */
087            public com.liferay.portlet.wiki.model.WikiNode findByPrimaryKey(long nodeId)
088                    throws com.liferay.portal.kernel.exception.SystemException,
089                            com.liferay.portlet.wiki.NoSuchNodeException;
090    
091            /**
092            * Returns the wiki node with the primary key or returns <code>null</code> if it could not be found.
093            *
094            * @param nodeId the primary key of the wiki node
095            * @return the wiki node, or <code>null</code> if a wiki node with the primary key could not be found
096            * @throws SystemException if a system exception occurred
097            */
098            public com.liferay.portlet.wiki.model.WikiNode fetchByPrimaryKey(
099                    long nodeId) throws com.liferay.portal.kernel.exception.SystemException;
100    
101            /**
102            * Returns all the wiki nodes where uuid = &#63;.
103            *
104            * @param uuid the uuid
105            * @return the matching wiki nodes
106            * @throws SystemException if a system exception occurred
107            */
108            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
109                    java.lang.String uuid)
110                    throws com.liferay.portal.kernel.exception.SystemException;
111    
112            /**
113            * Returns a range of all the wiki nodes where uuid = &#63;.
114            *
115            * <p>
116            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
117            * </p>
118            *
119            * @param uuid the uuid
120            * @param start the lower bound of the range of wiki nodes
121            * @param end the upper bound of the range of wiki nodes (not inclusive)
122            * @return the range of matching wiki nodes
123            * @throws SystemException if a system exception occurred
124            */
125            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
126                    java.lang.String uuid, int start, int end)
127                    throws com.liferay.portal.kernel.exception.SystemException;
128    
129            /**
130            * Returns an ordered range of all the wiki nodes where uuid = &#63;.
131            *
132            * <p>
133            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
134            * </p>
135            *
136            * @param uuid the uuid
137            * @param start the lower bound of the range of wiki nodes
138            * @param end the upper bound of the range of wiki nodes (not inclusive)
139            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
140            * @return the ordered range of matching wiki nodes
141            * @throws SystemException if a system exception occurred
142            */
143            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
144                    java.lang.String uuid, int start, int end,
145                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146                    throws com.liferay.portal.kernel.exception.SystemException;
147    
148            /**
149            * Returns the first wiki node in the ordered set where uuid = &#63;.
150            *
151            * @param uuid the uuid
152            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
153            * @return the first matching wiki node
154            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
155            * @throws SystemException if a system exception occurred
156            */
157            public com.liferay.portlet.wiki.model.WikiNode findByUuid_First(
158                    java.lang.String uuid,
159                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160                    throws com.liferay.portal.kernel.exception.SystemException,
161                            com.liferay.portlet.wiki.NoSuchNodeException;
162    
163            /**
164            * Returns the first wiki node in the ordered set where uuid = &#63;.
165            *
166            * @param uuid the uuid
167            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
168            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
169            * @throws SystemException if a system exception occurred
170            */
171            public com.liferay.portlet.wiki.model.WikiNode fetchByUuid_First(
172                    java.lang.String uuid,
173                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
174                    throws com.liferay.portal.kernel.exception.SystemException;
175    
176            /**
177            * Returns the last wiki node in the ordered set where uuid = &#63;.
178            *
179            * @param uuid the uuid
180            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
181            * @return the last matching wiki node
182            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
183            * @throws SystemException if a system exception occurred
184            */
185            public com.liferay.portlet.wiki.model.WikiNode findByUuid_Last(
186                    java.lang.String uuid,
187                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
188                    throws com.liferay.portal.kernel.exception.SystemException,
189                            com.liferay.portlet.wiki.NoSuchNodeException;
190    
191            /**
192            * Returns the last wiki node in the ordered set where uuid = &#63;.
193            *
194            * @param uuid the uuid
195            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
196            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
197            * @throws SystemException if a system exception occurred
198            */
199            public com.liferay.portlet.wiki.model.WikiNode fetchByUuid_Last(
200                    java.lang.String uuid,
201                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
202                    throws com.liferay.portal.kernel.exception.SystemException;
203    
204            /**
205            * Returns the wiki nodes before and after the current wiki node in the ordered set where uuid = &#63;.
206            *
207            * @param nodeId the primary key of the current wiki node
208            * @param uuid the uuid
209            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
210            * @return the previous, current, and next wiki node
211            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
212            * @throws SystemException if a system exception occurred
213            */
214            public com.liferay.portlet.wiki.model.WikiNode[] findByUuid_PrevAndNext(
215                    long nodeId, java.lang.String uuid,
216                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
217                    throws com.liferay.portal.kernel.exception.SystemException,
218                            com.liferay.portlet.wiki.NoSuchNodeException;
219    
220            /**
221            * Returns the wiki node where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.wiki.NoSuchNodeException} if it could not be found.
222            *
223            * @param uuid the uuid
224            * @param groupId the group ID
225            * @return the matching wiki node
226            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
227            * @throws SystemException if a system exception occurred
228            */
229            public com.liferay.portlet.wiki.model.WikiNode findByUUID_G(
230                    java.lang.String uuid, long groupId)
231                    throws com.liferay.portal.kernel.exception.SystemException,
232                            com.liferay.portlet.wiki.NoSuchNodeException;
233    
234            /**
235            * Returns the wiki node where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
236            *
237            * @param uuid the uuid
238            * @param groupId the group ID
239            * @return the matching wiki node, or <code>null</code> if a matching wiki node could not be found
240            * @throws SystemException if a system exception occurred
241            */
242            public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
243                    java.lang.String uuid, long groupId)
244                    throws com.liferay.portal.kernel.exception.SystemException;
245    
246            /**
247            * Returns the wiki node where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
248            *
249            * @param uuid the uuid
250            * @param groupId the group ID
251            * @param retrieveFromCache whether to use the finder cache
252            * @return the matching wiki node, or <code>null</code> if a matching wiki node could not be found
253            * @throws SystemException if a system exception occurred
254            */
255            public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
256                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
257                    throws com.liferay.portal.kernel.exception.SystemException;
258    
259            /**
260            * Returns all the wiki nodes where uuid = &#63; and companyId = &#63;.
261            *
262            * @param uuid the uuid
263            * @param companyId the company ID
264            * @return the matching wiki nodes
265            * @throws SystemException if a system exception occurred
266            */
267            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid_C(
268                    java.lang.String uuid, long companyId)
269                    throws com.liferay.portal.kernel.exception.SystemException;
270    
271            /**
272            * Returns a range of all the wiki nodes where uuid = &#63; and companyId = &#63;.
273            *
274            * <p>
275            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
276            * </p>
277            *
278            * @param uuid the uuid
279            * @param companyId the company ID
280            * @param start the lower bound of the range of wiki nodes
281            * @param end the upper bound of the range of wiki nodes (not inclusive)
282            * @return the range of matching wiki nodes
283            * @throws SystemException if a system exception occurred
284            */
285            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid_C(
286                    java.lang.String uuid, long companyId, int start, int end)
287                    throws com.liferay.portal.kernel.exception.SystemException;
288    
289            /**
290            * Returns an ordered range of all the wiki nodes where uuid = &#63; and companyId = &#63;.
291            *
292            * <p>
293            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
294            * </p>
295            *
296            * @param uuid the uuid
297            * @param companyId the company ID
298            * @param start the lower bound of the range of wiki nodes
299            * @param end the upper bound of the range of wiki nodes (not inclusive)
300            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
301            * @return the ordered range of matching wiki nodes
302            * @throws SystemException if a system exception occurred
303            */
304            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid_C(
305                    java.lang.String uuid, long companyId, int start, int end,
306                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
307                    throws com.liferay.portal.kernel.exception.SystemException;
308    
309            /**
310            * Returns the first wiki node in the ordered set where uuid = &#63; and companyId = &#63;.
311            *
312            * @param uuid the uuid
313            * @param companyId the company ID
314            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
315            * @return the first matching wiki node
316            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
317            * @throws SystemException if a system exception occurred
318            */
319            public com.liferay.portlet.wiki.model.WikiNode findByUuid_C_First(
320                    java.lang.String uuid, long companyId,
321                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
322                    throws com.liferay.portal.kernel.exception.SystemException,
323                            com.liferay.portlet.wiki.NoSuchNodeException;
324    
325            /**
326            * Returns the first wiki node in the ordered set where uuid = &#63; and companyId = &#63;.
327            *
328            * @param uuid the uuid
329            * @param companyId the company ID
330            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
331            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
332            * @throws SystemException if a system exception occurred
333            */
334            public com.liferay.portlet.wiki.model.WikiNode fetchByUuid_C_First(
335                    java.lang.String uuid, long companyId,
336                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
337                    throws com.liferay.portal.kernel.exception.SystemException;
338    
339            /**
340            * Returns the last wiki node in the ordered set where uuid = &#63; and companyId = &#63;.
341            *
342            * @param uuid the uuid
343            * @param companyId the company ID
344            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
345            * @return the last matching wiki node
346            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
347            * @throws SystemException if a system exception occurred
348            */
349            public com.liferay.portlet.wiki.model.WikiNode findByUuid_C_Last(
350                    java.lang.String uuid, long companyId,
351                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
352                    throws com.liferay.portal.kernel.exception.SystemException,
353                            com.liferay.portlet.wiki.NoSuchNodeException;
354    
355            /**
356            * Returns the last wiki node in the ordered set where uuid = &#63; and companyId = &#63;.
357            *
358            * @param uuid the uuid
359            * @param companyId the company ID
360            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
361            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
362            * @throws SystemException if a system exception occurred
363            */
364            public com.liferay.portlet.wiki.model.WikiNode fetchByUuid_C_Last(
365                    java.lang.String uuid, long companyId,
366                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
367                    throws com.liferay.portal.kernel.exception.SystemException;
368    
369            /**
370            * Returns the wiki nodes before and after the current wiki node in the ordered set where uuid = &#63; and companyId = &#63;.
371            *
372            * @param nodeId the primary key of the current wiki node
373            * @param uuid the uuid
374            * @param companyId the company ID
375            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
376            * @return the previous, current, and next wiki node
377            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
378            * @throws SystemException if a system exception occurred
379            */
380            public com.liferay.portlet.wiki.model.WikiNode[] findByUuid_C_PrevAndNext(
381                    long nodeId, java.lang.String uuid, long companyId,
382                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
383                    throws com.liferay.portal.kernel.exception.SystemException,
384                            com.liferay.portlet.wiki.NoSuchNodeException;
385    
386            /**
387            * Returns all the wiki nodes where groupId = &#63;.
388            *
389            * @param groupId the group ID
390            * @return the matching wiki nodes
391            * @throws SystemException if a system exception occurred
392            */
393            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
394                    long groupId)
395                    throws com.liferay.portal.kernel.exception.SystemException;
396    
397            /**
398            * Returns a range of all the wiki nodes where groupId = &#63;.
399            *
400            * <p>
401            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
402            * </p>
403            *
404            * @param groupId the group ID
405            * @param start the lower bound of the range of wiki nodes
406            * @param end the upper bound of the range of wiki nodes (not inclusive)
407            * @return the range of matching wiki nodes
408            * @throws SystemException if a system exception occurred
409            */
410            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
411                    long groupId, int start, int end)
412                    throws com.liferay.portal.kernel.exception.SystemException;
413    
414            /**
415            * Returns an ordered range of all the wiki nodes where groupId = &#63;.
416            *
417            * <p>
418            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
419            * </p>
420            *
421            * @param groupId the group ID
422            * @param start the lower bound of the range of wiki nodes
423            * @param end the upper bound of the range of wiki nodes (not inclusive)
424            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
425            * @return the ordered range of matching wiki nodes
426            * @throws SystemException if a system exception occurred
427            */
428            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
429                    long groupId, int start, int end,
430                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
431                    throws com.liferay.portal.kernel.exception.SystemException;
432    
433            /**
434            * Returns the first wiki node in the ordered set where groupId = &#63;.
435            *
436            * @param groupId the group ID
437            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
438            * @return the first matching wiki node
439            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
440            * @throws SystemException if a system exception occurred
441            */
442            public com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(
443                    long groupId,
444                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
445                    throws com.liferay.portal.kernel.exception.SystemException,
446                            com.liferay.portlet.wiki.NoSuchNodeException;
447    
448            /**
449            * Returns the first wiki node in the ordered set where groupId = &#63;.
450            *
451            * @param groupId the group ID
452            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
453            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
454            * @throws SystemException if a system exception occurred
455            */
456            public com.liferay.portlet.wiki.model.WikiNode fetchByGroupId_First(
457                    long groupId,
458                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
459                    throws com.liferay.portal.kernel.exception.SystemException;
460    
461            /**
462            * Returns the last wiki node in the ordered set where groupId = &#63;.
463            *
464            * @param groupId the group ID
465            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
466            * @return the last matching wiki node
467            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
468            * @throws SystemException if a system exception occurred
469            */
470            public com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(
471                    long groupId,
472                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
473                    throws com.liferay.portal.kernel.exception.SystemException,
474                            com.liferay.portlet.wiki.NoSuchNodeException;
475    
476            /**
477            * Returns the last wiki node in the ordered set where groupId = &#63;.
478            *
479            * @param groupId the group ID
480            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
481            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
482            * @throws SystemException if a system exception occurred
483            */
484            public com.liferay.portlet.wiki.model.WikiNode fetchByGroupId_Last(
485                    long groupId,
486                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
487                    throws com.liferay.portal.kernel.exception.SystemException;
488    
489            /**
490            * Returns the wiki nodes before and after the current wiki node in the ordered set where groupId = &#63;.
491            *
492            * @param nodeId the primary key of the current wiki node
493            * @param groupId the group ID
494            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
495            * @return the previous, current, and next wiki node
496            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
497            * @throws SystemException if a system exception occurred
498            */
499            public com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(
500                    long nodeId, long groupId,
501                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
502                    throws com.liferay.portal.kernel.exception.SystemException,
503                            com.liferay.portlet.wiki.NoSuchNodeException;
504    
505            /**
506            * Returns all the wiki nodes that the user has permission to view where groupId = &#63;.
507            *
508            * @param groupId the group ID
509            * @return the matching wiki nodes that the user has permission to view
510            * @throws SystemException if a system exception occurred
511            */
512            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
513                    long groupId)
514                    throws com.liferay.portal.kernel.exception.SystemException;
515    
516            /**
517            * Returns a range of all the wiki nodes that the user has permission to view where groupId = &#63;.
518            *
519            * <p>
520            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
521            * </p>
522            *
523            * @param groupId the group ID
524            * @param start the lower bound of the range of wiki nodes
525            * @param end the upper bound of the range of wiki nodes (not inclusive)
526            * @return the range of matching wiki nodes that the user has permission to view
527            * @throws SystemException if a system exception occurred
528            */
529            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
530                    long groupId, int start, int end)
531                    throws com.liferay.portal.kernel.exception.SystemException;
532    
533            /**
534            * Returns an ordered range of all the wiki nodes that the user has permissions to view where groupId = &#63;.
535            *
536            * <p>
537            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
538            * </p>
539            *
540            * @param groupId the group ID
541            * @param start the lower bound of the range of wiki nodes
542            * @param end the upper bound of the range of wiki nodes (not inclusive)
543            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
544            * @return the ordered range of matching wiki nodes that the user has permission to view
545            * @throws SystemException if a system exception occurred
546            */
547            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
548                    long groupId, int start, int end,
549                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
550                    throws com.liferay.portal.kernel.exception.SystemException;
551    
552            /**
553            * Returns the wiki nodes before and after the current wiki node in the ordered set of wiki nodes that the user has permission to view where groupId = &#63;.
554            *
555            * @param nodeId the primary key of the current wiki node
556            * @param groupId the group ID
557            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
558            * @return the previous, current, and next wiki node
559            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
560            * @throws SystemException if a system exception occurred
561            */
562            public com.liferay.portlet.wiki.model.WikiNode[] filterFindByGroupId_PrevAndNext(
563                    long nodeId, long groupId,
564                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
565                    throws com.liferay.portal.kernel.exception.SystemException,
566                            com.liferay.portlet.wiki.NoSuchNodeException;
567    
568            /**
569            * Returns all the wiki nodes where companyId = &#63;.
570            *
571            * @param companyId the company ID
572            * @return the matching wiki nodes
573            * @throws SystemException if a system exception occurred
574            */
575            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
576                    long companyId)
577                    throws com.liferay.portal.kernel.exception.SystemException;
578    
579            /**
580            * Returns a range of all the wiki nodes where companyId = &#63;.
581            *
582            * <p>
583            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
584            * </p>
585            *
586            * @param companyId the company ID
587            * @param start the lower bound of the range of wiki nodes
588            * @param end the upper bound of the range of wiki nodes (not inclusive)
589            * @return the range of matching wiki nodes
590            * @throws SystemException if a system exception occurred
591            */
592            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
593                    long companyId, int start, int end)
594                    throws com.liferay.portal.kernel.exception.SystemException;
595    
596            /**
597            * Returns an ordered range of all the wiki nodes where companyId = &#63;.
598            *
599            * <p>
600            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
601            * </p>
602            *
603            * @param companyId the company ID
604            * @param start the lower bound of the range of wiki nodes
605            * @param end the upper bound of the range of wiki nodes (not inclusive)
606            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
607            * @return the ordered range of matching wiki nodes
608            * @throws SystemException if a system exception occurred
609            */
610            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
611                    long companyId, int start, int end,
612                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
613                    throws com.liferay.portal.kernel.exception.SystemException;
614    
615            /**
616            * Returns the first wiki node in the ordered set where companyId = &#63;.
617            *
618            * @param companyId the company ID
619            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
620            * @return the first matching wiki node
621            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
622            * @throws SystemException if a system exception occurred
623            */
624            public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(
625                    long companyId,
626                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
627                    throws com.liferay.portal.kernel.exception.SystemException,
628                            com.liferay.portlet.wiki.NoSuchNodeException;
629    
630            /**
631            * Returns the first wiki node in the ordered set where companyId = &#63;.
632            *
633            * @param companyId the company ID
634            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
635            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
636            * @throws SystemException if a system exception occurred
637            */
638            public com.liferay.portlet.wiki.model.WikiNode fetchByCompanyId_First(
639                    long companyId,
640                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
641                    throws com.liferay.portal.kernel.exception.SystemException;
642    
643            /**
644            * Returns the last wiki node in the ordered set where companyId = &#63;.
645            *
646            * @param companyId the company ID
647            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
648            * @return the last matching wiki node
649            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
650            * @throws SystemException if a system exception occurred
651            */
652            public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(
653                    long companyId,
654                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
655                    throws com.liferay.portal.kernel.exception.SystemException,
656                            com.liferay.portlet.wiki.NoSuchNodeException;
657    
658            /**
659            * Returns the last wiki node in the ordered set where companyId = &#63;.
660            *
661            * @param companyId the company ID
662            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
663            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
664            * @throws SystemException if a system exception occurred
665            */
666            public com.liferay.portlet.wiki.model.WikiNode fetchByCompanyId_Last(
667                    long companyId,
668                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
669                    throws com.liferay.portal.kernel.exception.SystemException;
670    
671            /**
672            * Returns the wiki nodes before and after the current wiki node in the ordered set where companyId = &#63;.
673            *
674            * @param nodeId the primary key of the current wiki node
675            * @param companyId the company ID
676            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
677            * @return the previous, current, and next wiki node
678            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
679            * @throws SystemException if a system exception occurred
680            */
681            public com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(
682                    long nodeId, long companyId,
683                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
684                    throws com.liferay.portal.kernel.exception.SystemException,
685                            com.liferay.portlet.wiki.NoSuchNodeException;
686    
687            /**
688            * Returns the wiki node where groupId = &#63; and name = &#63; or throws a {@link com.liferay.portlet.wiki.NoSuchNodeException} if it could not be found.
689            *
690            * @param groupId the group ID
691            * @param name the name
692            * @return the matching wiki node
693            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
694            * @throws SystemException if a system exception occurred
695            */
696            public com.liferay.portlet.wiki.model.WikiNode findByG_N(long groupId,
697                    java.lang.String name)
698                    throws com.liferay.portal.kernel.exception.SystemException,
699                            com.liferay.portlet.wiki.NoSuchNodeException;
700    
701            /**
702            * Returns the wiki node where groupId = &#63; and name = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
703            *
704            * @param groupId the group ID
705            * @param name the name
706            * @return the matching wiki node, or <code>null</code> if a matching wiki node could not be found
707            * @throws SystemException if a system exception occurred
708            */
709            public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
710                    java.lang.String name)
711                    throws com.liferay.portal.kernel.exception.SystemException;
712    
713            /**
714            * Returns the wiki node where groupId = &#63; and name = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
715            *
716            * @param groupId the group ID
717            * @param name the name
718            * @param retrieveFromCache whether to use the finder cache
719            * @return the matching wiki node, or <code>null</code> if a matching wiki node could not be found
720            * @throws SystemException if a system exception occurred
721            */
722            public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
723                    java.lang.String name, boolean retrieveFromCache)
724                    throws com.liferay.portal.kernel.exception.SystemException;
725    
726            /**
727            * Returns all the wiki nodes where groupId = &#63; and status = &#63;.
728            *
729            * @param groupId the group ID
730            * @param status the status
731            * @return the matching wiki nodes
732            * @throws SystemException if a system exception occurred
733            */
734            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByG_S(
735                    long groupId, int status)
736                    throws com.liferay.portal.kernel.exception.SystemException;
737    
738            /**
739            * Returns a range of all the wiki nodes where groupId = &#63; and status = &#63;.
740            *
741            * <p>
742            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
743            * </p>
744            *
745            * @param groupId the group ID
746            * @param status the status
747            * @param start the lower bound of the range of wiki nodes
748            * @param end the upper bound of the range of wiki nodes (not inclusive)
749            * @return the range of matching wiki nodes
750            * @throws SystemException if a system exception occurred
751            */
752            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByG_S(
753                    long groupId, int status, int start, int end)
754                    throws com.liferay.portal.kernel.exception.SystemException;
755    
756            /**
757            * Returns an ordered range of all the wiki nodes where groupId = &#63; and status = &#63;.
758            *
759            * <p>
760            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
761            * </p>
762            *
763            * @param groupId the group ID
764            * @param status the status
765            * @param start the lower bound of the range of wiki nodes
766            * @param end the upper bound of the range of wiki nodes (not inclusive)
767            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
768            * @return the ordered range of matching wiki nodes
769            * @throws SystemException if a system exception occurred
770            */
771            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByG_S(
772                    long groupId, int status, int start, int end,
773                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
774                    throws com.liferay.portal.kernel.exception.SystemException;
775    
776            /**
777            * Returns the first wiki node in the ordered set where groupId = &#63; and status = &#63;.
778            *
779            * @param groupId the group ID
780            * @param status the status
781            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
782            * @return the first matching wiki node
783            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
784            * @throws SystemException if a system exception occurred
785            */
786            public com.liferay.portlet.wiki.model.WikiNode findByG_S_First(
787                    long groupId, int status,
788                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
789                    throws com.liferay.portal.kernel.exception.SystemException,
790                            com.liferay.portlet.wiki.NoSuchNodeException;
791    
792            /**
793            * Returns the first wiki node in the ordered set where groupId = &#63; and status = &#63;.
794            *
795            * @param groupId the group ID
796            * @param status the status
797            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
798            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
799            * @throws SystemException if a system exception occurred
800            */
801            public com.liferay.portlet.wiki.model.WikiNode fetchByG_S_First(
802                    long groupId, int status,
803                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
804                    throws com.liferay.portal.kernel.exception.SystemException;
805    
806            /**
807            * Returns the last wiki node in the ordered set where groupId = &#63; and status = &#63;.
808            *
809            * @param groupId the group ID
810            * @param status the status
811            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
812            * @return the last matching wiki node
813            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
814            * @throws SystemException if a system exception occurred
815            */
816            public com.liferay.portlet.wiki.model.WikiNode findByG_S_Last(
817                    long groupId, int status,
818                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
819                    throws com.liferay.portal.kernel.exception.SystemException,
820                            com.liferay.portlet.wiki.NoSuchNodeException;
821    
822            /**
823            * Returns the last wiki node in the ordered set where groupId = &#63; and status = &#63;.
824            *
825            * @param groupId the group ID
826            * @param status the status
827            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
828            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
829            * @throws SystemException if a system exception occurred
830            */
831            public com.liferay.portlet.wiki.model.WikiNode fetchByG_S_Last(
832                    long groupId, int status,
833                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
834                    throws com.liferay.portal.kernel.exception.SystemException;
835    
836            /**
837            * Returns the wiki nodes before and after the current wiki node in the ordered set where groupId = &#63; and status = &#63;.
838            *
839            * @param nodeId the primary key of the current wiki node
840            * @param groupId the group ID
841            * @param status the status
842            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
843            * @return the previous, current, and next wiki node
844            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
845            * @throws SystemException if a system exception occurred
846            */
847            public com.liferay.portlet.wiki.model.WikiNode[] findByG_S_PrevAndNext(
848                    long nodeId, long groupId, int status,
849                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
850                    throws com.liferay.portal.kernel.exception.SystemException,
851                            com.liferay.portlet.wiki.NoSuchNodeException;
852    
853            /**
854            * Returns all the wiki nodes that the user has permission to view where groupId = &#63; and status = &#63;.
855            *
856            * @param groupId the group ID
857            * @param status the status
858            * @return the matching wiki nodes that the user has permission to view
859            * @throws SystemException if a system exception occurred
860            */
861            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByG_S(
862                    long groupId, int status)
863                    throws com.liferay.portal.kernel.exception.SystemException;
864    
865            /**
866            * Returns a range of all the wiki nodes that the user has permission to view where groupId = &#63; and status = &#63;.
867            *
868            * <p>
869            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
870            * </p>
871            *
872            * @param groupId the group ID
873            * @param status the status
874            * @param start the lower bound of the range of wiki nodes
875            * @param end the upper bound of the range of wiki nodes (not inclusive)
876            * @return the range of matching wiki nodes that the user has permission to view
877            * @throws SystemException if a system exception occurred
878            */
879            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByG_S(
880                    long groupId, int status, int start, int end)
881                    throws com.liferay.portal.kernel.exception.SystemException;
882    
883            /**
884            * Returns an ordered range of all the wiki nodes that the user has permissions to view where groupId = &#63; and status = &#63;.
885            *
886            * <p>
887            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
888            * </p>
889            *
890            * @param groupId the group ID
891            * @param status the status
892            * @param start the lower bound of the range of wiki nodes
893            * @param end the upper bound of the range of wiki nodes (not inclusive)
894            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
895            * @return the ordered range of matching wiki nodes that the user has permission to view
896            * @throws SystemException if a system exception occurred
897            */
898            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByG_S(
899                    long groupId, int status, int start, int end,
900                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
901                    throws com.liferay.portal.kernel.exception.SystemException;
902    
903            /**
904            * Returns the wiki nodes before and after the current wiki node in the ordered set of wiki nodes that the user has permission to view where groupId = &#63; and status = &#63;.
905            *
906            * @param nodeId the primary key of the current wiki node
907            * @param groupId the group ID
908            * @param status the status
909            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
910            * @return the previous, current, and next wiki node
911            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
912            * @throws SystemException if a system exception occurred
913            */
914            public com.liferay.portlet.wiki.model.WikiNode[] filterFindByG_S_PrevAndNext(
915                    long nodeId, long groupId, int status,
916                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
917                    throws com.liferay.portal.kernel.exception.SystemException,
918                            com.liferay.portlet.wiki.NoSuchNodeException;
919    
920            /**
921            * Returns all the wiki nodes where companyId = &#63; and status = &#63;.
922            *
923            * @param companyId the company ID
924            * @param status the status
925            * @return the matching wiki nodes
926            * @throws SystemException if a system exception occurred
927            */
928            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByC_S(
929                    long companyId, int status)
930                    throws com.liferay.portal.kernel.exception.SystemException;
931    
932            /**
933            * Returns a range of all the wiki nodes where companyId = &#63; and status = &#63;.
934            *
935            * <p>
936            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
937            * </p>
938            *
939            * @param companyId the company ID
940            * @param status the status
941            * @param start the lower bound of the range of wiki nodes
942            * @param end the upper bound of the range of wiki nodes (not inclusive)
943            * @return the range of matching wiki nodes
944            * @throws SystemException if a system exception occurred
945            */
946            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByC_S(
947                    long companyId, int status, int start, int end)
948                    throws com.liferay.portal.kernel.exception.SystemException;
949    
950            /**
951            * Returns an ordered range of all the wiki nodes where companyId = &#63; and status = &#63;.
952            *
953            * <p>
954            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
955            * </p>
956            *
957            * @param companyId the company ID
958            * @param status the status
959            * @param start the lower bound of the range of wiki nodes
960            * @param end the upper bound of the range of wiki nodes (not inclusive)
961            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
962            * @return the ordered range of matching wiki nodes
963            * @throws SystemException if a system exception occurred
964            */
965            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByC_S(
966                    long companyId, int status, int start, int end,
967                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
968                    throws com.liferay.portal.kernel.exception.SystemException;
969    
970            /**
971            * Returns the first wiki node in the ordered set where companyId = &#63; and status = &#63;.
972            *
973            * @param companyId the company ID
974            * @param status the status
975            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
976            * @return the first matching wiki node
977            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
978            * @throws SystemException if a system exception occurred
979            */
980            public com.liferay.portlet.wiki.model.WikiNode findByC_S_First(
981                    long companyId, int status,
982                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
983                    throws com.liferay.portal.kernel.exception.SystemException,
984                            com.liferay.portlet.wiki.NoSuchNodeException;
985    
986            /**
987            * Returns the first wiki node in the ordered set where companyId = &#63; and status = &#63;.
988            *
989            * @param companyId the company ID
990            * @param status the status
991            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
992            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
993            * @throws SystemException if a system exception occurred
994            */
995            public com.liferay.portlet.wiki.model.WikiNode fetchByC_S_First(
996                    long companyId, int status,
997                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
998                    throws com.liferay.portal.kernel.exception.SystemException;
999    
1000            /**
1001            * Returns the last wiki node in the ordered set where companyId = &#63; and status = &#63;.
1002            *
1003            * @param companyId the company ID
1004            * @param status the status
1005            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1006            * @return the last matching wiki node
1007            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
1008            * @throws SystemException if a system exception occurred
1009            */
1010            public com.liferay.portlet.wiki.model.WikiNode findByC_S_Last(
1011                    long companyId, int status,
1012                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1013                    throws com.liferay.portal.kernel.exception.SystemException,
1014                            com.liferay.portlet.wiki.NoSuchNodeException;
1015    
1016            /**
1017            * Returns the last wiki node in the ordered set where companyId = &#63; and status = &#63;.
1018            *
1019            * @param companyId the company ID
1020            * @param status the status
1021            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1022            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
1023            * @throws SystemException if a system exception occurred
1024            */
1025            public com.liferay.portlet.wiki.model.WikiNode fetchByC_S_Last(
1026                    long companyId, int status,
1027                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1028                    throws com.liferay.portal.kernel.exception.SystemException;
1029    
1030            /**
1031            * Returns the wiki nodes before and after the current wiki node in the ordered set where companyId = &#63; and status = &#63;.
1032            *
1033            * @param nodeId the primary key of the current wiki node
1034            * @param companyId the company ID
1035            * @param status the status
1036            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1037            * @return the previous, current, and next wiki node
1038            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
1039            * @throws SystemException if a system exception occurred
1040            */
1041            public com.liferay.portlet.wiki.model.WikiNode[] findByC_S_PrevAndNext(
1042                    long nodeId, long companyId, int status,
1043                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1044                    throws com.liferay.portal.kernel.exception.SystemException,
1045                            com.liferay.portlet.wiki.NoSuchNodeException;
1046    
1047            /**
1048            * Returns all the wiki nodes.
1049            *
1050            * @return the wiki nodes
1051            * @throws SystemException if a system exception occurred
1052            */
1053            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll()
1054                    throws com.liferay.portal.kernel.exception.SystemException;
1055    
1056            /**
1057            * Returns a range of all the wiki nodes.
1058            *
1059            * <p>
1060            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1061            * </p>
1062            *
1063            * @param start the lower bound of the range of wiki nodes
1064            * @param end the upper bound of the range of wiki nodes (not inclusive)
1065            * @return the range of wiki nodes
1066            * @throws SystemException if a system exception occurred
1067            */
1068            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
1069                    int start, int end)
1070                    throws com.liferay.portal.kernel.exception.SystemException;
1071    
1072            /**
1073            * Returns an ordered range of all the wiki nodes.
1074            *
1075            * <p>
1076            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1077            * </p>
1078            *
1079            * @param start the lower bound of the range of wiki nodes
1080            * @param end the upper bound of the range of wiki nodes (not inclusive)
1081            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1082            * @return the ordered range of wiki nodes
1083            * @throws SystemException if a system exception occurred
1084            */
1085            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
1086                    int start, int end,
1087                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1088                    throws com.liferay.portal.kernel.exception.SystemException;
1089    
1090            /**
1091            * Removes all the wiki nodes where uuid = &#63; from the database.
1092            *
1093            * @param uuid the uuid
1094            * @throws SystemException if a system exception occurred
1095            */
1096            public void removeByUuid(java.lang.String uuid)
1097                    throws com.liferay.portal.kernel.exception.SystemException;
1098    
1099            /**
1100            * Removes the wiki node where uuid = &#63; and groupId = &#63; from the database.
1101            *
1102            * @param uuid the uuid
1103            * @param groupId the group ID
1104            * @return the wiki node that was removed
1105            * @throws SystemException if a system exception occurred
1106            */
1107            public com.liferay.portlet.wiki.model.WikiNode removeByUUID_G(
1108                    java.lang.String uuid, long groupId)
1109                    throws com.liferay.portal.kernel.exception.SystemException,
1110                            com.liferay.portlet.wiki.NoSuchNodeException;
1111    
1112            /**
1113            * Removes all the wiki nodes where uuid = &#63; and companyId = &#63; from the database.
1114            *
1115            * @param uuid the uuid
1116            * @param companyId the company ID
1117            * @throws SystemException if a system exception occurred
1118            */
1119            public void removeByUuid_C(java.lang.String uuid, long companyId)
1120                    throws com.liferay.portal.kernel.exception.SystemException;
1121    
1122            /**
1123            * Removes all the wiki nodes where groupId = &#63; from the database.
1124            *
1125            * @param groupId the group ID
1126            * @throws SystemException if a system exception occurred
1127            */
1128            public void removeByGroupId(long groupId)
1129                    throws com.liferay.portal.kernel.exception.SystemException;
1130    
1131            /**
1132            * Removes all the wiki nodes where companyId = &#63; from the database.
1133            *
1134            * @param companyId the company ID
1135            * @throws SystemException if a system exception occurred
1136            */
1137            public void removeByCompanyId(long companyId)
1138                    throws com.liferay.portal.kernel.exception.SystemException;
1139    
1140            /**
1141            * Removes the wiki node where groupId = &#63; and name = &#63; from the database.
1142            *
1143            * @param groupId the group ID
1144            * @param name the name
1145            * @return the wiki node that was removed
1146            * @throws SystemException if a system exception occurred
1147            */
1148            public com.liferay.portlet.wiki.model.WikiNode removeByG_N(long groupId,
1149                    java.lang.String name)
1150                    throws com.liferay.portal.kernel.exception.SystemException,
1151                            com.liferay.portlet.wiki.NoSuchNodeException;
1152    
1153            /**
1154            * Removes all the wiki nodes where groupId = &#63; and status = &#63; from the database.
1155            *
1156            * @param groupId the group ID
1157            * @param status the status
1158            * @throws SystemException if a system exception occurred
1159            */
1160            public void removeByG_S(long groupId, int status)
1161                    throws com.liferay.portal.kernel.exception.SystemException;
1162    
1163            /**
1164            * Removes all the wiki nodes where companyId = &#63; and status = &#63; from the database.
1165            *
1166            * @param companyId the company ID
1167            * @param status the status
1168            * @throws SystemException if a system exception occurred
1169            */
1170            public void removeByC_S(long companyId, int status)
1171                    throws com.liferay.portal.kernel.exception.SystemException;
1172    
1173            /**
1174            * Removes all the wiki nodes from the database.
1175            *
1176            * @throws SystemException if a system exception occurred
1177            */
1178            public void removeAll()
1179                    throws com.liferay.portal.kernel.exception.SystemException;
1180    
1181            /**
1182            * Returns the number of wiki nodes where uuid = &#63;.
1183            *
1184            * @param uuid the uuid
1185            * @return the number of matching wiki nodes
1186            * @throws SystemException if a system exception occurred
1187            */
1188            public int countByUuid(java.lang.String uuid)
1189                    throws com.liferay.portal.kernel.exception.SystemException;
1190    
1191            /**
1192            * Returns the number of wiki nodes where uuid = &#63; and groupId = &#63;.
1193            *
1194            * @param uuid the uuid
1195            * @param groupId the group ID
1196            * @return the number of matching wiki nodes
1197            * @throws SystemException if a system exception occurred
1198            */
1199            public int countByUUID_G(java.lang.String uuid, long groupId)
1200                    throws com.liferay.portal.kernel.exception.SystemException;
1201    
1202            /**
1203            * Returns the number of wiki nodes where uuid = &#63; and companyId = &#63;.
1204            *
1205            * @param uuid the uuid
1206            * @param companyId the company ID
1207            * @return the number of matching wiki nodes
1208            * @throws SystemException if a system exception occurred
1209            */
1210            public int countByUuid_C(java.lang.String uuid, long companyId)
1211                    throws com.liferay.portal.kernel.exception.SystemException;
1212    
1213            /**
1214            * Returns the number of wiki nodes where groupId = &#63;.
1215            *
1216            * @param groupId the group ID
1217            * @return the number of matching wiki nodes
1218            * @throws SystemException if a system exception occurred
1219            */
1220            public int countByGroupId(long groupId)
1221                    throws com.liferay.portal.kernel.exception.SystemException;
1222    
1223            /**
1224            * Returns the number of wiki nodes that the user has permission to view where groupId = &#63;.
1225            *
1226            * @param groupId the group ID
1227            * @return the number of matching wiki nodes that the user has permission to view
1228            * @throws SystemException if a system exception occurred
1229            */
1230            public int filterCountByGroupId(long groupId)
1231                    throws com.liferay.portal.kernel.exception.SystemException;
1232    
1233            /**
1234            * Returns the number of wiki nodes where companyId = &#63;.
1235            *
1236            * @param companyId the company ID
1237            * @return the number of matching wiki nodes
1238            * @throws SystemException if a system exception occurred
1239            */
1240            public int countByCompanyId(long companyId)
1241                    throws com.liferay.portal.kernel.exception.SystemException;
1242    
1243            /**
1244            * Returns the number of wiki nodes where groupId = &#63; and name = &#63;.
1245            *
1246            * @param groupId the group ID
1247            * @param name the name
1248            * @return the number of matching wiki nodes
1249            * @throws SystemException if a system exception occurred
1250            */
1251            public int countByG_N(long groupId, java.lang.String name)
1252                    throws com.liferay.portal.kernel.exception.SystemException;
1253    
1254            /**
1255            * Returns the number of wiki nodes where groupId = &#63; and status = &#63;.
1256            *
1257            * @param groupId the group ID
1258            * @param status the status
1259            * @return the number of matching wiki nodes
1260            * @throws SystemException if a system exception occurred
1261            */
1262            public int countByG_S(long groupId, int status)
1263                    throws com.liferay.portal.kernel.exception.SystemException;
1264    
1265            /**
1266            * Returns the number of wiki nodes that the user has permission to view where groupId = &#63; and status = &#63;.
1267            *
1268            * @param groupId the group ID
1269            * @param status the status
1270            * @return the number of matching wiki nodes that the user has permission to view
1271            * @throws SystemException if a system exception occurred
1272            */
1273            public int filterCountByG_S(long groupId, int status)
1274                    throws com.liferay.portal.kernel.exception.SystemException;
1275    
1276            /**
1277            * Returns the number of wiki nodes where companyId = &#63; and status = &#63;.
1278            *
1279            * @param companyId the company ID
1280            * @param status the status
1281            * @return the number of matching wiki nodes
1282            * @throws SystemException if a system exception occurred
1283            */
1284            public int countByC_S(long companyId, int status)
1285                    throws com.liferay.portal.kernel.exception.SystemException;
1286    
1287            /**
1288            * Returns the number of wiki nodes.
1289            *
1290            * @return the number of wiki nodes
1291            * @throws SystemException if a system exception occurred
1292            */
1293            public int countAll()
1294                    throws com.liferay.portal.kernel.exception.SystemException;
1295    }