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