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.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.util.OrderByComparator;
021    import com.liferay.portal.kernel.util.ReferenceRegistry;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.wiki.model.WikiNode;
025    
026    import java.util.List;
027    
028    /**
029     * The persistence utility for the wiki node service. This utility wraps {@link WikiNodePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
030     *
031     * <p>
032     * Caching information and settings can be found in <code>portal.properties</code>
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see WikiNodePersistence
037     * @see WikiNodePersistenceImpl
038     * @generated
039     */
040    public class WikiNodeUtil {
041            /*
042             * NOTE FOR DEVELOPERS:
043             *
044             * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
045             */
046    
047            /**
048             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
049             */
050            public static void clearCache() {
051                    getPersistence().clearCache();
052            }
053    
054            /**
055             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
056             */
057            public static void clearCache(WikiNode wikiNode) {
058                    getPersistence().clearCache(wikiNode);
059            }
060    
061            /**
062             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
063             */
064            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
065                    throws SystemException {
066                    return getPersistence().countWithDynamicQuery(dynamicQuery);
067            }
068    
069            /**
070             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
071             */
072            public static List<WikiNode> findWithDynamicQuery(DynamicQuery dynamicQuery)
073                    throws SystemException {
074                    return getPersistence().findWithDynamicQuery(dynamicQuery);
075            }
076    
077            /**
078             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
079             */
080            public static List<WikiNode> findWithDynamicQuery(
081                    DynamicQuery dynamicQuery, int start, int end)
082                    throws SystemException {
083                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
084            }
085    
086            /**
087             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
088             */
089            public static List<WikiNode> findWithDynamicQuery(
090                    DynamicQuery dynamicQuery, int start, int end,
091                    OrderByComparator orderByComparator) throws SystemException {
092                    return getPersistence()
093                                       .findWithDynamicQuery(dynamicQuery, start, end,
094                            orderByComparator);
095            }
096    
097            /**
098             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel)
099             */
100            public static WikiNode update(WikiNode wikiNode) throws SystemException {
101                    return getPersistence().update(wikiNode);
102            }
103    
104            /**
105             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext)
106             */
107            public static WikiNode update(WikiNode wikiNode,
108                    ServiceContext serviceContext) throws SystemException {
109                    return getPersistence().update(wikiNode, serviceContext);
110            }
111    
112            /**
113            * Caches the wiki node in the entity cache if it is enabled.
114            *
115            * @param wikiNode the wiki node
116            */
117            public static void cacheResult(
118                    com.liferay.portlet.wiki.model.WikiNode wikiNode) {
119                    getPersistence().cacheResult(wikiNode);
120            }
121    
122            /**
123            * Caches the wiki nodes in the entity cache if it is enabled.
124            *
125            * @param wikiNodes the wiki nodes
126            */
127            public static void cacheResult(
128                    java.util.List<com.liferay.portlet.wiki.model.WikiNode> wikiNodes) {
129                    getPersistence().cacheResult(wikiNodes);
130            }
131    
132            /**
133            * Creates a new wiki node with the primary key. Does not add the wiki node to the database.
134            *
135            * @param nodeId the primary key for the new wiki node
136            * @return the new wiki node
137            */
138            public static com.liferay.portlet.wiki.model.WikiNode create(long nodeId) {
139                    return getPersistence().create(nodeId);
140            }
141    
142            /**
143            * Removes the wiki node with the primary key from the database. Also notifies the appropriate model listeners.
144            *
145            * @param nodeId the primary key of the wiki node
146            * @return the wiki node that was removed
147            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
148            * @throws SystemException if a system exception occurred
149            */
150            public static com.liferay.portlet.wiki.model.WikiNode remove(long nodeId)
151                    throws com.liferay.portal.kernel.exception.SystemException,
152                            com.liferay.portlet.wiki.NoSuchNodeException {
153                    return getPersistence().remove(nodeId);
154            }
155    
156            public static com.liferay.portlet.wiki.model.WikiNode updateImpl(
157                    com.liferay.portlet.wiki.model.WikiNode wikiNode)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return getPersistence().updateImpl(wikiNode);
160            }
161    
162            /**
163            * Returns the wiki node with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchNodeException} if it could not be found.
164            *
165            * @param nodeId the primary key of the wiki node
166            * @return the wiki node
167            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
168            * @throws SystemException if a system exception occurred
169            */
170            public static com.liferay.portlet.wiki.model.WikiNode findByPrimaryKey(
171                    long nodeId)
172                    throws com.liferay.portal.kernel.exception.SystemException,
173                            com.liferay.portlet.wiki.NoSuchNodeException {
174                    return getPersistence().findByPrimaryKey(nodeId);
175            }
176    
177            /**
178            * Returns the wiki node with the primary key or returns <code>null</code> if it could not be found.
179            *
180            * @param nodeId the primary key of the wiki node
181            * @return the wiki node, or <code>null</code> if a wiki node with the primary key could not be found
182            * @throws SystemException if a system exception occurred
183            */
184            public static com.liferay.portlet.wiki.model.WikiNode fetchByPrimaryKey(
185                    long nodeId) throws com.liferay.portal.kernel.exception.SystemException {
186                    return getPersistence().fetchByPrimaryKey(nodeId);
187            }
188    
189            /**
190            * Returns all the wiki nodes where uuid = &#63;.
191            *
192            * @param uuid the uuid
193            * @return the matching wiki nodes
194            * @throws SystemException if a system exception occurred
195            */
196            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
197                    java.lang.String uuid)
198                    throws com.liferay.portal.kernel.exception.SystemException {
199                    return getPersistence().findByUuid(uuid);
200            }
201    
202            /**
203            * Returns a range of all the wiki nodes where uuid = &#63;.
204            *
205            * <p>
206            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
207            * </p>
208            *
209            * @param uuid the uuid
210            * @param start the lower bound of the range of wiki nodes
211            * @param end the upper bound of the range of wiki nodes (not inclusive)
212            * @return the range of matching wiki nodes
213            * @throws SystemException if a system exception occurred
214            */
215            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
216                    java.lang.String uuid, int start, int end)
217                    throws com.liferay.portal.kernel.exception.SystemException {
218                    return getPersistence().findByUuid(uuid, start, end);
219            }
220    
221            /**
222            * Returns an ordered range of all the wiki nodes where uuid = &#63;.
223            *
224            * <p>
225            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
226            * </p>
227            *
228            * @param uuid the uuid
229            * @param start the lower bound of the range of wiki nodes
230            * @param end the upper bound of the range of wiki nodes (not inclusive)
231            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
232            * @return the ordered range of matching wiki nodes
233            * @throws SystemException if a system exception occurred
234            */
235            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(
236                    java.lang.String uuid, int start, int end,
237                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
238                    throws com.liferay.portal.kernel.exception.SystemException {
239                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
240            }
241    
242            /**
243            * Returns the first wiki node in the ordered set where uuid = &#63;.
244            *
245            * @param uuid the uuid
246            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
247            * @return the first matching wiki node
248            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
249            * @throws SystemException if a system exception occurred
250            */
251            public static com.liferay.portlet.wiki.model.WikiNode findByUuid_First(
252                    java.lang.String uuid,
253                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
254                    throws com.liferay.portal.kernel.exception.SystemException,
255                            com.liferay.portlet.wiki.NoSuchNodeException {
256                    return getPersistence().findByUuid_First(uuid, orderByComparator);
257            }
258    
259            /**
260            * Returns the first wiki node in the ordered set where uuid = &#63;.
261            *
262            * @param uuid the uuid
263            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
264            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
265            * @throws SystemException if a system exception occurred
266            */
267            public static com.liferay.portlet.wiki.model.WikiNode fetchByUuid_First(
268                    java.lang.String uuid,
269                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
270                    throws com.liferay.portal.kernel.exception.SystemException {
271                    return getPersistence().fetchByUuid_First(uuid, orderByComparator);
272            }
273    
274            /**
275            * Returns the last wiki node in the ordered set where uuid = &#63;.
276            *
277            * @param uuid the uuid
278            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
279            * @return the last matching wiki node
280            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
281            * @throws SystemException if a system exception occurred
282            */
283            public static com.liferay.portlet.wiki.model.WikiNode findByUuid_Last(
284                    java.lang.String uuid,
285                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
286                    throws com.liferay.portal.kernel.exception.SystemException,
287                            com.liferay.portlet.wiki.NoSuchNodeException {
288                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
289            }
290    
291            /**
292            * Returns the last wiki node in the ordered set where uuid = &#63;.
293            *
294            * @param uuid the uuid
295            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
296            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
297            * @throws SystemException if a system exception occurred
298            */
299            public static com.liferay.portlet.wiki.model.WikiNode fetchByUuid_Last(
300                    java.lang.String uuid,
301                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
302                    throws com.liferay.portal.kernel.exception.SystemException {
303                    return getPersistence().fetchByUuid_Last(uuid, orderByComparator);
304            }
305    
306            /**
307            * Returns the wiki nodes before and after the current wiki node in the ordered set where uuid = &#63;.
308            *
309            * @param nodeId the primary key of the current wiki node
310            * @param uuid the uuid
311            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
312            * @return the previous, current, and next wiki node
313            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
314            * @throws SystemException if a system exception occurred
315            */
316            public static com.liferay.portlet.wiki.model.WikiNode[] findByUuid_PrevAndNext(
317                    long nodeId, java.lang.String uuid,
318                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
319                    throws com.liferay.portal.kernel.exception.SystemException,
320                            com.liferay.portlet.wiki.NoSuchNodeException {
321                    return getPersistence()
322                                       .findByUuid_PrevAndNext(nodeId, uuid, orderByComparator);
323            }
324    
325            /**
326            * 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.
327            *
328            * @param uuid the uuid
329            * @param groupId the group ID
330            * @return the matching wiki node
331            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
332            * @throws SystemException if a system exception occurred
333            */
334            public static com.liferay.portlet.wiki.model.WikiNode findByUUID_G(
335                    java.lang.String uuid, long groupId)
336                    throws com.liferay.portal.kernel.exception.SystemException,
337                            com.liferay.portlet.wiki.NoSuchNodeException {
338                    return getPersistence().findByUUID_G(uuid, groupId);
339            }
340    
341            /**
342            * 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.
343            *
344            * @param uuid the uuid
345            * @param groupId the group ID
346            * @return the matching wiki node, or <code>null</code> if a matching wiki node could not be found
347            * @throws SystemException if a system exception occurred
348            */
349            public static com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
350                    java.lang.String uuid, long groupId)
351                    throws com.liferay.portal.kernel.exception.SystemException {
352                    return getPersistence().fetchByUUID_G(uuid, groupId);
353            }
354    
355            /**
356            * 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.
357            *
358            * @param uuid the uuid
359            * @param groupId the group ID
360            * @param retrieveFromCache whether to use the finder cache
361            * @return the 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 static com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(
365                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
366                    throws com.liferay.portal.kernel.exception.SystemException {
367                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
368            }
369    
370            /**
371            * Returns all the wiki nodes where uuid = &#63; and companyId = &#63;.
372            *
373            * @param uuid the uuid
374            * @param companyId the company ID
375            * @return the matching wiki nodes
376            * @throws SystemException if a system exception occurred
377            */
378            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid_C(
379                    java.lang.String uuid, long companyId)
380                    throws com.liferay.portal.kernel.exception.SystemException {
381                    return getPersistence().findByUuid_C(uuid, companyId);
382            }
383    
384            /**
385            * Returns a range of all the wiki nodes where uuid = &#63; and companyId = &#63;.
386            *
387            * <p>
388            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
389            * </p>
390            *
391            * @param uuid the uuid
392            * @param companyId the company ID
393            * @param start the lower bound of the range of wiki nodes
394            * @param end the upper bound of the range of wiki nodes (not inclusive)
395            * @return the range of matching wiki nodes
396            * @throws SystemException if a system exception occurred
397            */
398            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid_C(
399                    java.lang.String uuid, long companyId, int start, int end)
400                    throws com.liferay.portal.kernel.exception.SystemException {
401                    return getPersistence().findByUuid_C(uuid, companyId, start, end);
402            }
403    
404            /**
405            * Returns an ordered range of all the wiki nodes where uuid = &#63; and companyId = &#63;.
406            *
407            * <p>
408            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
409            * </p>
410            *
411            * @param uuid the uuid
412            * @param companyId the company ID
413            * @param start the lower bound of the range of wiki nodes
414            * @param end the upper bound of the range of wiki nodes (not inclusive)
415            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
416            * @return the ordered range of matching wiki nodes
417            * @throws SystemException if a system exception occurred
418            */
419            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid_C(
420                    java.lang.String uuid, long companyId, int start, int end,
421                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
422                    throws com.liferay.portal.kernel.exception.SystemException {
423                    return getPersistence()
424                                       .findByUuid_C(uuid, companyId, start, end, orderByComparator);
425            }
426    
427            /**
428            * Returns the first wiki node in the ordered set where uuid = &#63; and companyId = &#63;.
429            *
430            * @param uuid the uuid
431            * @param companyId the company ID
432            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
433            * @return the first matching wiki node
434            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
435            * @throws SystemException if a system exception occurred
436            */
437            public static com.liferay.portlet.wiki.model.WikiNode findByUuid_C_First(
438                    java.lang.String uuid, long companyId,
439                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
440                    throws com.liferay.portal.kernel.exception.SystemException,
441                            com.liferay.portlet.wiki.NoSuchNodeException {
442                    return getPersistence()
443                                       .findByUuid_C_First(uuid, companyId, orderByComparator);
444            }
445    
446            /**
447            * Returns the first wiki node in the ordered set where uuid = &#63; and companyId = &#63;.
448            *
449            * @param uuid the uuid
450            * @param companyId the company ID
451            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
452            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
453            * @throws SystemException if a system exception occurred
454            */
455            public static com.liferay.portlet.wiki.model.WikiNode fetchByUuid_C_First(
456                    java.lang.String uuid, long companyId,
457                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
458                    throws com.liferay.portal.kernel.exception.SystemException {
459                    return getPersistence()
460                                       .fetchByUuid_C_First(uuid, companyId, orderByComparator);
461            }
462    
463            /**
464            * Returns the last wiki node in the ordered set where uuid = &#63; and companyId = &#63;.
465            *
466            * @param uuid the uuid
467            * @param companyId the company ID
468            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
469            * @return the last matching wiki node
470            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
471            * @throws SystemException if a system exception occurred
472            */
473            public static com.liferay.portlet.wiki.model.WikiNode findByUuid_C_Last(
474                    java.lang.String uuid, long companyId,
475                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
476                    throws com.liferay.portal.kernel.exception.SystemException,
477                            com.liferay.portlet.wiki.NoSuchNodeException {
478                    return getPersistence()
479                                       .findByUuid_C_Last(uuid, companyId, orderByComparator);
480            }
481    
482            /**
483            * Returns the last wiki node in the ordered set where uuid = &#63; and companyId = &#63;.
484            *
485            * @param uuid the uuid
486            * @param companyId the company ID
487            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
488            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
489            * @throws SystemException if a system exception occurred
490            */
491            public static com.liferay.portlet.wiki.model.WikiNode fetchByUuid_C_Last(
492                    java.lang.String uuid, long companyId,
493                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
494                    throws com.liferay.portal.kernel.exception.SystemException {
495                    return getPersistence()
496                                       .fetchByUuid_C_Last(uuid, companyId, orderByComparator);
497            }
498    
499            /**
500            * Returns the wiki nodes before and after the current wiki node in the ordered set where uuid = &#63; and companyId = &#63;.
501            *
502            * @param nodeId the primary key of the current wiki node
503            * @param uuid the uuid
504            * @param companyId the company ID
505            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
506            * @return the previous, current, and next wiki node
507            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
508            * @throws SystemException if a system exception occurred
509            */
510            public static com.liferay.portlet.wiki.model.WikiNode[] findByUuid_C_PrevAndNext(
511                    long nodeId, java.lang.String uuid, long companyId,
512                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
513                    throws com.liferay.portal.kernel.exception.SystemException,
514                            com.liferay.portlet.wiki.NoSuchNodeException {
515                    return getPersistence()
516                                       .findByUuid_C_PrevAndNext(nodeId, uuid, companyId,
517                            orderByComparator);
518            }
519    
520            /**
521            * Returns all the wiki nodes where groupId = &#63;.
522            *
523            * @param groupId the group ID
524            * @return the matching wiki nodes
525            * @throws SystemException if a system exception occurred
526            */
527            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
528                    long groupId)
529                    throws com.liferay.portal.kernel.exception.SystemException {
530                    return getPersistence().findByGroupId(groupId);
531            }
532    
533            /**
534            * Returns a range of all the wiki nodes 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            * @return the range of matching wiki nodes
544            * @throws SystemException if a system exception occurred
545            */
546            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
547                    long groupId, int start, int end)
548                    throws com.liferay.portal.kernel.exception.SystemException {
549                    return getPersistence().findByGroupId(groupId, start, end);
550            }
551    
552            /**
553            * Returns an ordered range of all the wiki nodes where groupId = &#63;.
554            *
555            * <p>
556            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
557            * </p>
558            *
559            * @param groupId the group ID
560            * @param start the lower bound of the range of wiki nodes
561            * @param end the upper bound of the range of wiki nodes (not inclusive)
562            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
563            * @return the ordered range of matching wiki nodes
564            * @throws SystemException if a system exception occurred
565            */
566            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(
567                    long groupId, int start, int end,
568                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
569                    throws com.liferay.portal.kernel.exception.SystemException {
570                    return getPersistence()
571                                       .findByGroupId(groupId, start, end, orderByComparator);
572            }
573    
574            /**
575            * Returns the first wiki node in the ordered set where groupId = &#63;.
576            *
577            * @param groupId the group ID
578            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
579            * @return the first matching wiki node
580            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
581            * @throws SystemException if a system exception occurred
582            */
583            public static com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(
584                    long groupId,
585                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
586                    throws com.liferay.portal.kernel.exception.SystemException,
587                            com.liferay.portlet.wiki.NoSuchNodeException {
588                    return getPersistence().findByGroupId_First(groupId, orderByComparator);
589            }
590    
591            /**
592            * Returns the first wiki node in the ordered set where groupId = &#63;.
593            *
594            * @param groupId the group ID
595            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
596            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
597            * @throws SystemException if a system exception occurred
598            */
599            public static com.liferay.portlet.wiki.model.WikiNode fetchByGroupId_First(
600                    long groupId,
601                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
602                    throws com.liferay.portal.kernel.exception.SystemException {
603                    return getPersistence().fetchByGroupId_First(groupId, orderByComparator);
604            }
605    
606            /**
607            * Returns the last wiki node in the ordered set where groupId = &#63;.
608            *
609            * @param groupId the group ID
610            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
611            * @return the last matching wiki node
612            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
613            * @throws SystemException if a system exception occurred
614            */
615            public static com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(
616                    long groupId,
617                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
618                    throws com.liferay.portal.kernel.exception.SystemException,
619                            com.liferay.portlet.wiki.NoSuchNodeException {
620                    return getPersistence().findByGroupId_Last(groupId, orderByComparator);
621            }
622    
623            /**
624            * Returns the last wiki node in the ordered set where groupId = &#63;.
625            *
626            * @param groupId the group ID
627            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
628            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
629            * @throws SystemException if a system exception occurred
630            */
631            public static com.liferay.portlet.wiki.model.WikiNode fetchByGroupId_Last(
632                    long groupId,
633                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
634                    throws com.liferay.portal.kernel.exception.SystemException {
635                    return getPersistence().fetchByGroupId_Last(groupId, orderByComparator);
636            }
637    
638            /**
639            * Returns the wiki nodes before and after the current wiki node in the ordered set where groupId = &#63;.
640            *
641            * @param nodeId the primary key of the current wiki node
642            * @param groupId the group ID
643            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
644            * @return the previous, current, and next wiki node
645            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
646            * @throws SystemException if a system exception occurred
647            */
648            public static com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(
649                    long nodeId, long groupId,
650                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
651                    throws com.liferay.portal.kernel.exception.SystemException,
652                            com.liferay.portlet.wiki.NoSuchNodeException {
653                    return getPersistence()
654                                       .findByGroupId_PrevAndNext(nodeId, groupId, orderByComparator);
655            }
656    
657            /**
658            * Returns all the wiki nodes that the user has permission to view where groupId = &#63;.
659            *
660            * @param groupId the group ID
661            * @return the matching wiki nodes that the user has permission to view
662            * @throws SystemException if a system exception occurred
663            */
664            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
665                    long groupId)
666                    throws com.liferay.portal.kernel.exception.SystemException {
667                    return getPersistence().filterFindByGroupId(groupId);
668            }
669    
670            /**
671            * Returns a range of all the wiki nodes that the user has permission to view where groupId = &#63;.
672            *
673            * <p>
674            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
675            * </p>
676            *
677            * @param groupId the group ID
678            * @param start the lower bound of the range of wiki nodes
679            * @param end the upper bound of the range of wiki nodes (not inclusive)
680            * @return the range of matching wiki nodes that the user has permission to view
681            * @throws SystemException if a system exception occurred
682            */
683            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
684                    long groupId, int start, int end)
685                    throws com.liferay.portal.kernel.exception.SystemException {
686                    return getPersistence().filterFindByGroupId(groupId, start, end);
687            }
688    
689            /**
690            * Returns an ordered range of all the wiki nodes that the user has permissions to view where groupId = &#63;.
691            *
692            * <p>
693            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
694            * </p>
695            *
696            * @param groupId the group ID
697            * @param start the lower bound of the range of wiki nodes
698            * @param end the upper bound of the range of wiki nodes (not inclusive)
699            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
700            * @return the ordered range of matching wiki nodes that the user has permission to view
701            * @throws SystemException if a system exception occurred
702            */
703            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByGroupId(
704                    long groupId, int start, int end,
705                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
706                    throws com.liferay.portal.kernel.exception.SystemException {
707                    return getPersistence()
708                                       .filterFindByGroupId(groupId, start, end, orderByComparator);
709            }
710    
711            /**
712            * 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;.
713            *
714            * @param nodeId the primary key of the current wiki node
715            * @param groupId the group ID
716            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
717            * @return the previous, current, and next wiki node
718            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
719            * @throws SystemException if a system exception occurred
720            */
721            public static com.liferay.portlet.wiki.model.WikiNode[] filterFindByGroupId_PrevAndNext(
722                    long nodeId, long groupId,
723                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
724                    throws com.liferay.portal.kernel.exception.SystemException,
725                            com.liferay.portlet.wiki.NoSuchNodeException {
726                    return getPersistence()
727                                       .filterFindByGroupId_PrevAndNext(nodeId, groupId,
728                            orderByComparator);
729            }
730    
731            /**
732            * Returns all the wiki nodes where companyId = &#63;.
733            *
734            * @param companyId the company ID
735            * @return the matching wiki nodes
736            * @throws SystemException if a system exception occurred
737            */
738            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
739                    long companyId)
740                    throws com.liferay.portal.kernel.exception.SystemException {
741                    return getPersistence().findByCompanyId(companyId);
742            }
743    
744            /**
745            * Returns a range of all the wiki nodes where companyId = &#63;.
746            *
747            * <p>
748            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
749            * </p>
750            *
751            * @param companyId the company ID
752            * @param start the lower bound of the range of wiki nodes
753            * @param end the upper bound of the range of wiki nodes (not inclusive)
754            * @return the range of matching wiki nodes
755            * @throws SystemException if a system exception occurred
756            */
757            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
758                    long companyId, int start, int end)
759                    throws com.liferay.portal.kernel.exception.SystemException {
760                    return getPersistence().findByCompanyId(companyId, start, end);
761            }
762    
763            /**
764            * Returns an ordered range of all the wiki nodes where companyId = &#63;.
765            *
766            * <p>
767            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
768            * </p>
769            *
770            * @param companyId the company ID
771            * @param start the lower bound of the range of wiki nodes
772            * @param end the upper bound of the range of wiki nodes (not inclusive)
773            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
774            * @return the ordered range of matching wiki nodes
775            * @throws SystemException if a system exception occurred
776            */
777            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(
778                    long companyId, int start, int end,
779                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
780                    throws com.liferay.portal.kernel.exception.SystemException {
781                    return getPersistence()
782                                       .findByCompanyId(companyId, start, end, orderByComparator);
783            }
784    
785            /**
786            * Returns the first wiki node in the ordered set where companyId = &#63;.
787            *
788            * @param companyId the company ID
789            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
790            * @return the first matching wiki node
791            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
792            * @throws SystemException if a system exception occurred
793            */
794            public static com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(
795                    long companyId,
796                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
797                    throws com.liferay.portal.kernel.exception.SystemException,
798                            com.liferay.portlet.wiki.NoSuchNodeException {
799                    return getPersistence()
800                                       .findByCompanyId_First(companyId, orderByComparator);
801            }
802    
803            /**
804            * Returns the first wiki node in the ordered set where companyId = &#63;.
805            *
806            * @param companyId the company ID
807            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
808            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
809            * @throws SystemException if a system exception occurred
810            */
811            public static com.liferay.portlet.wiki.model.WikiNode fetchByCompanyId_First(
812                    long companyId,
813                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
814                    throws com.liferay.portal.kernel.exception.SystemException {
815                    return getPersistence()
816                                       .fetchByCompanyId_First(companyId, orderByComparator);
817            }
818    
819            /**
820            * Returns the last wiki node in the ordered set where companyId = &#63;.
821            *
822            * @param companyId the company ID
823            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
824            * @return the last matching wiki node
825            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
826            * @throws SystemException if a system exception occurred
827            */
828            public static com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(
829                    long companyId,
830                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
831                    throws com.liferay.portal.kernel.exception.SystemException,
832                            com.liferay.portlet.wiki.NoSuchNodeException {
833                    return getPersistence()
834                                       .findByCompanyId_Last(companyId, orderByComparator);
835            }
836    
837            /**
838            * Returns the last wiki node in the ordered set where companyId = &#63;.
839            *
840            * @param companyId the company ID
841            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
842            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
843            * @throws SystemException if a system exception occurred
844            */
845            public static com.liferay.portlet.wiki.model.WikiNode fetchByCompanyId_Last(
846                    long companyId,
847                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
848                    throws com.liferay.portal.kernel.exception.SystemException {
849                    return getPersistence()
850                                       .fetchByCompanyId_Last(companyId, orderByComparator);
851            }
852    
853            /**
854            * Returns the wiki nodes before and after the current wiki node in the ordered set where companyId = &#63;.
855            *
856            * @param nodeId the primary key of the current wiki node
857            * @param companyId the company ID
858            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
859            * @return the previous, current, and next wiki node
860            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
861            * @throws SystemException if a system exception occurred
862            */
863            public static com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(
864                    long nodeId, long companyId,
865                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
866                    throws com.liferay.portal.kernel.exception.SystemException,
867                            com.liferay.portlet.wiki.NoSuchNodeException {
868                    return getPersistence()
869                                       .findByCompanyId_PrevAndNext(nodeId, companyId,
870                            orderByComparator);
871            }
872    
873            /**
874            * 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.
875            *
876            * @param groupId the group ID
877            * @param name the name
878            * @return the matching wiki node
879            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
880            * @throws SystemException if a system exception occurred
881            */
882            public static com.liferay.portlet.wiki.model.WikiNode findByG_N(
883                    long groupId, java.lang.String name)
884                    throws com.liferay.portal.kernel.exception.SystemException,
885                            com.liferay.portlet.wiki.NoSuchNodeException {
886                    return getPersistence().findByG_N(groupId, name);
887            }
888    
889            /**
890            * 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.
891            *
892            * @param groupId the group ID
893            * @param name the name
894            * @return the matching wiki node, or <code>null</code> if a matching wiki node could not be found
895            * @throws SystemException if a system exception occurred
896            */
897            public static com.liferay.portlet.wiki.model.WikiNode fetchByG_N(
898                    long groupId, java.lang.String name)
899                    throws com.liferay.portal.kernel.exception.SystemException {
900                    return getPersistence().fetchByG_N(groupId, name);
901            }
902    
903            /**
904            * 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.
905            *
906            * @param groupId the group ID
907            * @param name the name
908            * @param retrieveFromCache whether to use the finder cache
909            * @return the matching wiki node, or <code>null</code> if a matching wiki node could not be found
910            * @throws SystemException if a system exception occurred
911            */
912            public static com.liferay.portlet.wiki.model.WikiNode fetchByG_N(
913                    long groupId, java.lang.String name, boolean retrieveFromCache)
914                    throws com.liferay.portal.kernel.exception.SystemException {
915                    return getPersistence().fetchByG_N(groupId, name, retrieveFromCache);
916            }
917    
918            /**
919            * Returns all the wiki nodes where groupId = &#63; and status = &#63;.
920            *
921            * @param groupId the group ID
922            * @param status the status
923            * @return the matching wiki nodes
924            * @throws SystemException if a system exception occurred
925            */
926            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByG_S(
927                    long groupId, int status)
928                    throws com.liferay.portal.kernel.exception.SystemException {
929                    return getPersistence().findByG_S(groupId, status);
930            }
931    
932            /**
933            * Returns a range of all the wiki nodes where groupId = &#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 groupId the group 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 static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByG_S(
947                    long groupId, int status, int start, int end)
948                    throws com.liferay.portal.kernel.exception.SystemException {
949                    return getPersistence().findByG_S(groupId, status, start, end);
950            }
951    
952            /**
953            * Returns an ordered range of all the wiki nodes where groupId = &#63; and status = &#63;.
954            *
955            * <p>
956            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
957            * </p>
958            *
959            * @param groupId the group ID
960            * @param status the status
961            * @param start the lower bound of the range of wiki nodes
962            * @param end the upper bound of the range of wiki nodes (not inclusive)
963            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
964            * @return the ordered range of matching wiki nodes
965            * @throws SystemException if a system exception occurred
966            */
967            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByG_S(
968                    long groupId, int status, int start, int end,
969                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
970                    throws com.liferay.portal.kernel.exception.SystemException {
971                    return getPersistence()
972                                       .findByG_S(groupId, status, start, end, orderByComparator);
973            }
974    
975            /**
976            * Returns the first wiki node in the ordered set where groupId = &#63; and status = &#63;.
977            *
978            * @param groupId the group ID
979            * @param status the status
980            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
981            * @return the first matching wiki node
982            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
983            * @throws SystemException if a system exception occurred
984            */
985            public static com.liferay.portlet.wiki.model.WikiNode findByG_S_First(
986                    long groupId, int status,
987                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
988                    throws com.liferay.portal.kernel.exception.SystemException,
989                            com.liferay.portlet.wiki.NoSuchNodeException {
990                    return getPersistence()
991                                       .findByG_S_First(groupId, status, orderByComparator);
992            }
993    
994            /**
995            * Returns the first wiki node in the ordered set where groupId = &#63; and status = &#63;.
996            *
997            * @param groupId the group ID
998            * @param status the status
999            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1000            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
1001            * @throws SystemException if a system exception occurred
1002            */
1003            public static com.liferay.portlet.wiki.model.WikiNode fetchByG_S_First(
1004                    long groupId, int status,
1005                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1006                    throws com.liferay.portal.kernel.exception.SystemException {
1007                    return getPersistence()
1008                                       .fetchByG_S_First(groupId, status, orderByComparator);
1009            }
1010    
1011            /**
1012            * Returns the last wiki node in the ordered set where groupId = &#63; and status = &#63;.
1013            *
1014            * @param groupId the group ID
1015            * @param status the status
1016            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1017            * @return the last matching wiki node
1018            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
1019            * @throws SystemException if a system exception occurred
1020            */
1021            public static com.liferay.portlet.wiki.model.WikiNode findByG_S_Last(
1022                    long groupId, int status,
1023                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1024                    throws com.liferay.portal.kernel.exception.SystemException,
1025                            com.liferay.portlet.wiki.NoSuchNodeException {
1026                    return getPersistence()
1027                                       .findByG_S_Last(groupId, status, orderByComparator);
1028            }
1029    
1030            /**
1031            * Returns the last wiki node in the ordered set where groupId = &#63; and status = &#63;.
1032            *
1033            * @param groupId the group ID
1034            * @param status the status
1035            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1036            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
1037            * @throws SystemException if a system exception occurred
1038            */
1039            public static com.liferay.portlet.wiki.model.WikiNode fetchByG_S_Last(
1040                    long groupId, int status,
1041                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1042                    throws com.liferay.portal.kernel.exception.SystemException {
1043                    return getPersistence()
1044                                       .fetchByG_S_Last(groupId, status, orderByComparator);
1045            }
1046    
1047            /**
1048            * Returns the wiki nodes before and after the current wiki node in the ordered set where groupId = &#63; and status = &#63;.
1049            *
1050            * @param nodeId the primary key of the current wiki node
1051            * @param groupId the group ID
1052            * @param status the status
1053            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1054            * @return the previous, current, and next wiki node
1055            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
1056            * @throws SystemException if a system exception occurred
1057            */
1058            public static com.liferay.portlet.wiki.model.WikiNode[] findByG_S_PrevAndNext(
1059                    long nodeId, long groupId, int status,
1060                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1061                    throws com.liferay.portal.kernel.exception.SystemException,
1062                            com.liferay.portlet.wiki.NoSuchNodeException {
1063                    return getPersistence()
1064                                       .findByG_S_PrevAndNext(nodeId, groupId, status,
1065                            orderByComparator);
1066            }
1067    
1068            /**
1069            * Returns all the wiki nodes that the user has permission to view where groupId = &#63; and status = &#63;.
1070            *
1071            * @param groupId the group ID
1072            * @param status the status
1073            * @return the matching wiki nodes that the user has permission to view
1074            * @throws SystemException if a system exception occurred
1075            */
1076            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByG_S(
1077                    long groupId, int status)
1078                    throws com.liferay.portal.kernel.exception.SystemException {
1079                    return getPersistence().filterFindByG_S(groupId, status);
1080            }
1081    
1082            /**
1083            * Returns a range of all the wiki nodes that the user has permission to view where groupId = &#63; and status = &#63;.
1084            *
1085            * <p>
1086            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1087            * </p>
1088            *
1089            * @param groupId the group ID
1090            * @param status the status
1091            * @param start the lower bound of the range of wiki nodes
1092            * @param end the upper bound of the range of wiki nodes (not inclusive)
1093            * @return the range of matching wiki nodes that the user has permission to view
1094            * @throws SystemException if a system exception occurred
1095            */
1096            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByG_S(
1097                    long groupId, int status, int start, int end)
1098                    throws com.liferay.portal.kernel.exception.SystemException {
1099                    return getPersistence().filterFindByG_S(groupId, status, start, end);
1100            }
1101    
1102            /**
1103            * Returns an ordered range of all the wiki nodes that the user has permissions to view where groupId = &#63; and status = &#63;.
1104            *
1105            * <p>
1106            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1107            * </p>
1108            *
1109            * @param groupId the group ID
1110            * @param status the status
1111            * @param start the lower bound of the range of wiki nodes
1112            * @param end the upper bound of the range of wiki nodes (not inclusive)
1113            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1114            * @return the ordered range of matching wiki nodes that the user has permission to view
1115            * @throws SystemException if a system exception occurred
1116            */
1117            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> filterFindByG_S(
1118                    long groupId, int status, int start, int end,
1119                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1120                    throws com.liferay.portal.kernel.exception.SystemException {
1121                    return getPersistence()
1122                                       .filterFindByG_S(groupId, status, start, end,
1123                            orderByComparator);
1124            }
1125    
1126            /**
1127            * 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;.
1128            *
1129            * @param nodeId the primary key of the current wiki node
1130            * @param groupId the group ID
1131            * @param status the status
1132            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1133            * @return the previous, current, and next wiki node
1134            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
1135            * @throws SystemException if a system exception occurred
1136            */
1137            public static com.liferay.portlet.wiki.model.WikiNode[] filterFindByG_S_PrevAndNext(
1138                    long nodeId, long groupId, int status,
1139                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1140                    throws com.liferay.portal.kernel.exception.SystemException,
1141                            com.liferay.portlet.wiki.NoSuchNodeException {
1142                    return getPersistence()
1143                                       .filterFindByG_S_PrevAndNext(nodeId, groupId, status,
1144                            orderByComparator);
1145            }
1146    
1147            /**
1148            * Returns all the wiki nodes where companyId = &#63; and status = &#63;.
1149            *
1150            * @param companyId the company ID
1151            * @param status the status
1152            * @return the matching wiki nodes
1153            * @throws SystemException if a system exception occurred
1154            */
1155            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByC_S(
1156                    long companyId, int status)
1157                    throws com.liferay.portal.kernel.exception.SystemException {
1158                    return getPersistence().findByC_S(companyId, status);
1159            }
1160    
1161            /**
1162            * Returns a range of all the wiki nodes where companyId = &#63; and status = &#63;.
1163            *
1164            * <p>
1165            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1166            * </p>
1167            *
1168            * @param companyId the company ID
1169            * @param status the status
1170            * @param start the lower bound of the range of wiki nodes
1171            * @param end the upper bound of the range of wiki nodes (not inclusive)
1172            * @return the range of matching wiki nodes
1173            * @throws SystemException if a system exception occurred
1174            */
1175            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByC_S(
1176                    long companyId, int status, int start, int end)
1177                    throws com.liferay.portal.kernel.exception.SystemException {
1178                    return getPersistence().findByC_S(companyId, status, start, end);
1179            }
1180    
1181            /**
1182            * Returns an ordered range of all the wiki nodes where companyId = &#63; and status = &#63;.
1183            *
1184            * <p>
1185            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1186            * </p>
1187            *
1188            * @param companyId the company ID
1189            * @param status the status
1190            * @param start the lower bound of the range of wiki nodes
1191            * @param end the upper bound of the range of wiki nodes (not inclusive)
1192            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1193            * @return the ordered range of matching wiki nodes
1194            * @throws SystemException if a system exception occurred
1195            */
1196            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByC_S(
1197                    long companyId, int status, int start, int end,
1198                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1199                    throws com.liferay.portal.kernel.exception.SystemException {
1200                    return getPersistence()
1201                                       .findByC_S(companyId, status, start, end, orderByComparator);
1202            }
1203    
1204            /**
1205            * Returns the first wiki node in the ordered set where companyId = &#63; and status = &#63;.
1206            *
1207            * @param companyId the company ID
1208            * @param status the status
1209            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1210            * @return the first matching wiki node
1211            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
1212            * @throws SystemException if a system exception occurred
1213            */
1214            public static com.liferay.portlet.wiki.model.WikiNode findByC_S_First(
1215                    long companyId, int status,
1216                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1217                    throws com.liferay.portal.kernel.exception.SystemException,
1218                            com.liferay.portlet.wiki.NoSuchNodeException {
1219                    return getPersistence()
1220                                       .findByC_S_First(companyId, status, orderByComparator);
1221            }
1222    
1223            /**
1224            * Returns the first wiki node in the ordered set where companyId = &#63; and status = &#63;.
1225            *
1226            * @param companyId the company ID
1227            * @param status the status
1228            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1229            * @return the first matching wiki node, or <code>null</code> if a matching wiki node could not be found
1230            * @throws SystemException if a system exception occurred
1231            */
1232            public static com.liferay.portlet.wiki.model.WikiNode fetchByC_S_First(
1233                    long companyId, int status,
1234                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1235                    throws com.liferay.portal.kernel.exception.SystemException {
1236                    return getPersistence()
1237                                       .fetchByC_S_First(companyId, status, orderByComparator);
1238            }
1239    
1240            /**
1241            * Returns the last wiki node in the ordered set where companyId = &#63; and status = &#63;.
1242            *
1243            * @param companyId the company ID
1244            * @param status the status
1245            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1246            * @return the last matching wiki node
1247            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a matching wiki node could not be found
1248            * @throws SystemException if a system exception occurred
1249            */
1250            public static com.liferay.portlet.wiki.model.WikiNode findByC_S_Last(
1251                    long companyId, int status,
1252                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1253                    throws com.liferay.portal.kernel.exception.SystemException,
1254                            com.liferay.portlet.wiki.NoSuchNodeException {
1255                    return getPersistence()
1256                                       .findByC_S_Last(companyId, status, orderByComparator);
1257            }
1258    
1259            /**
1260            * Returns the last wiki node in the ordered set where companyId = &#63; and status = &#63;.
1261            *
1262            * @param companyId the company ID
1263            * @param status the status
1264            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1265            * @return the last matching wiki node, or <code>null</code> if a matching wiki node could not be found
1266            * @throws SystemException if a system exception occurred
1267            */
1268            public static com.liferay.portlet.wiki.model.WikiNode fetchByC_S_Last(
1269                    long companyId, int status,
1270                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1271                    throws com.liferay.portal.kernel.exception.SystemException {
1272                    return getPersistence()
1273                                       .fetchByC_S_Last(companyId, status, orderByComparator);
1274            }
1275    
1276            /**
1277            * Returns the wiki nodes before and after the current wiki node in the ordered set where companyId = &#63; and status = &#63;.
1278            *
1279            * @param nodeId the primary key of the current wiki node
1280            * @param companyId the company ID
1281            * @param status the status
1282            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1283            * @return the previous, current, and next wiki node
1284            * @throws com.liferay.portlet.wiki.NoSuchNodeException if a wiki node with the primary key could not be found
1285            * @throws SystemException if a system exception occurred
1286            */
1287            public static com.liferay.portlet.wiki.model.WikiNode[] findByC_S_PrevAndNext(
1288                    long nodeId, long companyId, int status,
1289                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1290                    throws com.liferay.portal.kernel.exception.SystemException,
1291                            com.liferay.portlet.wiki.NoSuchNodeException {
1292                    return getPersistence()
1293                                       .findByC_S_PrevAndNext(nodeId, companyId, status,
1294                            orderByComparator);
1295            }
1296    
1297            /**
1298            * Returns all the wiki nodes.
1299            *
1300            * @return the wiki nodes
1301            * @throws SystemException if a system exception occurred
1302            */
1303            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll()
1304                    throws com.liferay.portal.kernel.exception.SystemException {
1305                    return getPersistence().findAll();
1306            }
1307    
1308            /**
1309            * Returns a range of all the wiki nodes.
1310            *
1311            * <p>
1312            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1313            * </p>
1314            *
1315            * @param start the lower bound of the range of wiki nodes
1316            * @param end the upper bound of the range of wiki nodes (not inclusive)
1317            * @return the range of wiki nodes
1318            * @throws SystemException if a system exception occurred
1319            */
1320            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
1321                    int start, int end)
1322                    throws com.liferay.portal.kernel.exception.SystemException {
1323                    return getPersistence().findAll(start, end);
1324            }
1325    
1326            /**
1327            * Returns an ordered range of all the wiki nodes.
1328            *
1329            * <p>
1330            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1331            * </p>
1332            *
1333            * @param start the lower bound of the range of wiki nodes
1334            * @param end the upper bound of the range of wiki nodes (not inclusive)
1335            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1336            * @return the ordered range of wiki nodes
1337            * @throws SystemException if a system exception occurred
1338            */
1339            public static java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(
1340                    int start, int end,
1341                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1342                    throws com.liferay.portal.kernel.exception.SystemException {
1343                    return getPersistence().findAll(start, end, orderByComparator);
1344            }
1345    
1346            /**
1347            * Removes all the wiki nodes where uuid = &#63; from the database.
1348            *
1349            * @param uuid the uuid
1350            * @throws SystemException if a system exception occurred
1351            */
1352            public static void removeByUuid(java.lang.String uuid)
1353                    throws com.liferay.portal.kernel.exception.SystemException {
1354                    getPersistence().removeByUuid(uuid);
1355            }
1356    
1357            /**
1358            * Removes the wiki node where uuid = &#63; and groupId = &#63; from the database.
1359            *
1360            * @param uuid the uuid
1361            * @param groupId the group ID
1362            * @return the wiki node that was removed
1363            * @throws SystemException if a system exception occurred
1364            */
1365            public static com.liferay.portlet.wiki.model.WikiNode removeByUUID_G(
1366                    java.lang.String uuid, long groupId)
1367                    throws com.liferay.portal.kernel.exception.SystemException,
1368                            com.liferay.portlet.wiki.NoSuchNodeException {
1369                    return getPersistence().removeByUUID_G(uuid, groupId);
1370            }
1371    
1372            /**
1373            * Removes all the wiki nodes where uuid = &#63; and companyId = &#63; from the database.
1374            *
1375            * @param uuid the uuid
1376            * @param companyId the company ID
1377            * @throws SystemException if a system exception occurred
1378            */
1379            public static void removeByUuid_C(java.lang.String uuid, long companyId)
1380                    throws com.liferay.portal.kernel.exception.SystemException {
1381                    getPersistence().removeByUuid_C(uuid, companyId);
1382            }
1383    
1384            /**
1385            * Removes all the wiki nodes where groupId = &#63; from the database.
1386            *
1387            * @param groupId the group ID
1388            * @throws SystemException if a system exception occurred
1389            */
1390            public static void removeByGroupId(long groupId)
1391                    throws com.liferay.portal.kernel.exception.SystemException {
1392                    getPersistence().removeByGroupId(groupId);
1393            }
1394    
1395            /**
1396            * Removes all the wiki nodes where companyId = &#63; from the database.
1397            *
1398            * @param companyId the company ID
1399            * @throws SystemException if a system exception occurred
1400            */
1401            public static void removeByCompanyId(long companyId)
1402                    throws com.liferay.portal.kernel.exception.SystemException {
1403                    getPersistence().removeByCompanyId(companyId);
1404            }
1405    
1406            /**
1407            * Removes the wiki node where groupId = &#63; and name = &#63; from the database.
1408            *
1409            * @param groupId the group ID
1410            * @param name the name
1411            * @return the wiki node that was removed
1412            * @throws SystemException if a system exception occurred
1413            */
1414            public static com.liferay.portlet.wiki.model.WikiNode removeByG_N(
1415                    long groupId, java.lang.String name)
1416                    throws com.liferay.portal.kernel.exception.SystemException,
1417                            com.liferay.portlet.wiki.NoSuchNodeException {
1418                    return getPersistence().removeByG_N(groupId, name);
1419            }
1420    
1421            /**
1422            * Removes all the wiki nodes where groupId = &#63; and status = &#63; from the database.
1423            *
1424            * @param groupId the group ID
1425            * @param status the status
1426            * @throws SystemException if a system exception occurred
1427            */
1428            public static void removeByG_S(long groupId, int status)
1429                    throws com.liferay.portal.kernel.exception.SystemException {
1430                    getPersistence().removeByG_S(groupId, status);
1431            }
1432    
1433            /**
1434            * Removes all the wiki nodes where companyId = &#63; and status = &#63; from the database.
1435            *
1436            * @param companyId the company ID
1437            * @param status the status
1438            * @throws SystemException if a system exception occurred
1439            */
1440            public static void removeByC_S(long companyId, int status)
1441                    throws com.liferay.portal.kernel.exception.SystemException {
1442                    getPersistence().removeByC_S(companyId, status);
1443            }
1444    
1445            /**
1446            * Removes all the wiki nodes from the database.
1447            *
1448            * @throws SystemException if a system exception occurred
1449            */
1450            public static void removeAll()
1451                    throws com.liferay.portal.kernel.exception.SystemException {
1452                    getPersistence().removeAll();
1453            }
1454    
1455            /**
1456            * Returns the number of wiki nodes where uuid = &#63;.
1457            *
1458            * @param uuid the uuid
1459            * @return the number of matching wiki nodes
1460            * @throws SystemException if a system exception occurred
1461            */
1462            public static int countByUuid(java.lang.String uuid)
1463                    throws com.liferay.portal.kernel.exception.SystemException {
1464                    return getPersistence().countByUuid(uuid);
1465            }
1466    
1467            /**
1468            * Returns the number of wiki nodes where uuid = &#63; and groupId = &#63;.
1469            *
1470            * @param uuid the uuid
1471            * @param groupId the group ID
1472            * @return the number of matching wiki nodes
1473            * @throws SystemException if a system exception occurred
1474            */
1475            public static int countByUUID_G(java.lang.String uuid, long groupId)
1476                    throws com.liferay.portal.kernel.exception.SystemException {
1477                    return getPersistence().countByUUID_G(uuid, groupId);
1478            }
1479    
1480            /**
1481            * Returns the number of wiki nodes where uuid = &#63; and companyId = &#63;.
1482            *
1483            * @param uuid the uuid
1484            * @param companyId the company ID
1485            * @return the number of matching wiki nodes
1486            * @throws SystemException if a system exception occurred
1487            */
1488            public static int countByUuid_C(java.lang.String uuid, long companyId)
1489                    throws com.liferay.portal.kernel.exception.SystemException {
1490                    return getPersistence().countByUuid_C(uuid, companyId);
1491            }
1492    
1493            /**
1494            * Returns the number of wiki nodes where groupId = &#63;.
1495            *
1496            * @param groupId the group ID
1497            * @return the number of matching wiki nodes
1498            * @throws SystemException if a system exception occurred
1499            */
1500            public static int countByGroupId(long groupId)
1501                    throws com.liferay.portal.kernel.exception.SystemException {
1502                    return getPersistence().countByGroupId(groupId);
1503            }
1504    
1505            /**
1506            * Returns the number of wiki nodes that the user has permission to view where groupId = &#63;.
1507            *
1508            * @param groupId the group ID
1509            * @return the number of matching wiki nodes that the user has permission to view
1510            * @throws SystemException if a system exception occurred
1511            */
1512            public static int filterCountByGroupId(long groupId)
1513                    throws com.liferay.portal.kernel.exception.SystemException {
1514                    return getPersistence().filterCountByGroupId(groupId);
1515            }
1516    
1517            /**
1518            * Returns the number of wiki nodes where companyId = &#63;.
1519            *
1520            * @param companyId the company ID
1521            * @return the number of matching wiki nodes
1522            * @throws SystemException if a system exception occurred
1523            */
1524            public static int countByCompanyId(long companyId)
1525                    throws com.liferay.portal.kernel.exception.SystemException {
1526                    return getPersistence().countByCompanyId(companyId);
1527            }
1528    
1529            /**
1530            * Returns the number of wiki nodes where groupId = &#63; and name = &#63;.
1531            *
1532            * @param groupId the group ID
1533            * @param name the name
1534            * @return the number of matching wiki nodes
1535            * @throws SystemException if a system exception occurred
1536            */
1537            public static int countByG_N(long groupId, java.lang.String name)
1538                    throws com.liferay.portal.kernel.exception.SystemException {
1539                    return getPersistence().countByG_N(groupId, name);
1540            }
1541    
1542            /**
1543            * Returns the number of wiki nodes where groupId = &#63; and status = &#63;.
1544            *
1545            * @param groupId the group ID
1546            * @param status the status
1547            * @return the number of matching wiki nodes
1548            * @throws SystemException if a system exception occurred
1549            */
1550            public static int countByG_S(long groupId, int status)
1551                    throws com.liferay.portal.kernel.exception.SystemException {
1552                    return getPersistence().countByG_S(groupId, status);
1553            }
1554    
1555            /**
1556            * Returns the number of wiki nodes that the user has permission to view where groupId = &#63; and status = &#63;.
1557            *
1558            * @param groupId the group ID
1559            * @param status the status
1560            * @return the number of matching wiki nodes that the user has permission to view
1561            * @throws SystemException if a system exception occurred
1562            */
1563            public static int filterCountByG_S(long groupId, int status)
1564                    throws com.liferay.portal.kernel.exception.SystemException {
1565                    return getPersistence().filterCountByG_S(groupId, status);
1566            }
1567    
1568            /**
1569            * Returns the number of wiki nodes where companyId = &#63; and status = &#63;.
1570            *
1571            * @param companyId the company ID
1572            * @param status the status
1573            * @return the number of matching wiki nodes
1574            * @throws SystemException if a system exception occurred
1575            */
1576            public static int countByC_S(long companyId, int status)
1577                    throws com.liferay.portal.kernel.exception.SystemException {
1578                    return getPersistence().countByC_S(companyId, status);
1579            }
1580    
1581            /**
1582            * Returns the number of wiki nodes.
1583            *
1584            * @return the number of wiki nodes
1585            * @throws SystemException if a system exception occurred
1586            */
1587            public static int countAll()
1588                    throws com.liferay.portal.kernel.exception.SystemException {
1589                    return getPersistence().countAll();
1590            }
1591    
1592            public static WikiNodePersistence getPersistence() {
1593                    if (_persistence == null) {
1594                            _persistence = (WikiNodePersistence)PortalBeanLocatorUtil.locate(WikiNodePersistence.class.getName());
1595    
1596                            ReferenceRegistry.registerReference(WikiNodeUtil.class,
1597                                    "_persistence");
1598                    }
1599    
1600                    return _persistence;
1601            }
1602    
1603            /**
1604             * @deprecated
1605             */
1606            public void setPersistence(WikiNodePersistence persistence) {
1607            }
1608    
1609            private static WikiNodePersistence _persistence;
1610    }