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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
118         throws com.liferay.portal.kernel.exception.SystemException;
119 
120     public com.liferay.portlet.messageboards.model.MBMessage findByGroupId_First(
121         long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
122         throws com.liferay.portal.kernel.exception.SystemException,
123             com.liferay.portlet.messageboards.NoSuchMessageException;
124 
125     public com.liferay.portlet.messageboards.model.MBMessage findByGroupId_Last(
126         long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
127         throws com.liferay.portal.kernel.exception.SystemException,
128             com.liferay.portlet.messageboards.NoSuchMessageException;
129 
130     public com.liferay.portlet.messageboards.model.MBMessage[] findByGroupId_PrevAndNext(
131         long messageId, long groupId,
132         com.liferay.portal.kernel.util.OrderByComparator obc)
133         throws com.liferay.portal.kernel.exception.SystemException,
134             com.liferay.portlet.messageboards.NoSuchMessageException;
135 
136     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
137         long companyId)
138         throws com.liferay.portal.kernel.exception.SystemException;
139 
140     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
141         long companyId, int start, int end)
142         throws com.liferay.portal.kernel.exception.SystemException;
143 
144     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
145         long companyId, int start, int end,
146         com.liferay.portal.kernel.util.OrderByComparator obc)
147         throws com.liferay.portal.kernel.exception.SystemException;
148 
149     public com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_First(
150         long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
151         throws com.liferay.portal.kernel.exception.SystemException,
152             com.liferay.portlet.messageboards.NoSuchMessageException;
153 
154     public com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_Last(
155         long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
156         throws com.liferay.portal.kernel.exception.SystemException,
157             com.liferay.portlet.messageboards.NoSuchMessageException;
158 
159     public com.liferay.portlet.messageboards.model.MBMessage[] findByCompanyId_PrevAndNext(
160         long messageId, long companyId,
161         com.liferay.portal.kernel.util.OrderByComparator obc)
162         throws com.liferay.portal.kernel.exception.SystemException,
163             com.liferay.portlet.messageboards.NoSuchMessageException;
164 
165     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
166         long threadId)
167         throws com.liferay.portal.kernel.exception.SystemException;
168 
169     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
170         long threadId, int start, int end)
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         com.liferay.portal.kernel.util.OrderByComparator obc)
176         throws com.liferay.portal.kernel.exception.SystemException;
177 
178     public com.liferay.portlet.messageboards.model.MBMessage findByThreadId_First(
179         long threadId, com.liferay.portal.kernel.util.OrderByComparator obc)
180         throws com.liferay.portal.kernel.exception.SystemException,
181             com.liferay.portlet.messageboards.NoSuchMessageException;
182 
183     public com.liferay.portlet.messageboards.model.MBMessage findByThreadId_Last(
184         long threadId, com.liferay.portal.kernel.util.OrderByComparator obc)
185         throws com.liferay.portal.kernel.exception.SystemException,
186             com.liferay.portlet.messageboards.NoSuchMessageException;
187 
188     public com.liferay.portlet.messageboards.model.MBMessage[] findByThreadId_PrevAndNext(
189         long messageId, long threadId,
190         com.liferay.portal.kernel.util.OrderByComparator obc)
191         throws com.liferay.portal.kernel.exception.SystemException,
192             com.liferay.portlet.messageboards.NoSuchMessageException;
193 
194     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
195         long threadId)
196         throws com.liferay.portal.kernel.exception.SystemException;
197 
198     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
199         long threadId, int start, int end)
200         throws com.liferay.portal.kernel.exception.SystemException;
201 
202     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
203         long threadId, int start, int end,
204         com.liferay.portal.kernel.util.OrderByComparator obc)
205         throws com.liferay.portal.kernel.exception.SystemException;
206 
207     public com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_First(
208         long threadId, com.liferay.portal.kernel.util.OrderByComparator obc)
209         throws com.liferay.portal.kernel.exception.SystemException,
210             com.liferay.portlet.messageboards.NoSuchMessageException;
211 
212     public com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_Last(
213         long threadId, com.liferay.portal.kernel.util.OrderByComparator obc)
214         throws com.liferay.portal.kernel.exception.SystemException,
215             com.liferay.portlet.messageboards.NoSuchMessageException;
216 
217     public com.liferay.portlet.messageboards.model.MBMessage[] findByThreadReplies_PrevAndNext(
218         long messageId, long threadId,
219         com.liferay.portal.kernel.util.OrderByComparator obc)
220         throws com.liferay.portal.kernel.exception.SystemException,
221             com.liferay.portlet.messageboards.NoSuchMessageException;
222 
223     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
224         long groupId, long userId)
225         throws com.liferay.portal.kernel.exception.SystemException;
226 
227     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
228         long groupId, long userId, int start, int end)
229         throws com.liferay.portal.kernel.exception.SystemException;
230 
231     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
232         long groupId, long userId, int start, int end,
233         com.liferay.portal.kernel.util.OrderByComparator obc)
234         throws com.liferay.portal.kernel.exception.SystemException;
235 
236     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_First(
237         long groupId, long userId,
238         com.liferay.portal.kernel.util.OrderByComparator obc)
239         throws com.liferay.portal.kernel.exception.SystemException,
240             com.liferay.portlet.messageboards.NoSuchMessageException;
241 
242     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_Last(
243         long groupId, long userId,
244         com.liferay.portal.kernel.util.OrderByComparator obc)
245         throws com.liferay.portal.kernel.exception.SystemException,
246             com.liferay.portlet.messageboards.NoSuchMessageException;
247 
248     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_PrevAndNext(
249         long messageId, long groupId, long userId,
250         com.liferay.portal.kernel.util.OrderByComparator obc)
251         throws com.liferay.portal.kernel.exception.SystemException,
252             com.liferay.portlet.messageboards.NoSuchMessageException;
253 
254     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
255         long groupId, long categoryId)
256         throws com.liferay.portal.kernel.exception.SystemException;
257 
258     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
259         long groupId, long categoryId, int start, int end)
260         throws com.liferay.portal.kernel.exception.SystemException;
261 
262     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
263         long groupId, long categoryId, int start, int end,
264         com.liferay.portal.kernel.util.OrderByComparator obc)
265         throws com.liferay.portal.kernel.exception.SystemException;
266 
267     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_First(
268         long groupId, long categoryId,
269         com.liferay.portal.kernel.util.OrderByComparator obc)
270         throws com.liferay.portal.kernel.exception.SystemException,
271             com.liferay.portlet.messageboards.NoSuchMessageException;
272 
273     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_Last(
274         long groupId, long categoryId,
275         com.liferay.portal.kernel.util.OrderByComparator obc)
276         throws com.liferay.portal.kernel.exception.SystemException,
277             com.liferay.portlet.messageboards.NoSuchMessageException;
278 
279     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_PrevAndNext(
280         long messageId, long groupId, long categoryId,
281         com.liferay.portal.kernel.util.OrderByComparator obc)
282         throws com.liferay.portal.kernel.exception.SystemException,
283             com.liferay.portlet.messageboards.NoSuchMessageException;
284 
285     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
286         long groupId, int status)
287         throws com.liferay.portal.kernel.exception.SystemException;
288 
289     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
290         long groupId, int status, int start, int end)
291         throws com.liferay.portal.kernel.exception.SystemException;
292 
293     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
294         long groupId, int status, int start, int end,
295         com.liferay.portal.kernel.util.OrderByComparator obc)
296         throws com.liferay.portal.kernel.exception.SystemException;
297 
298     public com.liferay.portlet.messageboards.model.MBMessage findByG_S_First(
299         long groupId, int status,
300         com.liferay.portal.kernel.util.OrderByComparator obc)
301         throws com.liferay.portal.kernel.exception.SystemException,
302             com.liferay.portlet.messageboards.NoSuchMessageException;
303 
304     public com.liferay.portlet.messageboards.model.MBMessage findByG_S_Last(
305         long groupId, int status,
306         com.liferay.portal.kernel.util.OrderByComparator obc)
307         throws com.liferay.portal.kernel.exception.SystemException,
308             com.liferay.portlet.messageboards.NoSuchMessageException;
309 
310     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_S_PrevAndNext(
311         long messageId, long groupId, int status,
312         com.liferay.portal.kernel.util.OrderByComparator obc)
313         throws com.liferay.portal.kernel.exception.SystemException,
314             com.liferay.portlet.messageboards.NoSuchMessageException;
315 
316     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
317         long companyId, int status)
318         throws com.liferay.portal.kernel.exception.SystemException;
319 
320     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
321         long companyId, int status, int start, int end)
322         throws com.liferay.portal.kernel.exception.SystemException;
323 
324     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
325         long companyId, int status, int start, int end,
326         com.liferay.portal.kernel.util.OrderByComparator obc)
327         throws com.liferay.portal.kernel.exception.SystemException;
328 
329     public com.liferay.portlet.messageboards.model.MBMessage findByC_S_First(
330         long companyId, int status,
331         com.liferay.portal.kernel.util.OrderByComparator obc)
332         throws com.liferay.portal.kernel.exception.SystemException,
333             com.liferay.portlet.messageboards.NoSuchMessageException;
334 
335     public com.liferay.portlet.messageboards.model.MBMessage findByC_S_Last(
336         long companyId, int status,
337         com.liferay.portal.kernel.util.OrderByComparator obc)
338         throws com.liferay.portal.kernel.exception.SystemException,
339             com.liferay.portlet.messageboards.NoSuchMessageException;
340 
341     public com.liferay.portlet.messageboards.model.MBMessage[] findByC_S_PrevAndNext(
342         long messageId, long companyId, int status,
343         com.liferay.portal.kernel.util.OrderByComparator obc)
344         throws com.liferay.portal.kernel.exception.SystemException,
345             com.liferay.portlet.messageboards.NoSuchMessageException;
346 
347     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
348         long classNameId, long classPK)
349         throws com.liferay.portal.kernel.exception.SystemException;
350 
351     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
352         long classNameId, long classPK, int start, int end)
353         throws com.liferay.portal.kernel.exception.SystemException;
354 
355     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
356         long classNameId, long classPK, int start, int end,
357         com.liferay.portal.kernel.util.OrderByComparator obc)
358         throws com.liferay.portal.kernel.exception.SystemException;
359 
360     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_First(
361         long classNameId, long classPK,
362         com.liferay.portal.kernel.util.OrderByComparator obc)
363         throws com.liferay.portal.kernel.exception.SystemException,
364             com.liferay.portlet.messageboards.NoSuchMessageException;
365 
366     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_Last(
367         long classNameId, long classPK,
368         com.liferay.portal.kernel.util.OrderByComparator obc)
369         throws com.liferay.portal.kernel.exception.SystemException,
370             com.liferay.portlet.messageboards.NoSuchMessageException;
371 
372     public com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_PrevAndNext(
373         long messageId, long classNameId, long classPK,
374         com.liferay.portal.kernel.util.OrderByComparator obc)
375         throws com.liferay.portal.kernel.exception.SystemException,
376             com.liferay.portlet.messageboards.NoSuchMessageException;
377 
378     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
379         long threadId, long parentMessageId)
380         throws com.liferay.portal.kernel.exception.SystemException;
381 
382     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
383         long threadId, long parentMessageId, int start, int end)
384         throws com.liferay.portal.kernel.exception.SystemException;
385 
386     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
387         long threadId, long parentMessageId, int start, int end,
388         com.liferay.portal.kernel.util.OrderByComparator obc)
389         throws com.liferay.portal.kernel.exception.SystemException;
390 
391     public com.liferay.portlet.messageboards.model.MBMessage findByT_P_First(
392         long threadId, long parentMessageId,
393         com.liferay.portal.kernel.util.OrderByComparator obc)
394         throws com.liferay.portal.kernel.exception.SystemException,
395             com.liferay.portlet.messageboards.NoSuchMessageException;
396 
397     public com.liferay.portlet.messageboards.model.MBMessage findByT_P_Last(
398         long threadId, long parentMessageId,
399         com.liferay.portal.kernel.util.OrderByComparator obc)
400         throws com.liferay.portal.kernel.exception.SystemException,
401             com.liferay.portlet.messageboards.NoSuchMessageException;
402 
403     public com.liferay.portlet.messageboards.model.MBMessage[] findByT_P_PrevAndNext(
404         long messageId, long threadId, long parentMessageId,
405         com.liferay.portal.kernel.util.OrderByComparator obc)
406         throws com.liferay.portal.kernel.exception.SystemException,
407             com.liferay.portlet.messageboards.NoSuchMessageException;
408 
409     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
410         long threadId, int status)
411         throws com.liferay.portal.kernel.exception.SystemException;
412 
413     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
414         long threadId, int status, int start, int end)
415         throws com.liferay.portal.kernel.exception.SystemException;
416 
417     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
418         long threadId, int status, int start, int end,
419         com.liferay.portal.kernel.util.OrderByComparator obc)
420         throws com.liferay.portal.kernel.exception.SystemException;
421 
422     public com.liferay.portlet.messageboards.model.MBMessage findByT_S_First(
423         long threadId, int status,
424         com.liferay.portal.kernel.util.OrderByComparator obc)
425         throws com.liferay.portal.kernel.exception.SystemException,
426             com.liferay.portlet.messageboards.NoSuchMessageException;
427 
428     public com.liferay.portlet.messageboards.model.MBMessage findByT_S_Last(
429         long threadId, int status,
430         com.liferay.portal.kernel.util.OrderByComparator obc)
431         throws com.liferay.portal.kernel.exception.SystemException,
432             com.liferay.portlet.messageboards.NoSuchMessageException;
433 
434     public com.liferay.portlet.messageboards.model.MBMessage[] findByT_S_PrevAndNext(
435         long messageId, long threadId, int status,
436         com.liferay.portal.kernel.util.OrderByComparator obc)
437         throws com.liferay.portal.kernel.exception.SystemException,
438             com.liferay.portlet.messageboards.NoSuchMessageException;
439 
440     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
441         long threadId, int status)
442         throws com.liferay.portal.kernel.exception.SystemException;
443 
444     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
445         long threadId, int status, int start, int end)
446         throws com.liferay.portal.kernel.exception.SystemException;
447 
448     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
449         long threadId, int status, int start, int end,
450         com.liferay.portal.kernel.util.OrderByComparator obc)
451         throws com.liferay.portal.kernel.exception.SystemException;
452 
453     public com.liferay.portlet.messageboards.model.MBMessage findByTR_S_First(
454         long threadId, int status,
455         com.liferay.portal.kernel.util.OrderByComparator obc)
456         throws com.liferay.portal.kernel.exception.SystemException,
457             com.liferay.portlet.messageboards.NoSuchMessageException;
458 
459     public com.liferay.portlet.messageboards.model.MBMessage findByTR_S_Last(
460         long threadId, int status,
461         com.liferay.portal.kernel.util.OrderByComparator obc)
462         throws com.liferay.portal.kernel.exception.SystemException,
463             com.liferay.portlet.messageboards.NoSuchMessageException;
464 
465     public com.liferay.portlet.messageboards.model.MBMessage[] findByTR_S_PrevAndNext(
466         long messageId, long threadId, int status,
467         com.liferay.portal.kernel.util.OrderByComparator obc)
468         throws com.liferay.portal.kernel.exception.SystemException,
469             com.liferay.portlet.messageboards.NoSuchMessageException;
470 
471     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
472         long groupId, long userId, int status)
473         throws com.liferay.portal.kernel.exception.SystemException;
474 
475     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
476         long groupId, long userId, int status, int start, int end)
477         throws com.liferay.portal.kernel.exception.SystemException;
478 
479     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
480         long groupId, long userId, int status, int start, int end,
481         com.liferay.portal.kernel.util.OrderByComparator obc)
482         throws com.liferay.portal.kernel.exception.SystemException;
483 
484     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_S_First(
485         long groupId, long userId, int status,
486         com.liferay.portal.kernel.util.OrderByComparator obc)
487         throws com.liferay.portal.kernel.exception.SystemException,
488             com.liferay.portlet.messageboards.NoSuchMessageException;
489 
490     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_S_Last(
491         long groupId, long userId, int status,
492         com.liferay.portal.kernel.util.OrderByComparator obc)
493         throws com.liferay.portal.kernel.exception.SystemException,
494             com.liferay.portlet.messageboards.NoSuchMessageException;
495 
496     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_S_PrevAndNext(
497         long messageId, long groupId, long userId, int status,
498         com.liferay.portal.kernel.util.OrderByComparator obc)
499         throws com.liferay.portal.kernel.exception.SystemException,
500             com.liferay.portlet.messageboards.NoSuchMessageException;
501 
502     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
503         long groupId, long categoryId, long threadId)
504         throws com.liferay.portal.kernel.exception.SystemException;
505 
506     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
507         long groupId, long categoryId, long threadId, int start, int end)
508         throws com.liferay.portal.kernel.exception.SystemException;
509 
510     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
511         long groupId, long categoryId, long threadId, int start, int end,
512         com.liferay.portal.kernel.util.OrderByComparator obc)
513         throws com.liferay.portal.kernel.exception.SystemException;
514 
515     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_First(
516         long groupId, long categoryId, long threadId,
517         com.liferay.portal.kernel.util.OrderByComparator obc)
518         throws com.liferay.portal.kernel.exception.SystemException,
519             com.liferay.portlet.messageboards.NoSuchMessageException;
520 
521     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_Last(
522         long groupId, long categoryId, long threadId,
523         com.liferay.portal.kernel.util.OrderByComparator obc)
524         throws com.liferay.portal.kernel.exception.SystemException,
525             com.liferay.portlet.messageboards.NoSuchMessageException;
526 
527     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_T_PrevAndNext(
528         long messageId, long groupId, long categoryId, long threadId,
529         com.liferay.portal.kernel.util.OrderByComparator obc)
530         throws com.liferay.portal.kernel.exception.SystemException,
531             com.liferay.portlet.messageboards.NoSuchMessageException;
532 
533     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
534         long groupId, long categoryId, int status)
535         throws com.liferay.portal.kernel.exception.SystemException;
536 
537     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
538         long groupId, long categoryId, int status, int start, int end)
539         throws com.liferay.portal.kernel.exception.SystemException;
540 
541     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
542         long groupId, long categoryId, int status, int start, int end,
543         com.liferay.portal.kernel.util.OrderByComparator obc)
544         throws com.liferay.portal.kernel.exception.SystemException;
545 
546     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_S_First(
547         long groupId, long categoryId, int status,
548         com.liferay.portal.kernel.util.OrderByComparator obc)
549         throws com.liferay.portal.kernel.exception.SystemException,
550             com.liferay.portlet.messageboards.NoSuchMessageException;
551 
552     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_S_Last(
553         long groupId, long categoryId, int status,
554         com.liferay.portal.kernel.util.OrderByComparator obc)
555         throws com.liferay.portal.kernel.exception.SystemException,
556             com.liferay.portlet.messageboards.NoSuchMessageException;
557 
558     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_S_PrevAndNext(
559         long messageId, long groupId, long categoryId, int status,
560         com.liferay.portal.kernel.util.OrderByComparator obc)
561         throws com.liferay.portal.kernel.exception.SystemException,
562             com.liferay.portlet.messageboards.NoSuchMessageException;
563 
564     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
565         long classNameId, long classPK, int status)
566         throws com.liferay.portal.kernel.exception.SystemException;
567 
568     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
569         long classNameId, long classPK, int status, int start, int end)
570         throws com.liferay.portal.kernel.exception.SystemException;
571 
572     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
573         long classNameId, long classPK, int status, int start, int end,
574         com.liferay.portal.kernel.util.OrderByComparator obc)
575         throws com.liferay.portal.kernel.exception.SystemException;
576 
577     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_S_First(
578         long classNameId, long classPK, int status,
579         com.liferay.portal.kernel.util.OrderByComparator obc)
580         throws com.liferay.portal.kernel.exception.SystemException,
581             com.liferay.portlet.messageboards.NoSuchMessageException;
582 
583     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_S_Last(
584         long classNameId, long classPK, int status,
585         com.liferay.portal.kernel.util.OrderByComparator obc)
586         throws com.liferay.portal.kernel.exception.SystemException,
587             com.liferay.portlet.messageboards.NoSuchMessageException;
588 
589     public com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_S_PrevAndNext(
590         long messageId, long classNameId, long classPK, int status,
591         com.liferay.portal.kernel.util.OrderByComparator obc)
592         throws com.liferay.portal.kernel.exception.SystemException,
593             com.liferay.portlet.messageboards.NoSuchMessageException;
594 
595     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
596         long groupId, long categoryId, long threadId, int status)
597         throws com.liferay.portal.kernel.exception.SystemException;
598 
599     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
600         long groupId, long categoryId, long threadId, int status, int start,
601         int end) throws com.liferay.portal.kernel.exception.SystemException;
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, int start,
605         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
606         throws com.liferay.portal.kernel.exception.SystemException;
607 
608     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_S_First(
609         long groupId, long categoryId, long threadId, int status,
610         com.liferay.portal.kernel.util.OrderByComparator obc)
611         throws com.liferay.portal.kernel.exception.SystemException,
612             com.liferay.portlet.messageboards.NoSuchMessageException;
613 
614     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_S_Last(
615         long groupId, long categoryId, long threadId, int status,
616         com.liferay.portal.kernel.util.OrderByComparator obc)
617         throws com.liferay.portal.kernel.exception.SystemException,
618             com.liferay.portlet.messageboards.NoSuchMessageException;
619 
620     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_T_S_PrevAndNext(
621         long messageId, long groupId, long categoryId, long threadId,
622         int status, com.liferay.portal.kernel.util.OrderByComparator obc)
623         throws com.liferay.portal.kernel.exception.SystemException,
624             com.liferay.portlet.messageboards.NoSuchMessageException;
625 
626     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll()
627         throws com.liferay.portal.kernel.exception.SystemException;
628 
629     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
630         int start, int end)
631         throws com.liferay.portal.kernel.exception.SystemException;
632 
633     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
634         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
635         throws com.liferay.portal.kernel.exception.SystemException;
636 
637     public void removeByUuid(java.lang.String uuid)
638         throws com.liferay.portal.kernel.exception.SystemException;
639 
640     public void removeByUUID_G(java.lang.String uuid, long groupId)
641         throws com.liferay.portal.kernel.exception.SystemException,
642             com.liferay.portlet.messageboards.NoSuchMessageException;
643 
644     public void removeByGroupId(long groupId)
645         throws com.liferay.portal.kernel.exception.SystemException;
646 
647     public void removeByCompanyId(long companyId)
648         throws com.liferay.portal.kernel.exception.SystemException;
649 
650     public void removeByThreadId(long threadId)
651         throws com.liferay.portal.kernel.exception.SystemException;
652 
653     public void removeByThreadReplies(long threadId)
654         throws com.liferay.portal.kernel.exception.SystemException;
655 
656     public void removeByG_U(long groupId, long userId)
657         throws com.liferay.portal.kernel.exception.SystemException;
658 
659     public void removeByG_C(long groupId, long categoryId)
660         throws com.liferay.portal.kernel.exception.SystemException;
661 
662     public void removeByG_S(long groupId, int status)
663         throws com.liferay.portal.kernel.exception.SystemException;
664 
665     public void removeByC_S(long companyId, int status)
666         throws com.liferay.portal.kernel.exception.SystemException;
667 
668     public void removeByC_C(long classNameId, long classPK)
669         throws com.liferay.portal.kernel.exception.SystemException;
670 
671     public void removeByT_P(long threadId, long parentMessageId)
672         throws com.liferay.portal.kernel.exception.SystemException;
673 
674     public void removeByT_S(long threadId, int status)
675         throws com.liferay.portal.kernel.exception.SystemException;
676 
677     public void removeByTR_S(long threadId, int status)
678         throws com.liferay.portal.kernel.exception.SystemException;
679 
680     public void removeByG_U_S(long groupId, long userId, int status)
681         throws com.liferay.portal.kernel.exception.SystemException;
682 
683     public void removeByG_C_T(long groupId, long categoryId, long threadId)
684         throws com.liferay.portal.kernel.exception.SystemException;
685 
686     public void removeByG_C_S(long groupId, long categoryId, int status)
687         throws com.liferay.portal.kernel.exception.SystemException;
688 
689     public void removeByC_C_S(long classNameId, long classPK, int status)
690         throws com.liferay.portal.kernel.exception.SystemException;
691 
692     public void removeByG_C_T_S(long groupId, long categoryId, long threadId,
693         int status) throws com.liferay.portal.kernel.exception.SystemException;
694 
695     public void removeAll()
696         throws com.liferay.portal.kernel.exception.SystemException;
697 
698     public int countByUuid(java.lang.String uuid)
699         throws com.liferay.portal.kernel.exception.SystemException;
700 
701     public int countByUUID_G(java.lang.String uuid, long groupId)
702         throws com.liferay.portal.kernel.exception.SystemException;
703 
704     public int countByGroupId(long groupId)
705         throws com.liferay.portal.kernel.exception.SystemException;
706 
707     public int countByCompanyId(long companyId)
708         throws com.liferay.portal.kernel.exception.SystemException;
709 
710     public int countByThreadId(long threadId)
711         throws com.liferay.portal.kernel.exception.SystemException;
712 
713     public int countByThreadReplies(long threadId)
714         throws com.liferay.portal.kernel.exception.SystemException;
715 
716     public int countByG_U(long groupId, long userId)
717         throws com.liferay.portal.kernel.exception.SystemException;
718 
719     public int countByG_C(long groupId, long categoryId)
720         throws com.liferay.portal.kernel.exception.SystemException;
721 
722     public int countByG_S(long groupId, int status)
723         throws com.liferay.portal.kernel.exception.SystemException;
724 
725     public int countByC_S(long companyId, int status)
726         throws com.liferay.portal.kernel.exception.SystemException;
727 
728     public int countByC_C(long classNameId, long classPK)
729         throws com.liferay.portal.kernel.exception.SystemException;
730 
731     public int countByT_P(long threadId, long parentMessageId)
732         throws com.liferay.portal.kernel.exception.SystemException;
733 
734     public int countByT_S(long threadId, int status)
735         throws com.liferay.portal.kernel.exception.SystemException;
736 
737     public int countByTR_S(long threadId, int status)
738         throws com.liferay.portal.kernel.exception.SystemException;
739 
740     public int countByG_U_S(long groupId, long userId, int status)
741         throws com.liferay.portal.kernel.exception.SystemException;
742 
743     public int countByG_C_T(long groupId, long categoryId, long threadId)
744         throws com.liferay.portal.kernel.exception.SystemException;
745 
746     public int countByG_C_S(long groupId, long categoryId, int status)
747         throws com.liferay.portal.kernel.exception.SystemException;
748 
749     public int countByC_C_S(long classNameId, long classPK, int status)
750         throws com.liferay.portal.kernel.exception.SystemException;
751 
752     public int countByG_C_T_S(long groupId, long categoryId, long threadId,
753         int status) throws com.liferay.portal.kernel.exception.SystemException;
754 
755     public int countAll()
756         throws com.liferay.portal.kernel.exception.SystemException;
757 }