1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.messageboards.service.persistence;
16  
17  import com.liferay.portal.service.persistence.BasePersistence;
18  
19  import com.liferay.portlet.messageboards.model.MBMessage;
20  
21  /**
22   * <a href="MBMessagePersistence.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       MBMessagePersistenceImpl
31   * @see       MBMessageUtil
32   * @generated
33   */
34  public interface MBMessagePersistence extends BasePersistence<MBMessage> {
35      public void cacheResult(
36          com.liferay.portlet.messageboards.model.MBMessage mbMessage);
37  
38      public void cacheResult(
39          java.util.List<com.liferay.portlet.messageboards.model.MBMessage> mbMessages);
40  
41      public com.liferay.portlet.messageboards.model.MBMessage create(
42          long messageId);
43  
44      public com.liferay.portlet.messageboards.model.MBMessage remove(
45          long messageId)
46          throws com.liferay.portal.kernel.exception.SystemException,
47              com.liferay.portlet.messageboards.NoSuchMessageException;
48  
49      public com.liferay.portlet.messageboards.model.MBMessage updateImpl(
50          com.liferay.portlet.messageboards.model.MBMessage mbMessage,
51          boolean merge)
52          throws com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portlet.messageboards.model.MBMessage findByPrimaryKey(
55          long messageId)
56          throws com.liferay.portal.kernel.exception.SystemException,
57              com.liferay.portlet.messageboards.NoSuchMessageException;
58  
59      public com.liferay.portlet.messageboards.model.MBMessage fetchByPrimaryKey(
60          long messageId)
61          throws com.liferay.portal.kernel.exception.SystemException;
62  
63      public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
64          java.lang.String uuid)
65          throws com.liferay.portal.kernel.exception.SystemException;
66  
67      public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
68          java.lang.String uuid, int start, int end)
69          throws com.liferay.portal.kernel.exception.SystemException;
70  
71      public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
72          java.lang.String uuid, int start, int end,
73          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74          throws com.liferay.portal.kernel.exception.SystemException;
75  
76      public com.liferay.portlet.messageboards.model.MBMessage findByUuid_First(
77          java.lang.String uuid,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException,
80              com.liferay.portlet.messageboards.NoSuchMessageException;
81  
82      public com.liferay.portlet.messageboards.model.MBMessage findByUuid_Last(
83          java.lang.String uuid,
84          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85          throws com.liferay.portal.kernel.exception.SystemException,
86              com.liferay.portlet.messageboards.NoSuchMessageException;
87  
88      public com.liferay.portlet.messageboards.model.MBMessage[] findByUuid_PrevAndNext(
89          long messageId, java.lang.String uuid,
90          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91          throws com.liferay.portal.kernel.exception.SystemException,
92              com.liferay.portlet.messageboards.NoSuchMessageException;
93  
94      public com.liferay.portlet.messageboards.model.MBMessage findByUUID_G(
95          java.lang.String uuid, long groupId)
96          throws com.liferay.portal.kernel.exception.SystemException,
97              com.liferay.portlet.messageboards.NoSuchMessageException;
98  
99      public com.liferay.portlet.messageboards.model.MBMessage fetchByUUID_G(
100         java.lang.String uuid, long groupId)
101         throws com.liferay.portal.kernel.exception.SystemException;
102 
103     public com.liferay.portlet.messageboards.model.MBMessage fetchByUUID_G(
104         java.lang.String uuid, long groupId, boolean retrieveFromCache)
105         throws com.liferay.portal.kernel.exception.SystemException;
106 
107     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
108         long groupId)
109         throws com.liferay.portal.kernel.exception.SystemException;
110 
111     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
112         long groupId, int start, int end)
113         throws com.liferay.portal.kernel.exception.SystemException;
114 
115     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
116         long groupId, int start, int end,
117         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
118         throws com.liferay.portal.kernel.exception.SystemException;
119 
120     public com.liferay.portlet.messageboards.model.MBMessage findByGroupId_First(
121         long groupId,
122         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
123         throws com.liferay.portal.kernel.exception.SystemException,
124             com.liferay.portlet.messageboards.NoSuchMessageException;
125 
126     public com.liferay.portlet.messageboards.model.MBMessage findByGroupId_Last(
127         long groupId,
128         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
129         throws com.liferay.portal.kernel.exception.SystemException,
130             com.liferay.portlet.messageboards.NoSuchMessageException;
131 
132     public com.liferay.portlet.messageboards.model.MBMessage[] findByGroupId_PrevAndNext(
133         long messageId, long groupId,
134         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135         throws com.liferay.portal.kernel.exception.SystemException,
136             com.liferay.portlet.messageboards.NoSuchMessageException;
137 
138     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
139         long companyId)
140         throws com.liferay.portal.kernel.exception.SystemException;
141 
142     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
143         long companyId, int start, int end)
144         throws com.liferay.portal.kernel.exception.SystemException;
145 
146     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
147         long companyId, int start, int end,
148         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149         throws com.liferay.portal.kernel.exception.SystemException;
150 
151     public com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_First(
152         long companyId,
153         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154         throws com.liferay.portal.kernel.exception.SystemException,
155             com.liferay.portlet.messageboards.NoSuchMessageException;
156 
157     public com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_Last(
158         long companyId,
159         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160         throws com.liferay.portal.kernel.exception.SystemException,
161             com.liferay.portlet.messageboards.NoSuchMessageException;
162 
163     public com.liferay.portlet.messageboards.model.MBMessage[] findByCompanyId_PrevAndNext(
164         long messageId, long companyId,
165         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166         throws com.liferay.portal.kernel.exception.SystemException,
167             com.liferay.portlet.messageboards.NoSuchMessageException;
168 
169     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
170         long threadId)
171         throws com.liferay.portal.kernel.exception.SystemException;
172 
173     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
174         long threadId, int start, int end)
175         throws com.liferay.portal.kernel.exception.SystemException;
176 
177     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
178         long threadId, int start, int end,
179         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180         throws com.liferay.portal.kernel.exception.SystemException;
181 
182     public com.liferay.portlet.messageboards.model.MBMessage findByThreadId_First(
183         long threadId,
184         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
185         throws com.liferay.portal.kernel.exception.SystemException,
186             com.liferay.portlet.messageboards.NoSuchMessageException;
187 
188     public com.liferay.portlet.messageboards.model.MBMessage findByThreadId_Last(
189         long threadId,
190         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
191         throws com.liferay.portal.kernel.exception.SystemException,
192             com.liferay.portlet.messageboards.NoSuchMessageException;
193 
194     public com.liferay.portlet.messageboards.model.MBMessage[] findByThreadId_PrevAndNext(
195         long messageId, long threadId,
196         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
197         throws com.liferay.portal.kernel.exception.SystemException,
198             com.liferay.portlet.messageboards.NoSuchMessageException;
199 
200     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
201         long threadId)
202         throws com.liferay.portal.kernel.exception.SystemException;
203 
204     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
205         long threadId, int start, int end)
206         throws com.liferay.portal.kernel.exception.SystemException;
207 
208     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
209         long threadId, int start, int end,
210         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
211         throws com.liferay.portal.kernel.exception.SystemException;
212 
213     public com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_First(
214         long threadId,
215         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
216         throws com.liferay.portal.kernel.exception.SystemException,
217             com.liferay.portlet.messageboards.NoSuchMessageException;
218 
219     public com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_Last(
220         long threadId,
221         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222         throws com.liferay.portal.kernel.exception.SystemException,
223             com.liferay.portlet.messageboards.NoSuchMessageException;
224 
225     public com.liferay.portlet.messageboards.model.MBMessage[] findByThreadReplies_PrevAndNext(
226         long messageId, long threadId,
227         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
228         throws com.liferay.portal.kernel.exception.SystemException,
229             com.liferay.portlet.messageboards.NoSuchMessageException;
230 
231     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
232         long groupId, long userId)
233         throws com.liferay.portal.kernel.exception.SystemException;
234 
235     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
236         long groupId, long userId, int start, int end)
237         throws com.liferay.portal.kernel.exception.SystemException;
238 
239     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
240         long groupId, long userId, int start, int end,
241         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
242         throws com.liferay.portal.kernel.exception.SystemException;
243 
244     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_First(
245         long groupId, long userId,
246         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
247         throws com.liferay.portal.kernel.exception.SystemException,
248             com.liferay.portlet.messageboards.NoSuchMessageException;
249 
250     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_Last(
251         long groupId, long userId,
252         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
253         throws com.liferay.portal.kernel.exception.SystemException,
254             com.liferay.portlet.messageboards.NoSuchMessageException;
255 
256     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_PrevAndNext(
257         long messageId, long groupId, long userId,
258         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
259         throws com.liferay.portal.kernel.exception.SystemException,
260             com.liferay.portlet.messageboards.NoSuchMessageException;
261 
262     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
263         long groupId, long categoryId)
264         throws com.liferay.portal.kernel.exception.SystemException;
265 
266     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
267         long groupId, long categoryId, int start, int end)
268         throws com.liferay.portal.kernel.exception.SystemException;
269 
270     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
271         long groupId, long categoryId, int start, int end,
272         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
273         throws com.liferay.portal.kernel.exception.SystemException;
274 
275     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_First(
276         long groupId, long categoryId,
277         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
278         throws com.liferay.portal.kernel.exception.SystemException,
279             com.liferay.portlet.messageboards.NoSuchMessageException;
280 
281     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_Last(
282         long groupId, long categoryId,
283         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
284         throws com.liferay.portal.kernel.exception.SystemException,
285             com.liferay.portlet.messageboards.NoSuchMessageException;
286 
287     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_PrevAndNext(
288         long messageId, long groupId, long categoryId,
289         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
290         throws com.liferay.portal.kernel.exception.SystemException,
291             com.liferay.portlet.messageboards.NoSuchMessageException;
292 
293     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
294         long groupId, int status)
295         throws com.liferay.portal.kernel.exception.SystemException;
296 
297     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
298         long groupId, int status, int start, int end)
299         throws com.liferay.portal.kernel.exception.SystemException;
300 
301     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
302         long groupId, int status, int start, int end,
303         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
304         throws com.liferay.portal.kernel.exception.SystemException;
305 
306     public com.liferay.portlet.messageboards.model.MBMessage findByG_S_First(
307         long groupId, int status,
308         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
309         throws com.liferay.portal.kernel.exception.SystemException,
310             com.liferay.portlet.messageboards.NoSuchMessageException;
311 
312     public com.liferay.portlet.messageboards.model.MBMessage findByG_S_Last(
313         long groupId, int status,
314         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
315         throws com.liferay.portal.kernel.exception.SystemException,
316             com.liferay.portlet.messageboards.NoSuchMessageException;
317 
318     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_S_PrevAndNext(
319         long messageId, long groupId, int status,
320         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
321         throws com.liferay.portal.kernel.exception.SystemException,
322             com.liferay.portlet.messageboards.NoSuchMessageException;
323 
324     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
325         long companyId, int status)
326         throws com.liferay.portal.kernel.exception.SystemException;
327 
328     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
329         long companyId, int status, int start, int end)
330         throws com.liferay.portal.kernel.exception.SystemException;
331 
332     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
333         long companyId, int status, int start, int end,
334         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
335         throws com.liferay.portal.kernel.exception.SystemException;
336 
337     public com.liferay.portlet.messageboards.model.MBMessage findByC_S_First(
338         long companyId, int status,
339         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
340         throws com.liferay.portal.kernel.exception.SystemException,
341             com.liferay.portlet.messageboards.NoSuchMessageException;
342 
343     public com.liferay.portlet.messageboards.model.MBMessage findByC_S_Last(
344         long companyId, int status,
345         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
346         throws com.liferay.portal.kernel.exception.SystemException,
347             com.liferay.portlet.messageboards.NoSuchMessageException;
348 
349     public com.liferay.portlet.messageboards.model.MBMessage[] findByC_S_PrevAndNext(
350         long messageId, long companyId, int status,
351         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
352         throws com.liferay.portal.kernel.exception.SystemException,
353             com.liferay.portlet.messageboards.NoSuchMessageException;
354 
355     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
356         long classNameId, long classPK)
357         throws com.liferay.portal.kernel.exception.SystemException;
358 
359     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
360         long classNameId, long classPK, int start, int end)
361         throws com.liferay.portal.kernel.exception.SystemException;
362 
363     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
364         long classNameId, long classPK, int start, int end,
365         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
366         throws com.liferay.portal.kernel.exception.SystemException;
367 
368     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_First(
369         long classNameId, long classPK,
370         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
371         throws com.liferay.portal.kernel.exception.SystemException,
372             com.liferay.portlet.messageboards.NoSuchMessageException;
373 
374     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_Last(
375         long classNameId, long classPK,
376         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
377         throws com.liferay.portal.kernel.exception.SystemException,
378             com.liferay.portlet.messageboards.NoSuchMessageException;
379 
380     public com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_PrevAndNext(
381         long messageId, long classNameId, long classPK,
382         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
383         throws com.liferay.portal.kernel.exception.SystemException,
384             com.liferay.portlet.messageboards.NoSuchMessageException;
385 
386     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
387         long threadId, long parentMessageId)
388         throws com.liferay.portal.kernel.exception.SystemException;
389 
390     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
391         long threadId, long parentMessageId, int start, int end)
392         throws com.liferay.portal.kernel.exception.SystemException;
393 
394     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
395         long threadId, long parentMessageId, int start, int end,
396         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
397         throws com.liferay.portal.kernel.exception.SystemException;
398 
399     public com.liferay.portlet.messageboards.model.MBMessage findByT_P_First(
400         long threadId, long parentMessageId,
401         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
402         throws com.liferay.portal.kernel.exception.SystemException,
403             com.liferay.portlet.messageboards.NoSuchMessageException;
404 
405     public com.liferay.portlet.messageboards.model.MBMessage findByT_P_Last(
406         long threadId, long parentMessageId,
407         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
408         throws com.liferay.portal.kernel.exception.SystemException,
409             com.liferay.portlet.messageboards.NoSuchMessageException;
410 
411     public com.liferay.portlet.messageboards.model.MBMessage[] findByT_P_PrevAndNext(
412         long messageId, long threadId, long parentMessageId,
413         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
414         throws com.liferay.portal.kernel.exception.SystemException,
415             com.liferay.portlet.messageboards.NoSuchMessageException;
416 
417     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
418         long threadId, int status)
419         throws com.liferay.portal.kernel.exception.SystemException;
420 
421     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
422         long threadId, int status, int start, int end)
423         throws com.liferay.portal.kernel.exception.SystemException;
424 
425     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
426         long threadId, int status, int start, int end,
427         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
428         throws com.liferay.portal.kernel.exception.SystemException;
429 
430     public com.liferay.portlet.messageboards.model.MBMessage findByT_S_First(
431         long threadId, int status,
432         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
433         throws com.liferay.portal.kernel.exception.SystemException,
434             com.liferay.portlet.messageboards.NoSuchMessageException;
435 
436     public com.liferay.portlet.messageboards.model.MBMessage findByT_S_Last(
437         long threadId, int status,
438         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
439         throws com.liferay.portal.kernel.exception.SystemException,
440             com.liferay.portlet.messageboards.NoSuchMessageException;
441 
442     public com.liferay.portlet.messageboards.model.MBMessage[] findByT_S_PrevAndNext(
443         long messageId, long threadId, int status,
444         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
445         throws com.liferay.portal.kernel.exception.SystemException,
446             com.liferay.portlet.messageboards.NoSuchMessageException;
447 
448     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
449         long threadId, int status)
450         throws com.liferay.portal.kernel.exception.SystemException;
451 
452     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
453         long threadId, int status, int start, int end)
454         throws com.liferay.portal.kernel.exception.SystemException;
455 
456     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
457         long threadId, int status, int start, int end,
458         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
459         throws com.liferay.portal.kernel.exception.SystemException;
460 
461     public com.liferay.portlet.messageboards.model.MBMessage findByTR_S_First(
462         long threadId, int status,
463         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
464         throws com.liferay.portal.kernel.exception.SystemException,
465             com.liferay.portlet.messageboards.NoSuchMessageException;
466 
467     public com.liferay.portlet.messageboards.model.MBMessage findByTR_S_Last(
468         long threadId, int status,
469         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
470         throws com.liferay.portal.kernel.exception.SystemException,
471             com.liferay.portlet.messageboards.NoSuchMessageException;
472 
473     public com.liferay.portlet.messageboards.model.MBMessage[] findByTR_S_PrevAndNext(
474         long messageId, long threadId, int status,
475         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
476         throws com.liferay.portal.kernel.exception.SystemException,
477             com.liferay.portlet.messageboards.NoSuchMessageException;
478 
479     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
480         long groupId, long userId, int status)
481         throws com.liferay.portal.kernel.exception.SystemException;
482 
483     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
484         long groupId, long userId, int status, int start, int end)
485         throws com.liferay.portal.kernel.exception.SystemException;
486 
487     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
488         long groupId, long userId, int status, int start, int end,
489         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
490         throws com.liferay.portal.kernel.exception.SystemException;
491 
492     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_S_First(
493         long groupId, long userId, int status,
494         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
495         throws com.liferay.portal.kernel.exception.SystemException,
496             com.liferay.portlet.messageboards.NoSuchMessageException;
497 
498     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_S_Last(
499         long groupId, long userId, int status,
500         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
501         throws com.liferay.portal.kernel.exception.SystemException,
502             com.liferay.portlet.messageboards.NoSuchMessageException;
503 
504     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_S_PrevAndNext(
505         long messageId, long groupId, long userId, int status,
506         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
507         throws com.liferay.portal.kernel.exception.SystemException,
508             com.liferay.portlet.messageboards.NoSuchMessageException;
509 
510     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
511         long groupId, long categoryId, long threadId)
512         throws com.liferay.portal.kernel.exception.SystemException;
513 
514     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
515         long groupId, long categoryId, long threadId, int start, int end)
516         throws com.liferay.portal.kernel.exception.SystemException;
517 
518     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
519         long groupId, long categoryId, long threadId, int start, int end,
520         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
521         throws com.liferay.portal.kernel.exception.SystemException;
522 
523     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_First(
524         long groupId, long categoryId, long threadId,
525         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
526         throws com.liferay.portal.kernel.exception.SystemException,
527             com.liferay.portlet.messageboards.NoSuchMessageException;
528 
529     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_Last(
530         long groupId, long categoryId, long threadId,
531         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
532         throws com.liferay.portal.kernel.exception.SystemException,
533             com.liferay.portlet.messageboards.NoSuchMessageException;
534 
535     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_T_PrevAndNext(
536         long messageId, long groupId, long categoryId, long threadId,
537         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
538         throws com.liferay.portal.kernel.exception.SystemException,
539             com.liferay.portlet.messageboards.NoSuchMessageException;
540 
541     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
542         long groupId, long categoryId, int status)
543         throws com.liferay.portal.kernel.exception.SystemException;
544 
545     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
546         long groupId, long categoryId, int status, int start, int end)
547         throws com.liferay.portal.kernel.exception.SystemException;
548 
549     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
550         long groupId, long categoryId, int status, int start, int end,
551         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
552         throws com.liferay.portal.kernel.exception.SystemException;
553 
554     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_S_First(
555         long groupId, long categoryId, int status,
556         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
557         throws com.liferay.portal.kernel.exception.SystemException,
558             com.liferay.portlet.messageboards.NoSuchMessageException;
559 
560     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_S_Last(
561         long groupId, long categoryId, int status,
562         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
563         throws com.liferay.portal.kernel.exception.SystemException,
564             com.liferay.portlet.messageboards.NoSuchMessageException;
565 
566     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_S_PrevAndNext(
567         long messageId, long groupId, long categoryId, int status,
568         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
569         throws com.liferay.portal.kernel.exception.SystemException,
570             com.liferay.portlet.messageboards.NoSuchMessageException;
571 
572     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
573         long classNameId, long classPK, int status)
574         throws com.liferay.portal.kernel.exception.SystemException;
575 
576     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
577         long classNameId, long classPK, int status, int start, int end)
578         throws com.liferay.portal.kernel.exception.SystemException;
579 
580     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
581         long classNameId, long classPK, int status, int start, int end,
582         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
583         throws com.liferay.portal.kernel.exception.SystemException;
584 
585     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_S_First(
586         long classNameId, long classPK, int status,
587         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
588         throws com.liferay.portal.kernel.exception.SystemException,
589             com.liferay.portlet.messageboards.NoSuchMessageException;
590 
591     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_S_Last(
592         long classNameId, long classPK, int status,
593         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
594         throws com.liferay.portal.kernel.exception.SystemException,
595             com.liferay.portlet.messageboards.NoSuchMessageException;
596 
597     public com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_S_PrevAndNext(
598         long messageId, long classNameId, long classPK, int status,
599         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
600         throws com.liferay.portal.kernel.exception.SystemException,
601             com.liferay.portlet.messageboards.NoSuchMessageException;
602 
603     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
604         long groupId, long categoryId, long threadId, int status)
605         throws com.liferay.portal.kernel.exception.SystemException;
606 
607     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
608         long groupId, long categoryId, long threadId, int status, int start,
609         int end) throws com.liferay.portal.kernel.exception.SystemException;
610 
611     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
612         long groupId, long categoryId, long threadId, int status, int start,
613         int end,
614         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
615         throws com.liferay.portal.kernel.exception.SystemException;
616 
617     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_S_First(
618         long groupId, long categoryId, long threadId, int status,
619         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
620         throws com.liferay.portal.kernel.exception.SystemException,
621             com.liferay.portlet.messageboards.NoSuchMessageException;
622 
623     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_S_Last(
624         long groupId, long categoryId, long threadId, int status,
625         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
626         throws com.liferay.portal.kernel.exception.SystemException,
627             com.liferay.portlet.messageboards.NoSuchMessageException;
628 
629     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_T_S_PrevAndNext(
630         long messageId, long groupId, long categoryId, long threadId,
631         int status,
632         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
633         throws com.liferay.portal.kernel.exception.SystemException,
634             com.liferay.portlet.messageboards.NoSuchMessageException;
635 
636     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll()
637         throws com.liferay.portal.kernel.exception.SystemException;
638 
639     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
640         int start, int end)
641         throws com.liferay.portal.kernel.exception.SystemException;
642 
643     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
644         int start, int end,
645         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
646         throws com.liferay.portal.kernel.exception.SystemException;
647 
648     public void removeByUuid(java.lang.String uuid)
649         throws com.liferay.portal.kernel.exception.SystemException;
650 
651     public void removeByUUID_G(java.lang.String uuid, long groupId)
652         throws com.liferay.portal.kernel.exception.SystemException,
653             com.liferay.portlet.messageboards.NoSuchMessageException;
654 
655     public void removeByGroupId(long groupId)
656         throws com.liferay.portal.kernel.exception.SystemException;
657 
658     public void removeByCompanyId(long companyId)
659         throws com.liferay.portal.kernel.exception.SystemException;
660 
661     public void removeByThreadId(long threadId)
662         throws com.liferay.portal.kernel.exception.SystemException;
663 
664     public void removeByThreadReplies(long threadId)
665         throws com.liferay.portal.kernel.exception.SystemException;
666 
667     public void removeByG_U(long groupId, long userId)
668         throws com.liferay.portal.kernel.exception.SystemException;
669 
670     public void removeByG_C(long groupId, long categoryId)
671         throws com.liferay.portal.kernel.exception.SystemException;
672 
673     public void removeByG_S(long groupId, int status)
674         throws com.liferay.portal.kernel.exception.SystemException;
675 
676     public void removeByC_S(long companyId, int status)
677         throws com.liferay.portal.kernel.exception.SystemException;
678 
679     public void removeByC_C(long classNameId, long classPK)
680         throws com.liferay.portal.kernel.exception.SystemException;
681 
682     public void removeByT_P(long threadId, long parentMessageId)
683         throws com.liferay.portal.kernel.exception.SystemException;
684 
685     public void removeByT_S(long threadId, int status)
686         throws com.liferay.portal.kernel.exception.SystemException;
687 
688     public void removeByTR_S(long threadId, int status)
689         throws com.liferay.portal.kernel.exception.SystemException;
690 
691     public void removeByG_U_S(long groupId, long userId, int status)
692         throws com.liferay.portal.kernel.exception.SystemException;
693 
694     public void removeByG_C_T(long groupId, long categoryId, long threadId)
695         throws com.liferay.portal.kernel.exception.SystemException;
696 
697     public void removeByG_C_S(long groupId, long categoryId, int status)
698         throws com.liferay.portal.kernel.exception.SystemException;
699 
700     public void removeByC_C_S(long classNameId, long classPK, int status)
701         throws com.liferay.portal.kernel.exception.SystemException;
702 
703     public void removeByG_C_T_S(long groupId, long categoryId, long threadId,
704         int status) throws com.liferay.portal.kernel.exception.SystemException;
705 
706     public void removeAll()
707         throws com.liferay.portal.kernel.exception.SystemException;
708 
709     public int countByUuid(java.lang.String uuid)
710         throws com.liferay.portal.kernel.exception.SystemException;
711 
712     public int countByUUID_G(java.lang.String uuid, long groupId)
713         throws com.liferay.portal.kernel.exception.SystemException;
714 
715     public int countByGroupId(long groupId)
716         throws com.liferay.portal.kernel.exception.SystemException;
717 
718     public int countByCompanyId(long companyId)
719         throws com.liferay.portal.kernel.exception.SystemException;
720 
721     public int countByThreadId(long threadId)
722         throws com.liferay.portal.kernel.exception.SystemException;
723 
724     public int countByThreadReplies(long threadId)
725         throws com.liferay.portal.kernel.exception.SystemException;
726 
727     public int countByG_U(long groupId, long userId)
728         throws com.liferay.portal.kernel.exception.SystemException;
729 
730     public int countByG_C(long groupId, long categoryId)
731         throws com.liferay.portal.kernel.exception.SystemException;
732 
733     public int countByG_S(long groupId, int status)
734         throws com.liferay.portal.kernel.exception.SystemException;
735 
736     public int countByC_S(long companyId, int status)
737         throws com.liferay.portal.kernel.exception.SystemException;
738 
739     public int countByC_C(long classNameId, long classPK)
740         throws com.liferay.portal.kernel.exception.SystemException;
741 
742     public int countByT_P(long threadId, long parentMessageId)
743         throws com.liferay.portal.kernel.exception.SystemException;
744 
745     public int countByT_S(long threadId, int status)
746         throws com.liferay.portal.kernel.exception.SystemException;
747 
748     public int countByTR_S(long threadId, int status)
749         throws com.liferay.portal.kernel.exception.SystemException;
750 
751     public int countByG_U_S(long groupId, long userId, int status)
752         throws com.liferay.portal.kernel.exception.SystemException;
753 
754     public int countByG_C_T(long groupId, long categoryId, long threadId)
755         throws com.liferay.portal.kernel.exception.SystemException;
756 
757     public int countByG_C_S(long groupId, long categoryId, int status)
758         throws com.liferay.portal.kernel.exception.SystemException;
759 
760     public int countByC_C_S(long classNameId, long classPK, int status)
761         throws com.liferay.portal.kernel.exception.SystemException;
762 
763     public int countByG_C_T_S(long groupId, long categoryId, long threadId,
764         int status) throws com.liferay.portal.kernel.exception.SystemException;
765 
766     public int countAll()
767         throws com.liferay.portal.kernel.exception.SystemException;
768 }