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> filterFindByGroupId(
139         long groupId)
140         throws com.liferay.portal.kernel.exception.SystemException;
141 
142     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByGroupId(
143         long groupId, int start, int end)
144         throws com.liferay.portal.kernel.exception.SystemException;
145 
146     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByGroupId(
147         long groupId, int start, int end,
148         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149         throws com.liferay.portal.kernel.exception.SystemException;
150 
151     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
152         long companyId)
153         throws com.liferay.portal.kernel.exception.SystemException;
154 
155     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
156         long companyId, int start, int end)
157         throws com.liferay.portal.kernel.exception.SystemException;
158 
159     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
160         long companyId, int start, int end,
161         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
162         throws com.liferay.portal.kernel.exception.SystemException;
163 
164     public com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_First(
165         long companyId,
166         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167         throws com.liferay.portal.kernel.exception.SystemException,
168             com.liferay.portlet.messageboards.NoSuchMessageException;
169 
170     public com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_Last(
171         long companyId,
172         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173         throws com.liferay.portal.kernel.exception.SystemException,
174             com.liferay.portlet.messageboards.NoSuchMessageException;
175 
176     public com.liferay.portlet.messageboards.model.MBMessage[] findByCompanyId_PrevAndNext(
177         long messageId, long companyId,
178         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179         throws com.liferay.portal.kernel.exception.SystemException,
180             com.liferay.portlet.messageboards.NoSuchMessageException;
181 
182     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
183         long threadId)
184         throws com.liferay.portal.kernel.exception.SystemException;
185 
186     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
187         long threadId, int start, int end)
188         throws com.liferay.portal.kernel.exception.SystemException;
189 
190     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
191         long threadId, int start, int end,
192         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
193         throws com.liferay.portal.kernel.exception.SystemException;
194 
195     public com.liferay.portlet.messageboards.model.MBMessage findByThreadId_First(
196         long threadId,
197         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
198         throws com.liferay.portal.kernel.exception.SystemException,
199             com.liferay.portlet.messageboards.NoSuchMessageException;
200 
201     public com.liferay.portlet.messageboards.model.MBMessage findByThreadId_Last(
202         long threadId,
203         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
204         throws com.liferay.portal.kernel.exception.SystemException,
205             com.liferay.portlet.messageboards.NoSuchMessageException;
206 
207     public com.liferay.portlet.messageboards.model.MBMessage[] findByThreadId_PrevAndNext(
208         long messageId, long threadId,
209         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
210         throws com.liferay.portal.kernel.exception.SystemException,
211             com.liferay.portlet.messageboards.NoSuchMessageException;
212 
213     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
214         long threadId)
215         throws com.liferay.portal.kernel.exception.SystemException;
216 
217     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
218         long threadId, int start, int end)
219         throws com.liferay.portal.kernel.exception.SystemException;
220 
221     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
222         long threadId, int start, int end,
223         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
224         throws com.liferay.portal.kernel.exception.SystemException;
225 
226     public com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_First(
227         long threadId,
228         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
229         throws com.liferay.portal.kernel.exception.SystemException,
230             com.liferay.portlet.messageboards.NoSuchMessageException;
231 
232     public com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_Last(
233         long threadId,
234         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
235         throws com.liferay.portal.kernel.exception.SystemException,
236             com.liferay.portlet.messageboards.NoSuchMessageException;
237 
238     public com.liferay.portlet.messageboards.model.MBMessage[] findByThreadReplies_PrevAndNext(
239         long messageId, long threadId,
240         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
241         throws com.liferay.portal.kernel.exception.SystemException,
242             com.liferay.portlet.messageboards.NoSuchMessageException;
243 
244     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUserId(
245         long userId) throws com.liferay.portal.kernel.exception.SystemException;
246 
247     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUserId(
248         long userId, int start, int end)
249         throws com.liferay.portal.kernel.exception.SystemException;
250 
251     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUserId(
252         long userId, int start, int end,
253         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
254         throws com.liferay.portal.kernel.exception.SystemException;
255 
256     public com.liferay.portlet.messageboards.model.MBMessage findByUserId_First(
257         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 com.liferay.portlet.messageboards.model.MBMessage findByUserId_Last(
263         long userId,
264         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
265         throws com.liferay.portal.kernel.exception.SystemException,
266             com.liferay.portlet.messageboards.NoSuchMessageException;
267 
268     public com.liferay.portlet.messageboards.model.MBMessage[] findByUserId_PrevAndNext(
269         long messageId, long userId,
270         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
271         throws com.liferay.portal.kernel.exception.SystemException,
272             com.liferay.portlet.messageboards.NoSuchMessageException;
273 
274     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
275         long groupId, long userId)
276         throws com.liferay.portal.kernel.exception.SystemException;
277 
278     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
279         long groupId, long userId, int start, int end)
280         throws com.liferay.portal.kernel.exception.SystemException;
281 
282     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
283         long groupId, long userId, int start, int end,
284         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
285         throws com.liferay.portal.kernel.exception.SystemException;
286 
287     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_First(
288         long groupId, long userId,
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 com.liferay.portlet.messageboards.model.MBMessage findByG_U_Last(
294         long groupId, long userId,
295         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
296         throws com.liferay.portal.kernel.exception.SystemException,
297             com.liferay.portlet.messageboards.NoSuchMessageException;
298 
299     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_PrevAndNext(
300         long messageId, long groupId, long userId,
301         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
302         throws com.liferay.portal.kernel.exception.SystemException,
303             com.liferay.portlet.messageboards.NoSuchMessageException;
304 
305     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U(
306         long groupId, long userId)
307         throws com.liferay.portal.kernel.exception.SystemException;
308 
309     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U(
310         long groupId, long userId, int start, int end)
311         throws com.liferay.portal.kernel.exception.SystemException;
312 
313     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U(
314         long groupId, long userId, int start, int end,
315         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
316         throws com.liferay.portal.kernel.exception.SystemException;
317 
318     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
319         long groupId, long categoryId)
320         throws com.liferay.portal.kernel.exception.SystemException;
321 
322     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
323         long groupId, long categoryId, int start, int end)
324         throws com.liferay.portal.kernel.exception.SystemException;
325 
326     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
327         long groupId, long categoryId, int start, int end,
328         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
329         throws com.liferay.portal.kernel.exception.SystemException;
330 
331     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_First(
332         long groupId, long categoryId,
333         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
334         throws com.liferay.portal.kernel.exception.SystemException,
335             com.liferay.portlet.messageboards.NoSuchMessageException;
336 
337     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_Last(
338         long groupId, long categoryId,
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[] findByG_C_PrevAndNext(
344         long messageId, long groupId, long categoryId,
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 java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C(
350         long groupId, long categoryId)
351         throws com.liferay.portal.kernel.exception.SystemException;
352 
353     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C(
354         long groupId, long categoryId, int start, int end)
355         throws com.liferay.portal.kernel.exception.SystemException;
356 
357     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C(
358         long groupId, long categoryId, int start, int end,
359         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
360         throws com.liferay.portal.kernel.exception.SystemException;
361 
362     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
363         long groupId, int status)
364         throws com.liferay.portal.kernel.exception.SystemException;
365 
366     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
367         long groupId, int status, int start, int end)
368         throws com.liferay.portal.kernel.exception.SystemException;
369 
370     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
371         long groupId, int status, int start, int end,
372         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
373         throws com.liferay.portal.kernel.exception.SystemException;
374 
375     public com.liferay.portlet.messageboards.model.MBMessage findByG_S_First(
376         long groupId, int status,
377         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
378         throws com.liferay.portal.kernel.exception.SystemException,
379             com.liferay.portlet.messageboards.NoSuchMessageException;
380 
381     public com.liferay.portlet.messageboards.model.MBMessage findByG_S_Last(
382         long groupId, int status,
383         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
384         throws com.liferay.portal.kernel.exception.SystemException,
385             com.liferay.portlet.messageboards.NoSuchMessageException;
386 
387     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_S_PrevAndNext(
388         long messageId, long groupId, int status,
389         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
390         throws com.liferay.portal.kernel.exception.SystemException,
391             com.liferay.portlet.messageboards.NoSuchMessageException;
392 
393     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_S(
394         long groupId, int status)
395         throws com.liferay.portal.kernel.exception.SystemException;
396 
397     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_S(
398         long groupId, int status, int start, int end)
399         throws com.liferay.portal.kernel.exception.SystemException;
400 
401     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_S(
402         long groupId, int status, int start, int end,
403         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
404         throws com.liferay.portal.kernel.exception.SystemException;
405 
406     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
407         long companyId, int status)
408         throws com.liferay.portal.kernel.exception.SystemException;
409 
410     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
411         long companyId, int status, int start, int end)
412         throws com.liferay.portal.kernel.exception.SystemException;
413 
414     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
415         long companyId, int status, int start, int end,
416         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
417         throws com.liferay.portal.kernel.exception.SystemException;
418 
419     public com.liferay.portlet.messageboards.model.MBMessage findByC_S_First(
420         long companyId, int status,
421         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
422         throws com.liferay.portal.kernel.exception.SystemException,
423             com.liferay.portlet.messageboards.NoSuchMessageException;
424 
425     public com.liferay.portlet.messageboards.model.MBMessage findByC_S_Last(
426         long companyId, int status,
427         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
428         throws com.liferay.portal.kernel.exception.SystemException,
429             com.liferay.portlet.messageboards.NoSuchMessageException;
430 
431     public com.liferay.portlet.messageboards.model.MBMessage[] findByC_S_PrevAndNext(
432         long messageId, long companyId, int status,
433         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
434         throws com.liferay.portal.kernel.exception.SystemException,
435             com.liferay.portlet.messageboards.NoSuchMessageException;
436 
437     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
438         long classNameId, long classPK)
439         throws com.liferay.portal.kernel.exception.SystemException;
440 
441     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
442         long classNameId, long classPK, int start, int end)
443         throws com.liferay.portal.kernel.exception.SystemException;
444 
445     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
446         long classNameId, long classPK, int start, int end,
447         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
448         throws com.liferay.portal.kernel.exception.SystemException;
449 
450     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_First(
451         long classNameId, long classPK,
452         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
453         throws com.liferay.portal.kernel.exception.SystemException,
454             com.liferay.portlet.messageboards.NoSuchMessageException;
455 
456     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_Last(
457         long classNameId, long classPK,
458         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
459         throws com.liferay.portal.kernel.exception.SystemException,
460             com.liferay.portlet.messageboards.NoSuchMessageException;
461 
462     public com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_PrevAndNext(
463         long messageId, long classNameId, long classPK,
464         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
465         throws com.liferay.portal.kernel.exception.SystemException,
466             com.liferay.portlet.messageboards.NoSuchMessageException;
467 
468     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
469         long threadId, long parentMessageId)
470         throws com.liferay.portal.kernel.exception.SystemException;
471 
472     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
473         long threadId, long parentMessageId, int start, int end)
474         throws com.liferay.portal.kernel.exception.SystemException;
475 
476     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
477         long threadId, long parentMessageId, int start, int end,
478         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
479         throws com.liferay.portal.kernel.exception.SystemException;
480 
481     public com.liferay.portlet.messageboards.model.MBMessage findByT_P_First(
482         long threadId, long parentMessageId,
483         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
484         throws com.liferay.portal.kernel.exception.SystemException,
485             com.liferay.portlet.messageboards.NoSuchMessageException;
486 
487     public com.liferay.portlet.messageboards.model.MBMessage findByT_P_Last(
488         long threadId, long parentMessageId,
489         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
490         throws com.liferay.portal.kernel.exception.SystemException,
491             com.liferay.portlet.messageboards.NoSuchMessageException;
492 
493     public com.liferay.portlet.messageboards.model.MBMessage[] findByT_P_PrevAndNext(
494         long messageId, long threadId, long parentMessageId,
495         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
496         throws com.liferay.portal.kernel.exception.SystemException,
497             com.liferay.portlet.messageboards.NoSuchMessageException;
498 
499     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
500         long threadId, int status)
501         throws com.liferay.portal.kernel.exception.SystemException;
502 
503     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
504         long threadId, int status, int start, int end)
505         throws com.liferay.portal.kernel.exception.SystemException;
506 
507     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
508         long threadId, int status, int start, int end,
509         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
510         throws com.liferay.portal.kernel.exception.SystemException;
511 
512     public com.liferay.portlet.messageboards.model.MBMessage findByT_S_First(
513         long threadId, int status,
514         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
515         throws com.liferay.portal.kernel.exception.SystemException,
516             com.liferay.portlet.messageboards.NoSuchMessageException;
517 
518     public com.liferay.portlet.messageboards.model.MBMessage findByT_S_Last(
519         long threadId, int status,
520         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
521         throws com.liferay.portal.kernel.exception.SystemException,
522             com.liferay.portlet.messageboards.NoSuchMessageException;
523 
524     public com.liferay.portlet.messageboards.model.MBMessage[] findByT_S_PrevAndNext(
525         long messageId, long threadId, int status,
526         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
527         throws com.liferay.portal.kernel.exception.SystemException,
528             com.liferay.portlet.messageboards.NoSuchMessageException;
529 
530     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
531         long threadId, int status)
532         throws com.liferay.portal.kernel.exception.SystemException;
533 
534     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
535         long threadId, int status, int start, int end)
536         throws com.liferay.portal.kernel.exception.SystemException;
537 
538     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
539         long threadId, int status, int start, int end,
540         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
541         throws com.liferay.portal.kernel.exception.SystemException;
542 
543     public com.liferay.portlet.messageboards.model.MBMessage findByTR_S_First(
544         long threadId, int status,
545         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
546         throws com.liferay.portal.kernel.exception.SystemException,
547             com.liferay.portlet.messageboards.NoSuchMessageException;
548 
549     public com.liferay.portlet.messageboards.model.MBMessage findByTR_S_Last(
550         long threadId, int status,
551         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
552         throws com.liferay.portal.kernel.exception.SystemException,
553             com.liferay.portlet.messageboards.NoSuchMessageException;
554 
555     public com.liferay.portlet.messageboards.model.MBMessage[] findByTR_S_PrevAndNext(
556         long messageId, long threadId, int status,
557         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
558         throws com.liferay.portal.kernel.exception.SystemException,
559             com.liferay.portlet.messageboards.NoSuchMessageException;
560 
561     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
562         long groupId, long userId, int status)
563         throws com.liferay.portal.kernel.exception.SystemException;
564 
565     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
566         long groupId, long userId, int status, int start, int end)
567         throws com.liferay.portal.kernel.exception.SystemException;
568 
569     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
570         long groupId, long userId, int status, int start, int end,
571         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
572         throws com.liferay.portal.kernel.exception.SystemException;
573 
574     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_S_First(
575         long groupId, long userId, int status,
576         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
577         throws com.liferay.portal.kernel.exception.SystemException,
578             com.liferay.portlet.messageboards.NoSuchMessageException;
579 
580     public com.liferay.portlet.messageboards.model.MBMessage findByG_U_S_Last(
581         long groupId, long userId, int status,
582         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
583         throws com.liferay.portal.kernel.exception.SystemException,
584             com.liferay.portlet.messageboards.NoSuchMessageException;
585 
586     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_S_PrevAndNext(
587         long messageId, long groupId, long userId, int status,
588         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
589         throws com.liferay.portal.kernel.exception.SystemException,
590             com.liferay.portlet.messageboards.NoSuchMessageException;
591 
592     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U_S(
593         long groupId, long userId, int status)
594         throws com.liferay.portal.kernel.exception.SystemException;
595 
596     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U_S(
597         long groupId, long userId, int status, int start, int end)
598         throws com.liferay.portal.kernel.exception.SystemException;
599 
600     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U_S(
601         long groupId, long userId, int status, int start, int end,
602         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
603         throws com.liferay.portal.kernel.exception.SystemException;
604 
605     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
606         long groupId, long categoryId, long threadId)
607         throws com.liferay.portal.kernel.exception.SystemException;
608 
609     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
610         long groupId, long categoryId, long threadId, int start, int end)
611         throws com.liferay.portal.kernel.exception.SystemException;
612 
613     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
614         long groupId, long categoryId, long threadId, int start, int end,
615         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
616         throws com.liferay.portal.kernel.exception.SystemException;
617 
618     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_First(
619         long groupId, long categoryId, long threadId,
620         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
621         throws com.liferay.portal.kernel.exception.SystemException,
622             com.liferay.portlet.messageboards.NoSuchMessageException;
623 
624     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_Last(
625         long groupId, long categoryId, long threadId,
626         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
627         throws com.liferay.portal.kernel.exception.SystemException,
628             com.liferay.portlet.messageboards.NoSuchMessageException;
629 
630     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_T_PrevAndNext(
631         long messageId, long groupId, long categoryId, long threadId,
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> filterFindByG_C_T(
637         long groupId, long categoryId, long threadId)
638         throws com.liferay.portal.kernel.exception.SystemException;
639 
640     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T(
641         long groupId, long categoryId, long threadId, int start, int end)
642         throws com.liferay.portal.kernel.exception.SystemException;
643 
644     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T(
645         long groupId, long categoryId, long threadId, int start, int end,
646         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
647         throws com.liferay.portal.kernel.exception.SystemException;
648 
649     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
650         long groupId, long categoryId, int status)
651         throws com.liferay.portal.kernel.exception.SystemException;
652 
653     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
654         long groupId, long categoryId, int status, int start, int end)
655         throws com.liferay.portal.kernel.exception.SystemException;
656 
657     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
658         long groupId, long categoryId, int status, int start, int end,
659         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
660         throws com.liferay.portal.kernel.exception.SystemException;
661 
662     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_S_First(
663         long groupId, long categoryId, int status,
664         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
665         throws com.liferay.portal.kernel.exception.SystemException,
666             com.liferay.portlet.messageboards.NoSuchMessageException;
667 
668     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_S_Last(
669         long groupId, long categoryId, int status,
670         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
671         throws com.liferay.portal.kernel.exception.SystemException,
672             com.liferay.portlet.messageboards.NoSuchMessageException;
673 
674     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_S_PrevAndNext(
675         long messageId, long groupId, long categoryId, int status,
676         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
677         throws com.liferay.portal.kernel.exception.SystemException,
678             com.liferay.portlet.messageboards.NoSuchMessageException;
679 
680     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_S(
681         long groupId, long categoryId, int status)
682         throws com.liferay.portal.kernel.exception.SystemException;
683 
684     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_S(
685         long groupId, long categoryId, int status, int start, int end)
686         throws com.liferay.portal.kernel.exception.SystemException;
687 
688     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_S(
689         long groupId, long categoryId, int status, int start, int end,
690         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
691         throws com.liferay.portal.kernel.exception.SystemException;
692 
693     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
694         long classNameId, long classPK, int status)
695         throws com.liferay.portal.kernel.exception.SystemException;
696 
697     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
698         long classNameId, long classPK, int status, int start, int end)
699         throws com.liferay.portal.kernel.exception.SystemException;
700 
701     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
702         long classNameId, long classPK, int status, int start, int end,
703         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
704         throws com.liferay.portal.kernel.exception.SystemException;
705 
706     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_S_First(
707         long classNameId, long classPK, int status,
708         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
709         throws com.liferay.portal.kernel.exception.SystemException,
710             com.liferay.portlet.messageboards.NoSuchMessageException;
711 
712     public com.liferay.portlet.messageboards.model.MBMessage findByC_C_S_Last(
713         long classNameId, long classPK, int status,
714         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
715         throws com.liferay.portal.kernel.exception.SystemException,
716             com.liferay.portlet.messageboards.NoSuchMessageException;
717 
718     public com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_S_PrevAndNext(
719         long messageId, long classNameId, long classPK, int status,
720         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
721         throws com.liferay.portal.kernel.exception.SystemException,
722             com.liferay.portlet.messageboards.NoSuchMessageException;
723 
724     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
725         long groupId, long categoryId, long threadId, int status)
726         throws com.liferay.portal.kernel.exception.SystemException;
727 
728     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
729         long groupId, long categoryId, long threadId, int status, int start,
730         int end) throws com.liferay.portal.kernel.exception.SystemException;
731 
732     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
733         long groupId, long categoryId, long threadId, int status, int start,
734         int end,
735         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
736         throws com.liferay.portal.kernel.exception.SystemException;
737 
738     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_S_First(
739         long groupId, long categoryId, long threadId, int status,
740         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
741         throws com.liferay.portal.kernel.exception.SystemException,
742             com.liferay.portlet.messageboards.NoSuchMessageException;
743 
744     public com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_S_Last(
745         long groupId, long categoryId, long threadId, int status,
746         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
747         throws com.liferay.portal.kernel.exception.SystemException,
748             com.liferay.portlet.messageboards.NoSuchMessageException;
749 
750     public com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_T_S_PrevAndNext(
751         long messageId, long groupId, long categoryId, long threadId,
752         int status,
753         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
754         throws com.liferay.portal.kernel.exception.SystemException,
755             com.liferay.portlet.messageboards.NoSuchMessageException;
756 
757     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T_S(
758         long groupId, long categoryId, long threadId, int status)
759         throws com.liferay.portal.kernel.exception.SystemException;
760 
761     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T_S(
762         long groupId, long categoryId, long threadId, int status, int start,
763         int end) throws com.liferay.portal.kernel.exception.SystemException;
764 
765     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T_S(
766         long groupId, long categoryId, long threadId, int status, int start,
767         int end,
768         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
769         throws com.liferay.portal.kernel.exception.SystemException;
770 
771     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll()
772         throws com.liferay.portal.kernel.exception.SystemException;
773 
774     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
775         int start, int end)
776         throws com.liferay.portal.kernel.exception.SystemException;
777 
778     public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
779         int start, int end,
780         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
781         throws com.liferay.portal.kernel.exception.SystemException;
782 
783     public void removeByUuid(java.lang.String uuid)
784         throws com.liferay.portal.kernel.exception.SystemException;
785 
786     public void removeByUUID_G(java.lang.String uuid, long groupId)
787         throws com.liferay.portal.kernel.exception.SystemException,
788             com.liferay.portlet.messageboards.NoSuchMessageException;
789 
790     public void removeByGroupId(long groupId)
791         throws com.liferay.portal.kernel.exception.SystemException;
792 
793     public void removeByCompanyId(long companyId)
794         throws com.liferay.portal.kernel.exception.SystemException;
795 
796     public void removeByThreadId(long threadId)
797         throws com.liferay.portal.kernel.exception.SystemException;
798 
799     public void removeByThreadReplies(long threadId)
800         throws com.liferay.portal.kernel.exception.SystemException;
801 
802     public void removeByUserId(long userId)
803         throws com.liferay.portal.kernel.exception.SystemException;
804 
805     public void removeByG_U(long groupId, long userId)
806         throws com.liferay.portal.kernel.exception.SystemException;
807 
808     public void removeByG_C(long groupId, long categoryId)
809         throws com.liferay.portal.kernel.exception.SystemException;
810 
811     public void removeByG_S(long groupId, int status)
812         throws com.liferay.portal.kernel.exception.SystemException;
813 
814     public void removeByC_S(long companyId, int status)
815         throws com.liferay.portal.kernel.exception.SystemException;
816 
817     public void removeByC_C(long classNameId, long classPK)
818         throws com.liferay.portal.kernel.exception.SystemException;
819 
820     public void removeByT_P(long threadId, long parentMessageId)
821         throws com.liferay.portal.kernel.exception.SystemException;
822 
823     public void removeByT_S(long threadId, int status)
824         throws com.liferay.portal.kernel.exception.SystemException;
825 
826     public void removeByTR_S(long threadId, int status)
827         throws com.liferay.portal.kernel.exception.SystemException;
828 
829     public void removeByG_U_S(long groupId, long userId, int status)
830         throws com.liferay.portal.kernel.exception.SystemException;
831 
832     public void removeByG_C_T(long groupId, long categoryId, long threadId)
833         throws com.liferay.portal.kernel.exception.SystemException;
834 
835     public void removeByG_C_S(long groupId, long categoryId, int status)
836         throws com.liferay.portal.kernel.exception.SystemException;
837 
838     public void removeByC_C_S(long classNameId, long classPK, int status)
839         throws com.liferay.portal.kernel.exception.SystemException;
840 
841     public void removeByG_C_T_S(long groupId, long categoryId, long threadId,
842         int status) throws com.liferay.portal.kernel.exception.SystemException;
843 
844     public void removeAll()
845         throws com.liferay.portal.kernel.exception.SystemException;
846 
847     public int countByUuid(java.lang.String uuid)
848         throws com.liferay.portal.kernel.exception.SystemException;
849 
850     public int countByUUID_G(java.lang.String uuid, long groupId)
851         throws com.liferay.portal.kernel.exception.SystemException;
852 
853     public int countByGroupId(long groupId)
854         throws com.liferay.portal.kernel.exception.SystemException;
855 
856     public int filterCountByGroupId(long groupId)
857         throws com.liferay.portal.kernel.exception.SystemException;
858 
859     public int countByCompanyId(long companyId)
860         throws com.liferay.portal.kernel.exception.SystemException;
861 
862     public int countByThreadId(long threadId)
863         throws com.liferay.portal.kernel.exception.SystemException;
864 
865     public int countByThreadReplies(long threadId)
866         throws com.liferay.portal.kernel.exception.SystemException;
867 
868     public int countByUserId(long userId)
869         throws com.liferay.portal.kernel.exception.SystemException;
870 
871     public int countByG_U(long groupId, long userId)
872         throws com.liferay.portal.kernel.exception.SystemException;
873 
874     public int filterCountByG_U(long groupId, long userId)
875         throws com.liferay.portal.kernel.exception.SystemException;
876 
877     public int countByG_C(long groupId, long categoryId)
878         throws com.liferay.portal.kernel.exception.SystemException;
879 
880     public int filterCountByG_C(long groupId, long categoryId)
881         throws com.liferay.portal.kernel.exception.SystemException;
882 
883     public int countByG_S(long groupId, int status)
884         throws com.liferay.portal.kernel.exception.SystemException;
885 
886     public int filterCountByG_S(long groupId, int status)
887         throws com.liferay.portal.kernel.exception.SystemException;
888 
889     public int countByC_S(long companyId, int status)
890         throws com.liferay.portal.kernel.exception.SystemException;
891 
892     public int countByC_C(long classNameId, long classPK)
893         throws com.liferay.portal.kernel.exception.SystemException;
894 
895     public int countByT_P(long threadId, long parentMessageId)
896         throws com.liferay.portal.kernel.exception.SystemException;
897 
898     public int countByT_S(long threadId, int status)
899         throws com.liferay.portal.kernel.exception.SystemException;
900 
901     public int countByTR_S(long threadId, int status)
902         throws com.liferay.portal.kernel.exception.SystemException;
903 
904     public int countByG_U_S(long groupId, long userId, int status)
905         throws com.liferay.portal.kernel.exception.SystemException;
906 
907     public int filterCountByG_U_S(long groupId, long userId, int status)
908         throws com.liferay.portal.kernel.exception.SystemException;
909 
910     public int countByG_C_T(long groupId, long categoryId, long threadId)
911         throws com.liferay.portal.kernel.exception.SystemException;
912 
913     public int filterCountByG_C_T(long groupId, long categoryId, long threadId)
914         throws com.liferay.portal.kernel.exception.SystemException;
915 
916     public int countByG_C_S(long groupId, long categoryId, int status)
917         throws com.liferay.portal.kernel.exception.SystemException;
918 
919     public int filterCountByG_C_S(long groupId, long categoryId, int status)
920         throws com.liferay.portal.kernel.exception.SystemException;
921 
922     public int countByC_C_S(long classNameId, long classPK, int status)
923         throws com.liferay.portal.kernel.exception.SystemException;
924 
925     public int countByG_C_T_S(long groupId, long categoryId, long threadId,
926         int status) throws com.liferay.portal.kernel.exception.SystemException;
927 
928     public int filterCountByG_C_T_S(long groupId, long categoryId,
929         long threadId, int status)
930         throws com.liferay.portal.kernel.exception.SystemException;
931 
932     public int countAll()
933         throws com.liferay.portal.kernel.exception.SystemException;
934 }