001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.messageboards.service.persistence;
016    
017    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.util.OrderByComparator;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.messageboards.model.MBMessage;
024    
025    import java.util.List;
026    
027    /**
028     * @author    Brian Wing Shun Chan
029     * @see       MBMessagePersistence
030     * @see       MBMessagePersistenceImpl
031     * @generated
032     */
033    public class MBMessageUtil {
034            /**
035             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
036             */
037            public static void clearCache() {
038                    getPersistence().clearCache();
039            }
040    
041            /**
042             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
043             */
044            public static void clearCache(MBMessage mbMessage) {
045                    getPersistence().clearCache(mbMessage);
046            }
047    
048            /**
049             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
050             */
051            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
052                    throws SystemException {
053                    return getPersistence().countWithDynamicQuery(dynamicQuery);
054            }
055    
056            /**
057             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
058             */
059            public static List<MBMessage> findWithDynamicQuery(
060                    DynamicQuery dynamicQuery) throws SystemException {
061                    return getPersistence().findWithDynamicQuery(dynamicQuery);
062            }
063    
064            /**
065             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
066             */
067            public static List<MBMessage> findWithDynamicQuery(
068                    DynamicQuery dynamicQuery, int start, int end)
069                    throws SystemException {
070                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
071            }
072    
073            /**
074             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
075             */
076            public static List<MBMessage> findWithDynamicQuery(
077                    DynamicQuery dynamicQuery, int start, int end,
078                    OrderByComparator orderByComparator) throws SystemException {
079                    return getPersistence()
080                                       .findWithDynamicQuery(dynamicQuery, start, end,
081                            orderByComparator);
082            }
083    
084            /**
085             * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
086             */
087            public static MBMessage remove(MBMessage mbMessage)
088                    throws SystemException {
089                    return getPersistence().remove(mbMessage);
090            }
091    
092            /**
093             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
094             */
095            public static MBMessage update(MBMessage mbMessage, boolean merge)
096                    throws SystemException {
097                    return getPersistence().update(mbMessage, merge);
098            }
099    
100            /**
101             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
102             */
103            public static MBMessage update(MBMessage mbMessage, boolean merge,
104                    ServiceContext serviceContext) throws SystemException {
105                    return getPersistence().update(mbMessage, merge, serviceContext);
106            }
107    
108            public static void cacheResult(
109                    com.liferay.portlet.messageboards.model.MBMessage mbMessage) {
110                    getPersistence().cacheResult(mbMessage);
111            }
112    
113            public static void cacheResult(
114                    java.util.List<com.liferay.portlet.messageboards.model.MBMessage> mbMessages) {
115                    getPersistence().cacheResult(mbMessages);
116            }
117    
118            public static com.liferay.portlet.messageboards.model.MBMessage create(
119                    long messageId) {
120                    return getPersistence().create(messageId);
121            }
122    
123            public static com.liferay.portlet.messageboards.model.MBMessage remove(
124                    long messageId)
125                    throws com.liferay.portal.kernel.exception.SystemException,
126                            com.liferay.portlet.messageboards.NoSuchMessageException {
127                    return getPersistence().remove(messageId);
128            }
129    
130            public static com.liferay.portlet.messageboards.model.MBMessage updateImpl(
131                    com.liferay.portlet.messageboards.model.MBMessage mbMessage,
132                    boolean merge)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    return getPersistence().updateImpl(mbMessage, merge);
135            }
136    
137            public static com.liferay.portlet.messageboards.model.MBMessage findByPrimaryKey(
138                    long messageId)
139                    throws com.liferay.portal.kernel.exception.SystemException,
140                            com.liferay.portlet.messageboards.NoSuchMessageException {
141                    return getPersistence().findByPrimaryKey(messageId);
142            }
143    
144            public static com.liferay.portlet.messageboards.model.MBMessage fetchByPrimaryKey(
145                    long messageId)
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return getPersistence().fetchByPrimaryKey(messageId);
148            }
149    
150            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
151                    java.lang.String uuid)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return getPersistence().findByUuid(uuid);
154            }
155    
156            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
157                    java.lang.String uuid, int start, int end)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return getPersistence().findByUuid(uuid, start, end);
160            }
161    
162            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUuid(
163                    java.lang.String uuid, int start, int end,
164                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
167            }
168    
169            public static com.liferay.portlet.messageboards.model.MBMessage findByUuid_First(
170                    java.lang.String uuid,
171                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172                    throws com.liferay.portal.kernel.exception.SystemException,
173                            com.liferay.portlet.messageboards.NoSuchMessageException {
174                    return getPersistence().findByUuid_First(uuid, orderByComparator);
175            }
176    
177            public static com.liferay.portlet.messageboards.model.MBMessage findByUuid_Last(
178                    java.lang.String uuid,
179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180                    throws com.liferay.portal.kernel.exception.SystemException,
181                            com.liferay.portlet.messageboards.NoSuchMessageException {
182                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
183            }
184    
185            public static com.liferay.portlet.messageboards.model.MBMessage[] findByUuid_PrevAndNext(
186                    long messageId, java.lang.String uuid,
187                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
188                    throws com.liferay.portal.kernel.exception.SystemException,
189                            com.liferay.portlet.messageboards.NoSuchMessageException {
190                    return getPersistence()
191                                       .findByUuid_PrevAndNext(messageId, uuid, orderByComparator);
192            }
193    
194            public static com.liferay.portlet.messageboards.model.MBMessage findByUUID_G(
195                    java.lang.String uuid, long groupId)
196                    throws com.liferay.portal.kernel.exception.SystemException,
197                            com.liferay.portlet.messageboards.NoSuchMessageException {
198                    return getPersistence().findByUUID_G(uuid, groupId);
199            }
200    
201            public static com.liferay.portlet.messageboards.model.MBMessage fetchByUUID_G(
202                    java.lang.String uuid, long groupId)
203                    throws com.liferay.portal.kernel.exception.SystemException {
204                    return getPersistence().fetchByUUID_G(uuid, groupId);
205            }
206    
207            public static com.liferay.portlet.messageboards.model.MBMessage fetchByUUID_G(
208                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
209                    throws com.liferay.portal.kernel.exception.SystemException {
210                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
211            }
212    
213            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
214                    long groupId)
215                    throws com.liferay.portal.kernel.exception.SystemException {
216                    return getPersistence().findByGroupId(groupId);
217            }
218    
219            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
220                    long groupId, int start, int end)
221                    throws com.liferay.portal.kernel.exception.SystemException {
222                    return getPersistence().findByGroupId(groupId, start, end);
223            }
224    
225            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
226                    long groupId, int start, int end,
227                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
228                    throws com.liferay.portal.kernel.exception.SystemException {
229                    return getPersistence()
230                                       .findByGroupId(groupId, start, end, orderByComparator);
231            }
232    
233            public static com.liferay.portlet.messageboards.model.MBMessage findByGroupId_First(
234                    long groupId,
235                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
236                    throws com.liferay.portal.kernel.exception.SystemException,
237                            com.liferay.portlet.messageboards.NoSuchMessageException {
238                    return getPersistence().findByGroupId_First(groupId, orderByComparator);
239            }
240    
241            public static com.liferay.portlet.messageboards.model.MBMessage findByGroupId_Last(
242                    long groupId,
243                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
244                    throws com.liferay.portal.kernel.exception.SystemException,
245                            com.liferay.portlet.messageboards.NoSuchMessageException {
246                    return getPersistence().findByGroupId_Last(groupId, orderByComparator);
247            }
248    
249            public static com.liferay.portlet.messageboards.model.MBMessage[] findByGroupId_PrevAndNext(
250                    long messageId, long groupId,
251                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
252                    throws com.liferay.portal.kernel.exception.SystemException,
253                            com.liferay.portlet.messageboards.NoSuchMessageException {
254                    return getPersistence()
255                                       .findByGroupId_PrevAndNext(messageId, groupId,
256                            orderByComparator);
257            }
258    
259            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByGroupId(
260                    long groupId)
261                    throws com.liferay.portal.kernel.exception.SystemException {
262                    return getPersistence().filterFindByGroupId(groupId);
263            }
264    
265            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByGroupId(
266                    long groupId, int start, int end)
267                    throws com.liferay.portal.kernel.exception.SystemException {
268                    return getPersistence().filterFindByGroupId(groupId, start, end);
269            }
270    
271            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByGroupId(
272                    long groupId, int start, int end,
273                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
274                    throws com.liferay.portal.kernel.exception.SystemException {
275                    return getPersistence()
276                                       .filterFindByGroupId(groupId, start, end, orderByComparator);
277            }
278    
279            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
280                    long companyId)
281                    throws com.liferay.portal.kernel.exception.SystemException {
282                    return getPersistence().findByCompanyId(companyId);
283            }
284    
285            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
286                    long companyId, int start, int end)
287                    throws com.liferay.portal.kernel.exception.SystemException {
288                    return getPersistence().findByCompanyId(companyId, start, end);
289            }
290    
291            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByCompanyId(
292                    long companyId, int start, int end,
293                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
294                    throws com.liferay.portal.kernel.exception.SystemException {
295                    return getPersistence()
296                                       .findByCompanyId(companyId, start, end, orderByComparator);
297            }
298    
299            public static com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_First(
300                    long companyId,
301                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
302                    throws com.liferay.portal.kernel.exception.SystemException,
303                            com.liferay.portlet.messageboards.NoSuchMessageException {
304                    return getPersistence()
305                                       .findByCompanyId_First(companyId, orderByComparator);
306            }
307    
308            public static com.liferay.portlet.messageboards.model.MBMessage findByCompanyId_Last(
309                    long companyId,
310                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
311                    throws com.liferay.portal.kernel.exception.SystemException,
312                            com.liferay.portlet.messageboards.NoSuchMessageException {
313                    return getPersistence()
314                                       .findByCompanyId_Last(companyId, orderByComparator);
315            }
316    
317            public static com.liferay.portlet.messageboards.model.MBMessage[] findByCompanyId_PrevAndNext(
318                    long messageId, long companyId,
319                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
320                    throws com.liferay.portal.kernel.exception.SystemException,
321                            com.liferay.portlet.messageboards.NoSuchMessageException {
322                    return getPersistence()
323                                       .findByCompanyId_PrevAndNext(messageId, companyId,
324                            orderByComparator);
325            }
326    
327            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
328                    long threadId)
329                    throws com.liferay.portal.kernel.exception.SystemException {
330                    return getPersistence().findByThreadId(threadId);
331            }
332    
333            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
334                    long threadId, int start, int end)
335                    throws com.liferay.portal.kernel.exception.SystemException {
336                    return getPersistence().findByThreadId(threadId, start, end);
337            }
338    
339            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadId(
340                    long threadId, int start, int end,
341                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
342                    throws com.liferay.portal.kernel.exception.SystemException {
343                    return getPersistence()
344                                       .findByThreadId(threadId, start, end, orderByComparator);
345            }
346    
347            public static com.liferay.portlet.messageboards.model.MBMessage findByThreadId_First(
348                    long threadId,
349                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
350                    throws com.liferay.portal.kernel.exception.SystemException,
351                            com.liferay.portlet.messageboards.NoSuchMessageException {
352                    return getPersistence().findByThreadId_First(threadId, orderByComparator);
353            }
354    
355            public static com.liferay.portlet.messageboards.model.MBMessage findByThreadId_Last(
356                    long threadId,
357                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
358                    throws com.liferay.portal.kernel.exception.SystemException,
359                            com.liferay.portlet.messageboards.NoSuchMessageException {
360                    return getPersistence().findByThreadId_Last(threadId, orderByComparator);
361            }
362    
363            public static com.liferay.portlet.messageboards.model.MBMessage[] findByThreadId_PrevAndNext(
364                    long messageId, long threadId,
365                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
366                    throws com.liferay.portal.kernel.exception.SystemException,
367                            com.liferay.portlet.messageboards.NoSuchMessageException {
368                    return getPersistence()
369                                       .findByThreadId_PrevAndNext(messageId, threadId,
370                            orderByComparator);
371            }
372    
373            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
374                    long threadId)
375                    throws com.liferay.portal.kernel.exception.SystemException {
376                    return getPersistence().findByThreadReplies(threadId);
377            }
378    
379            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
380                    long threadId, int start, int end)
381                    throws com.liferay.portal.kernel.exception.SystemException {
382                    return getPersistence().findByThreadReplies(threadId, start, end);
383            }
384    
385            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByThreadReplies(
386                    long threadId, int start, int end,
387                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
388                    throws com.liferay.portal.kernel.exception.SystemException {
389                    return getPersistence()
390                                       .findByThreadReplies(threadId, start, end, orderByComparator);
391            }
392    
393            public static com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_First(
394                    long threadId,
395                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
396                    throws com.liferay.portal.kernel.exception.SystemException,
397                            com.liferay.portlet.messageboards.NoSuchMessageException {
398                    return getPersistence()
399                                       .findByThreadReplies_First(threadId, orderByComparator);
400            }
401    
402            public static com.liferay.portlet.messageboards.model.MBMessage findByThreadReplies_Last(
403                    long threadId,
404                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
405                    throws com.liferay.portal.kernel.exception.SystemException,
406                            com.liferay.portlet.messageboards.NoSuchMessageException {
407                    return getPersistence()
408                                       .findByThreadReplies_Last(threadId, orderByComparator);
409            }
410    
411            public static com.liferay.portlet.messageboards.model.MBMessage[] findByThreadReplies_PrevAndNext(
412                    long messageId, long threadId,
413                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
414                    throws com.liferay.portal.kernel.exception.SystemException,
415                            com.liferay.portlet.messageboards.NoSuchMessageException {
416                    return getPersistence()
417                                       .findByThreadReplies_PrevAndNext(messageId, threadId,
418                            orderByComparator);
419            }
420    
421            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUserId(
422                    long userId) throws com.liferay.portal.kernel.exception.SystemException {
423                    return getPersistence().findByUserId(userId);
424            }
425    
426            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUserId(
427                    long userId, int start, int end)
428                    throws com.liferay.portal.kernel.exception.SystemException {
429                    return getPersistence().findByUserId(userId, start, end);
430            }
431    
432            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByUserId(
433                    long userId, int start, int end,
434                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
435                    throws com.liferay.portal.kernel.exception.SystemException {
436                    return getPersistence()
437                                       .findByUserId(userId, start, end, orderByComparator);
438            }
439    
440            public static com.liferay.portlet.messageboards.model.MBMessage findByUserId_First(
441                    long userId,
442                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
443                    throws com.liferay.portal.kernel.exception.SystemException,
444                            com.liferay.portlet.messageboards.NoSuchMessageException {
445                    return getPersistence().findByUserId_First(userId, orderByComparator);
446            }
447    
448            public static com.liferay.portlet.messageboards.model.MBMessage findByUserId_Last(
449                    long userId,
450                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
451                    throws com.liferay.portal.kernel.exception.SystemException,
452                            com.liferay.portlet.messageboards.NoSuchMessageException {
453                    return getPersistence().findByUserId_Last(userId, orderByComparator);
454            }
455    
456            public static com.liferay.portlet.messageboards.model.MBMessage[] findByUserId_PrevAndNext(
457                    long messageId, long userId,
458                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
459                    throws com.liferay.portal.kernel.exception.SystemException,
460                            com.liferay.portlet.messageboards.NoSuchMessageException {
461                    return getPersistence()
462                                       .findByUserId_PrevAndNext(messageId, userId,
463                            orderByComparator);
464            }
465    
466            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
467                    long groupId, long userId)
468                    throws com.liferay.portal.kernel.exception.SystemException {
469                    return getPersistence().findByG_U(groupId, userId);
470            }
471    
472            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
473                    long groupId, long userId, int start, int end)
474                    throws com.liferay.portal.kernel.exception.SystemException {
475                    return getPersistence().findByG_U(groupId, userId, start, end);
476            }
477    
478            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
479                    long groupId, long userId, int start, int end,
480                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
481                    throws com.liferay.portal.kernel.exception.SystemException {
482                    return getPersistence()
483                                       .findByG_U(groupId, userId, start, end, orderByComparator);
484            }
485    
486            public static com.liferay.portlet.messageboards.model.MBMessage findByG_U_First(
487                    long groupId, long userId,
488                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
489                    throws com.liferay.portal.kernel.exception.SystemException,
490                            com.liferay.portlet.messageboards.NoSuchMessageException {
491                    return getPersistence()
492                                       .findByG_U_First(groupId, userId, orderByComparator);
493            }
494    
495            public static com.liferay.portlet.messageboards.model.MBMessage findByG_U_Last(
496                    long groupId, long userId,
497                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
498                    throws com.liferay.portal.kernel.exception.SystemException,
499                            com.liferay.portlet.messageboards.NoSuchMessageException {
500                    return getPersistence()
501                                       .findByG_U_Last(groupId, userId, orderByComparator);
502            }
503    
504            public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_PrevAndNext(
505                    long messageId, long groupId, long userId,
506                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
507                    throws com.liferay.portal.kernel.exception.SystemException,
508                            com.liferay.portlet.messageboards.NoSuchMessageException {
509                    return getPersistence()
510                                       .findByG_U_PrevAndNext(messageId, groupId, userId,
511                            orderByComparator);
512            }
513    
514            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U(
515                    long groupId, long userId)
516                    throws com.liferay.portal.kernel.exception.SystemException {
517                    return getPersistence().filterFindByG_U(groupId, userId);
518            }
519    
520            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U(
521                    long groupId, long userId, int start, int end)
522                    throws com.liferay.portal.kernel.exception.SystemException {
523                    return getPersistence().filterFindByG_U(groupId, userId, start, end);
524            }
525    
526            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U(
527                    long groupId, long userId, int start, int end,
528                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
529                    throws com.liferay.portal.kernel.exception.SystemException {
530                    return getPersistence()
531                                       .filterFindByG_U(groupId, userId, start, end,
532                            orderByComparator);
533            }
534    
535            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
536                    long groupId, long categoryId)
537                    throws com.liferay.portal.kernel.exception.SystemException {
538                    return getPersistence().findByG_C(groupId, categoryId);
539            }
540    
541            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
542                    long groupId, long categoryId, int start, int end)
543                    throws com.liferay.portal.kernel.exception.SystemException {
544                    return getPersistence().findByG_C(groupId, categoryId, start, end);
545            }
546    
547            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C(
548                    long groupId, long categoryId, int start, int end,
549                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
550                    throws com.liferay.portal.kernel.exception.SystemException {
551                    return getPersistence()
552                                       .findByG_C(groupId, categoryId, start, end, orderByComparator);
553            }
554    
555            public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_First(
556                    long groupId, long categoryId,
557                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
558                    throws com.liferay.portal.kernel.exception.SystemException,
559                            com.liferay.portlet.messageboards.NoSuchMessageException {
560                    return getPersistence()
561                                       .findByG_C_First(groupId, categoryId, orderByComparator);
562            }
563    
564            public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_Last(
565                    long groupId, long categoryId,
566                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
567                    throws com.liferay.portal.kernel.exception.SystemException,
568                            com.liferay.portlet.messageboards.NoSuchMessageException {
569                    return getPersistence()
570                                       .findByG_C_Last(groupId, categoryId, orderByComparator);
571            }
572    
573            public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_PrevAndNext(
574                    long messageId, long groupId, long categoryId,
575                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
576                    throws com.liferay.portal.kernel.exception.SystemException,
577                            com.liferay.portlet.messageboards.NoSuchMessageException {
578                    return getPersistence()
579                                       .findByG_C_PrevAndNext(messageId, groupId, categoryId,
580                            orderByComparator);
581            }
582    
583            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C(
584                    long groupId, long categoryId)
585                    throws com.liferay.portal.kernel.exception.SystemException {
586                    return getPersistence().filterFindByG_C(groupId, categoryId);
587            }
588    
589            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C(
590                    long groupId, long categoryId, int start, int end)
591                    throws com.liferay.portal.kernel.exception.SystemException {
592                    return getPersistence().filterFindByG_C(groupId, categoryId, start, end);
593            }
594    
595            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C(
596                    long groupId, long categoryId, int start, int end,
597                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
598                    throws com.liferay.portal.kernel.exception.SystemException {
599                    return getPersistence()
600                                       .filterFindByG_C(groupId, categoryId, start, end,
601                            orderByComparator);
602            }
603    
604            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
605                    long groupId, int status)
606                    throws com.liferay.portal.kernel.exception.SystemException {
607                    return getPersistence().findByG_S(groupId, status);
608            }
609    
610            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
611                    long groupId, int status, int start, int end)
612                    throws com.liferay.portal.kernel.exception.SystemException {
613                    return getPersistence().findByG_S(groupId, status, start, end);
614            }
615    
616            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_S(
617                    long groupId, int status, int start, int end,
618                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
619                    throws com.liferay.portal.kernel.exception.SystemException {
620                    return getPersistence()
621                                       .findByG_S(groupId, status, start, end, orderByComparator);
622            }
623    
624            public static com.liferay.portlet.messageboards.model.MBMessage findByG_S_First(
625                    long groupId, int status,
626                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
627                    throws com.liferay.portal.kernel.exception.SystemException,
628                            com.liferay.portlet.messageboards.NoSuchMessageException {
629                    return getPersistence()
630                                       .findByG_S_First(groupId, status, orderByComparator);
631            }
632    
633            public static com.liferay.portlet.messageboards.model.MBMessage findByG_S_Last(
634                    long groupId, int status,
635                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
636                    throws com.liferay.portal.kernel.exception.SystemException,
637                            com.liferay.portlet.messageboards.NoSuchMessageException {
638                    return getPersistence()
639                                       .findByG_S_Last(groupId, status, orderByComparator);
640            }
641    
642            public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_S_PrevAndNext(
643                    long messageId, long groupId, int status,
644                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
645                    throws com.liferay.portal.kernel.exception.SystemException,
646                            com.liferay.portlet.messageboards.NoSuchMessageException {
647                    return getPersistence()
648                                       .findByG_S_PrevAndNext(messageId, groupId, status,
649                            orderByComparator);
650            }
651    
652            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_S(
653                    long groupId, int status)
654                    throws com.liferay.portal.kernel.exception.SystemException {
655                    return getPersistence().filterFindByG_S(groupId, status);
656            }
657    
658            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_S(
659                    long groupId, int status, int start, int end)
660                    throws com.liferay.portal.kernel.exception.SystemException {
661                    return getPersistence().filterFindByG_S(groupId, status, start, end);
662            }
663    
664            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_S(
665                    long groupId, int status, int start, int end,
666                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
667                    throws com.liferay.portal.kernel.exception.SystemException {
668                    return getPersistence()
669                                       .filterFindByG_S(groupId, status, start, end,
670                            orderByComparator);
671            }
672    
673            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
674                    long companyId, int status)
675                    throws com.liferay.portal.kernel.exception.SystemException {
676                    return getPersistence().findByC_S(companyId, status);
677            }
678    
679            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
680                    long companyId, int status, int start, int end)
681                    throws com.liferay.portal.kernel.exception.SystemException {
682                    return getPersistence().findByC_S(companyId, status, start, end);
683            }
684    
685            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_S(
686                    long companyId, int status, int start, int end,
687                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
688                    throws com.liferay.portal.kernel.exception.SystemException {
689                    return getPersistence()
690                                       .findByC_S(companyId, status, start, end, orderByComparator);
691            }
692    
693            public static com.liferay.portlet.messageboards.model.MBMessage findByC_S_First(
694                    long companyId, int status,
695                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
696                    throws com.liferay.portal.kernel.exception.SystemException,
697                            com.liferay.portlet.messageboards.NoSuchMessageException {
698                    return getPersistence()
699                                       .findByC_S_First(companyId, status, orderByComparator);
700            }
701    
702            public static com.liferay.portlet.messageboards.model.MBMessage findByC_S_Last(
703                    long companyId, int status,
704                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
705                    throws com.liferay.portal.kernel.exception.SystemException,
706                            com.liferay.portlet.messageboards.NoSuchMessageException {
707                    return getPersistence()
708                                       .findByC_S_Last(companyId, status, orderByComparator);
709            }
710    
711            public static com.liferay.portlet.messageboards.model.MBMessage[] findByC_S_PrevAndNext(
712                    long messageId, long companyId, int status,
713                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
714                    throws com.liferay.portal.kernel.exception.SystemException,
715                            com.liferay.portlet.messageboards.NoSuchMessageException {
716                    return getPersistence()
717                                       .findByC_S_PrevAndNext(messageId, companyId, status,
718                            orderByComparator);
719            }
720    
721            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
722                    long classNameId, long classPK)
723                    throws com.liferay.portal.kernel.exception.SystemException {
724                    return getPersistence().findByC_C(classNameId, classPK);
725            }
726    
727            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
728                    long classNameId, long classPK, int start, int end)
729                    throws com.liferay.portal.kernel.exception.SystemException {
730                    return getPersistence().findByC_C(classNameId, classPK, start, end);
731            }
732    
733            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
734                    long classNameId, long classPK, int start, int end,
735                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
736                    throws com.liferay.portal.kernel.exception.SystemException {
737                    return getPersistence()
738                                       .findByC_C(classNameId, classPK, start, end,
739                            orderByComparator);
740            }
741    
742            public static com.liferay.portlet.messageboards.model.MBMessage findByC_C_First(
743                    long classNameId, long classPK,
744                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
745                    throws com.liferay.portal.kernel.exception.SystemException,
746                            com.liferay.portlet.messageboards.NoSuchMessageException {
747                    return getPersistence()
748                                       .findByC_C_First(classNameId, classPK, orderByComparator);
749            }
750    
751            public static com.liferay.portlet.messageboards.model.MBMessage findByC_C_Last(
752                    long classNameId, long classPK,
753                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
754                    throws com.liferay.portal.kernel.exception.SystemException,
755                            com.liferay.portlet.messageboards.NoSuchMessageException {
756                    return getPersistence()
757                                       .findByC_C_Last(classNameId, classPK, orderByComparator);
758            }
759    
760            public static com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_PrevAndNext(
761                    long messageId, long classNameId, long classPK,
762                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
763                    throws com.liferay.portal.kernel.exception.SystemException,
764                            com.liferay.portlet.messageboards.NoSuchMessageException {
765                    return getPersistence()
766                                       .findByC_C_PrevAndNext(messageId, classNameId, classPK,
767                            orderByComparator);
768            }
769    
770            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
771                    long threadId, long parentMessageId)
772                    throws com.liferay.portal.kernel.exception.SystemException {
773                    return getPersistence().findByT_P(threadId, parentMessageId);
774            }
775    
776            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
777                    long threadId, long parentMessageId, int start, int end)
778                    throws com.liferay.portal.kernel.exception.SystemException {
779                    return getPersistence().findByT_P(threadId, parentMessageId, start, end);
780            }
781    
782            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_P(
783                    long threadId, long parentMessageId, int start, int end,
784                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
785                    throws com.liferay.portal.kernel.exception.SystemException {
786                    return getPersistence()
787                                       .findByT_P(threadId, parentMessageId, start, end,
788                            orderByComparator);
789            }
790    
791            public static com.liferay.portlet.messageboards.model.MBMessage findByT_P_First(
792                    long threadId, long parentMessageId,
793                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
794                    throws com.liferay.portal.kernel.exception.SystemException,
795                            com.liferay.portlet.messageboards.NoSuchMessageException {
796                    return getPersistence()
797                                       .findByT_P_First(threadId, parentMessageId, orderByComparator);
798            }
799    
800            public static com.liferay.portlet.messageboards.model.MBMessage findByT_P_Last(
801                    long threadId, long parentMessageId,
802                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
803                    throws com.liferay.portal.kernel.exception.SystemException,
804                            com.liferay.portlet.messageboards.NoSuchMessageException {
805                    return getPersistence()
806                                       .findByT_P_Last(threadId, parentMessageId, orderByComparator);
807            }
808    
809            public static com.liferay.portlet.messageboards.model.MBMessage[] findByT_P_PrevAndNext(
810                    long messageId, long threadId, long parentMessageId,
811                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
812                    throws com.liferay.portal.kernel.exception.SystemException,
813                            com.liferay.portlet.messageboards.NoSuchMessageException {
814                    return getPersistence()
815                                       .findByT_P_PrevAndNext(messageId, threadId, parentMessageId,
816                            orderByComparator);
817            }
818    
819            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
820                    long threadId, int status)
821                    throws com.liferay.portal.kernel.exception.SystemException {
822                    return getPersistence().findByT_S(threadId, status);
823            }
824    
825            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
826                    long threadId, int status, int start, int end)
827                    throws com.liferay.portal.kernel.exception.SystemException {
828                    return getPersistence().findByT_S(threadId, status, start, end);
829            }
830    
831            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByT_S(
832                    long threadId, int status, int start, int end,
833                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
834                    throws com.liferay.portal.kernel.exception.SystemException {
835                    return getPersistence()
836                                       .findByT_S(threadId, status, start, end, orderByComparator);
837            }
838    
839            public static com.liferay.portlet.messageboards.model.MBMessage findByT_S_First(
840                    long threadId, int status,
841                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
842                    throws com.liferay.portal.kernel.exception.SystemException,
843                            com.liferay.portlet.messageboards.NoSuchMessageException {
844                    return getPersistence()
845                                       .findByT_S_First(threadId, status, orderByComparator);
846            }
847    
848            public static com.liferay.portlet.messageboards.model.MBMessage findByT_S_Last(
849                    long threadId, int status,
850                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
851                    throws com.liferay.portal.kernel.exception.SystemException,
852                            com.liferay.portlet.messageboards.NoSuchMessageException {
853                    return getPersistence()
854                                       .findByT_S_Last(threadId, status, orderByComparator);
855            }
856    
857            public static com.liferay.portlet.messageboards.model.MBMessage[] findByT_S_PrevAndNext(
858                    long messageId, long threadId, int status,
859                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
860                    throws com.liferay.portal.kernel.exception.SystemException,
861                            com.liferay.portlet.messageboards.NoSuchMessageException {
862                    return getPersistence()
863                                       .findByT_S_PrevAndNext(messageId, threadId, status,
864                            orderByComparator);
865            }
866    
867            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
868                    long threadId, int status)
869                    throws com.liferay.portal.kernel.exception.SystemException {
870                    return getPersistence().findByTR_S(threadId, status);
871            }
872    
873            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
874                    long threadId, int status, int start, int end)
875                    throws com.liferay.portal.kernel.exception.SystemException {
876                    return getPersistence().findByTR_S(threadId, status, start, end);
877            }
878    
879            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByTR_S(
880                    long threadId, int status, int start, int end,
881                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
882                    throws com.liferay.portal.kernel.exception.SystemException {
883                    return getPersistence()
884                                       .findByTR_S(threadId, status, start, end, orderByComparator);
885            }
886    
887            public static com.liferay.portlet.messageboards.model.MBMessage findByTR_S_First(
888                    long threadId, int status,
889                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
890                    throws com.liferay.portal.kernel.exception.SystemException,
891                            com.liferay.portlet.messageboards.NoSuchMessageException {
892                    return getPersistence()
893                                       .findByTR_S_First(threadId, status, orderByComparator);
894            }
895    
896            public static com.liferay.portlet.messageboards.model.MBMessage findByTR_S_Last(
897                    long threadId, int status,
898                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
899                    throws com.liferay.portal.kernel.exception.SystemException,
900                            com.liferay.portlet.messageboards.NoSuchMessageException {
901                    return getPersistence()
902                                       .findByTR_S_Last(threadId, status, orderByComparator);
903            }
904    
905            public static com.liferay.portlet.messageboards.model.MBMessage[] findByTR_S_PrevAndNext(
906                    long messageId, long threadId, int status,
907                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
908                    throws com.liferay.portal.kernel.exception.SystemException,
909                            com.liferay.portlet.messageboards.NoSuchMessageException {
910                    return getPersistence()
911                                       .findByTR_S_PrevAndNext(messageId, threadId, status,
912                            orderByComparator);
913            }
914    
915            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
916                    long groupId, long userId, int status)
917                    throws com.liferay.portal.kernel.exception.SystemException {
918                    return getPersistence().findByG_U_S(groupId, userId, status);
919            }
920    
921            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
922                    long groupId, long userId, int status, int start, int end)
923                    throws com.liferay.portal.kernel.exception.SystemException {
924                    return getPersistence().findByG_U_S(groupId, userId, status, start, end);
925            }
926    
927            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U_S(
928                    long groupId, long userId, int status, int start, int end,
929                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
930                    throws com.liferay.portal.kernel.exception.SystemException {
931                    return getPersistence()
932                                       .findByG_U_S(groupId, userId, status, start, end,
933                            orderByComparator);
934            }
935    
936            public static com.liferay.portlet.messageboards.model.MBMessage findByG_U_S_First(
937                    long groupId, long userId, int status,
938                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
939                    throws com.liferay.portal.kernel.exception.SystemException,
940                            com.liferay.portlet.messageboards.NoSuchMessageException {
941                    return getPersistence()
942                                       .findByG_U_S_First(groupId, userId, status, orderByComparator);
943            }
944    
945            public static com.liferay.portlet.messageboards.model.MBMessage findByG_U_S_Last(
946                    long groupId, long userId, int status,
947                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
948                    throws com.liferay.portal.kernel.exception.SystemException,
949                            com.liferay.portlet.messageboards.NoSuchMessageException {
950                    return getPersistence()
951                                       .findByG_U_S_Last(groupId, userId, status, orderByComparator);
952            }
953    
954            public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_U_S_PrevAndNext(
955                    long messageId, long groupId, long userId, int status,
956                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
957                    throws com.liferay.portal.kernel.exception.SystemException,
958                            com.liferay.portlet.messageboards.NoSuchMessageException {
959                    return getPersistence()
960                                       .findByG_U_S_PrevAndNext(messageId, groupId, userId, status,
961                            orderByComparator);
962            }
963    
964            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U_S(
965                    long groupId, long userId, int status)
966                    throws com.liferay.portal.kernel.exception.SystemException {
967                    return getPersistence().filterFindByG_U_S(groupId, userId, status);
968            }
969    
970            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U_S(
971                    long groupId, long userId, int status, int start, int end)
972                    throws com.liferay.portal.kernel.exception.SystemException {
973                    return getPersistence()
974                                       .filterFindByG_U_S(groupId, userId, status, start, end);
975            }
976    
977            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_U_S(
978                    long groupId, long userId, int status, int start, int end,
979                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
980                    throws com.liferay.portal.kernel.exception.SystemException {
981                    return getPersistence()
982                                       .filterFindByG_U_S(groupId, userId, status, start, end,
983                            orderByComparator);
984            }
985    
986            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
987                    long groupId, long categoryId, long threadId)
988                    throws com.liferay.portal.kernel.exception.SystemException {
989                    return getPersistence().findByG_C_T(groupId, categoryId, threadId);
990            }
991    
992            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
993                    long groupId, long categoryId, long threadId, int start, int end)
994                    throws com.liferay.portal.kernel.exception.SystemException {
995                    return getPersistence()
996                                       .findByG_C_T(groupId, categoryId, threadId, start, end);
997            }
998    
999            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T(
1000                    long groupId, long categoryId, long threadId, int start, int end,
1001                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1002                    throws com.liferay.portal.kernel.exception.SystemException {
1003                    return getPersistence()
1004                                       .findByG_C_T(groupId, categoryId, threadId, start, end,
1005                            orderByComparator);
1006            }
1007    
1008            public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_First(
1009                    long groupId, long categoryId, long threadId,
1010                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1011                    throws com.liferay.portal.kernel.exception.SystemException,
1012                            com.liferay.portlet.messageboards.NoSuchMessageException {
1013                    return getPersistence()
1014                                       .findByG_C_T_First(groupId, categoryId, threadId,
1015                            orderByComparator);
1016            }
1017    
1018            public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_Last(
1019                    long groupId, long categoryId, long threadId,
1020                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1021                    throws com.liferay.portal.kernel.exception.SystemException,
1022                            com.liferay.portlet.messageboards.NoSuchMessageException {
1023                    return getPersistence()
1024                                       .findByG_C_T_Last(groupId, categoryId, threadId,
1025                            orderByComparator);
1026            }
1027    
1028            public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_T_PrevAndNext(
1029                    long messageId, long groupId, long categoryId, long threadId,
1030                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1031                    throws com.liferay.portal.kernel.exception.SystemException,
1032                            com.liferay.portlet.messageboards.NoSuchMessageException {
1033                    return getPersistence()
1034                                       .findByG_C_T_PrevAndNext(messageId, groupId, categoryId,
1035                            threadId, orderByComparator);
1036            }
1037    
1038            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T(
1039                    long groupId, long categoryId, long threadId)
1040                    throws com.liferay.portal.kernel.exception.SystemException {
1041                    return getPersistence().filterFindByG_C_T(groupId, categoryId, threadId);
1042            }
1043    
1044            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T(
1045                    long groupId, long categoryId, long threadId, int start, int end)
1046                    throws com.liferay.portal.kernel.exception.SystemException {
1047                    return getPersistence()
1048                                       .filterFindByG_C_T(groupId, categoryId, threadId, start, end);
1049            }
1050    
1051            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T(
1052                    long groupId, long categoryId, long threadId, int start, int end,
1053                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1054                    throws com.liferay.portal.kernel.exception.SystemException {
1055                    return getPersistence()
1056                                       .filterFindByG_C_T(groupId, categoryId, threadId, start,
1057                            end, orderByComparator);
1058            }
1059    
1060            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
1061                    long groupId, long categoryId, int status)
1062                    throws com.liferay.portal.kernel.exception.SystemException {
1063                    return getPersistence().findByG_C_S(groupId, categoryId, status);
1064            }
1065    
1066            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
1067                    long groupId, long categoryId, int status, int start, int end)
1068                    throws com.liferay.portal.kernel.exception.SystemException {
1069                    return getPersistence()
1070                                       .findByG_C_S(groupId, categoryId, status, start, end);
1071            }
1072    
1073            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_S(
1074                    long groupId, long categoryId, int status, int start, int end,
1075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1076                    throws com.liferay.portal.kernel.exception.SystemException {
1077                    return getPersistence()
1078                                       .findByG_C_S(groupId, categoryId, status, start, end,
1079                            orderByComparator);
1080            }
1081    
1082            public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_S_First(
1083                    long groupId, long categoryId, int status,
1084                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1085                    throws com.liferay.portal.kernel.exception.SystemException,
1086                            com.liferay.portlet.messageboards.NoSuchMessageException {
1087                    return getPersistence()
1088                                       .findByG_C_S_First(groupId, categoryId, status,
1089                            orderByComparator);
1090            }
1091    
1092            public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_S_Last(
1093                    long groupId, long categoryId, int status,
1094                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1095                    throws com.liferay.portal.kernel.exception.SystemException,
1096                            com.liferay.portlet.messageboards.NoSuchMessageException {
1097                    return getPersistence()
1098                                       .findByG_C_S_Last(groupId, categoryId, status,
1099                            orderByComparator);
1100            }
1101    
1102            public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_S_PrevAndNext(
1103                    long messageId, long groupId, long categoryId, int status,
1104                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1105                    throws com.liferay.portal.kernel.exception.SystemException,
1106                            com.liferay.portlet.messageboards.NoSuchMessageException {
1107                    return getPersistence()
1108                                       .findByG_C_S_PrevAndNext(messageId, groupId, categoryId,
1109                            status, orderByComparator);
1110            }
1111    
1112            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_S(
1113                    long groupId, long categoryId, int status)
1114                    throws com.liferay.portal.kernel.exception.SystemException {
1115                    return getPersistence().filterFindByG_C_S(groupId, categoryId, status);
1116            }
1117    
1118            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_S(
1119                    long groupId, long categoryId, int status, int start, int end)
1120                    throws com.liferay.portal.kernel.exception.SystemException {
1121                    return getPersistence()
1122                                       .filterFindByG_C_S(groupId, categoryId, status, start, end);
1123            }
1124    
1125            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_S(
1126                    long groupId, long categoryId, int status, int start, int end,
1127                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1128                    throws com.liferay.portal.kernel.exception.SystemException {
1129                    return getPersistence()
1130                                       .filterFindByG_C_S(groupId, categoryId, status, start, end,
1131                            orderByComparator);
1132            }
1133    
1134            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
1135                    long classNameId, long classPK, int status)
1136                    throws com.liferay.portal.kernel.exception.SystemException {
1137                    return getPersistence().findByC_C_S(classNameId, classPK, status);
1138            }
1139    
1140            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
1141                    long classNameId, long classPK, int status, int start, int end)
1142                    throws com.liferay.portal.kernel.exception.SystemException {
1143                    return getPersistence()
1144                                       .findByC_C_S(classNameId, classPK, status, start, end);
1145            }
1146    
1147            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C_S(
1148                    long classNameId, long classPK, int status, int start, int end,
1149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1150                    throws com.liferay.portal.kernel.exception.SystemException {
1151                    return getPersistence()
1152                                       .findByC_C_S(classNameId, classPK, status, start, end,
1153                            orderByComparator);
1154            }
1155    
1156            public static com.liferay.portlet.messageboards.model.MBMessage findByC_C_S_First(
1157                    long classNameId, long classPK, int status,
1158                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1159                    throws com.liferay.portal.kernel.exception.SystemException,
1160                            com.liferay.portlet.messageboards.NoSuchMessageException {
1161                    return getPersistence()
1162                                       .findByC_C_S_First(classNameId, classPK, status,
1163                            orderByComparator);
1164            }
1165    
1166            public static com.liferay.portlet.messageboards.model.MBMessage findByC_C_S_Last(
1167                    long classNameId, long classPK, int status,
1168                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1169                    throws com.liferay.portal.kernel.exception.SystemException,
1170                            com.liferay.portlet.messageboards.NoSuchMessageException {
1171                    return getPersistence()
1172                                       .findByC_C_S_Last(classNameId, classPK, status,
1173                            orderByComparator);
1174            }
1175    
1176            public static com.liferay.portlet.messageboards.model.MBMessage[] findByC_C_S_PrevAndNext(
1177                    long messageId, long classNameId, long classPK, int status,
1178                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1179                    throws com.liferay.portal.kernel.exception.SystemException,
1180                            com.liferay.portlet.messageboards.NoSuchMessageException {
1181                    return getPersistence()
1182                                       .findByC_C_S_PrevAndNext(messageId, classNameId, classPK,
1183                            status, orderByComparator);
1184            }
1185    
1186            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
1187                    long groupId, long categoryId, long threadId, int status)
1188                    throws com.liferay.portal.kernel.exception.SystemException {
1189                    return getPersistence()
1190                                       .findByG_C_T_S(groupId, categoryId, threadId, status);
1191            }
1192    
1193            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
1194                    long groupId, long categoryId, long threadId, int status, int start,
1195                    int end) throws com.liferay.portal.kernel.exception.SystemException {
1196                    return getPersistence()
1197                                       .findByG_C_T_S(groupId, categoryId, threadId, status, start,
1198                            end);
1199            }
1200    
1201            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_C_T_S(
1202                    long groupId, long categoryId, long threadId, int status, int start,
1203                    int end,
1204                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1205                    throws com.liferay.portal.kernel.exception.SystemException {
1206                    return getPersistence()
1207                                       .findByG_C_T_S(groupId, categoryId, threadId, status, start,
1208                            end, orderByComparator);
1209            }
1210    
1211            public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_S_First(
1212                    long groupId, long categoryId, long threadId, int status,
1213                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1214                    throws com.liferay.portal.kernel.exception.SystemException,
1215                            com.liferay.portlet.messageboards.NoSuchMessageException {
1216                    return getPersistence()
1217                                       .findByG_C_T_S_First(groupId, categoryId, threadId, status,
1218                            orderByComparator);
1219            }
1220    
1221            public static com.liferay.portlet.messageboards.model.MBMessage findByG_C_T_S_Last(
1222                    long groupId, long categoryId, long threadId, int status,
1223                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1224                    throws com.liferay.portal.kernel.exception.SystemException,
1225                            com.liferay.portlet.messageboards.NoSuchMessageException {
1226                    return getPersistence()
1227                                       .findByG_C_T_S_Last(groupId, categoryId, threadId, status,
1228                            orderByComparator);
1229            }
1230    
1231            public static com.liferay.portlet.messageboards.model.MBMessage[] findByG_C_T_S_PrevAndNext(
1232                    long messageId, long groupId, long categoryId, long threadId,
1233                    int status,
1234                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1235                    throws com.liferay.portal.kernel.exception.SystemException,
1236                            com.liferay.portlet.messageboards.NoSuchMessageException {
1237                    return getPersistence()
1238                                       .findByG_C_T_S_PrevAndNext(messageId, groupId, categoryId,
1239                            threadId, status, orderByComparator);
1240            }
1241    
1242            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T_S(
1243                    long groupId, long categoryId, long threadId, int status)
1244                    throws com.liferay.portal.kernel.exception.SystemException {
1245                    return getPersistence()
1246                                       .filterFindByG_C_T_S(groupId, categoryId, threadId, status);
1247            }
1248    
1249            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T_S(
1250                    long groupId, long categoryId, long threadId, int status, int start,
1251                    int end) throws com.liferay.portal.kernel.exception.SystemException {
1252                    return getPersistence()
1253                                       .filterFindByG_C_T_S(groupId, categoryId, threadId, status,
1254                            start, end);
1255            }
1256    
1257            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> filterFindByG_C_T_S(
1258                    long groupId, long categoryId, long threadId, int status, int start,
1259                    int end,
1260                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1261                    throws com.liferay.portal.kernel.exception.SystemException {
1262                    return getPersistence()
1263                                       .filterFindByG_C_T_S(groupId, categoryId, threadId, status,
1264                            start, end, orderByComparator);
1265            }
1266    
1267            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll()
1268                    throws com.liferay.portal.kernel.exception.SystemException {
1269                    return getPersistence().findAll();
1270            }
1271    
1272            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
1273                    int start, int end)
1274                    throws com.liferay.portal.kernel.exception.SystemException {
1275                    return getPersistence().findAll(start, end);
1276            }
1277    
1278            public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findAll(
1279                    int start, int end,
1280                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1281                    throws com.liferay.portal.kernel.exception.SystemException {
1282                    return getPersistence().findAll(start, end, orderByComparator);
1283            }
1284    
1285            public static void removeByUuid(java.lang.String uuid)
1286                    throws com.liferay.portal.kernel.exception.SystemException {
1287                    getPersistence().removeByUuid(uuid);
1288            }
1289    
1290            public static void removeByUUID_G(java.lang.String uuid, long groupId)
1291                    throws com.liferay.portal.kernel.exception.SystemException,
1292                            com.liferay.portlet.messageboards.NoSuchMessageException {
1293                    getPersistence().removeByUUID_G(uuid, groupId);
1294            }
1295    
1296            public static void removeByGroupId(long groupId)
1297                    throws com.liferay.portal.kernel.exception.SystemException {
1298                    getPersistence().removeByGroupId(groupId);
1299            }
1300    
1301            public static void removeByCompanyId(long companyId)
1302                    throws com.liferay.portal.kernel.exception.SystemException {
1303                    getPersistence().removeByCompanyId(companyId);
1304            }
1305    
1306            public static void removeByThreadId(long threadId)
1307                    throws com.liferay.portal.kernel.exception.SystemException {
1308                    getPersistence().removeByThreadId(threadId);
1309            }
1310    
1311            public static void removeByThreadReplies(long threadId)
1312                    throws com.liferay.portal.kernel.exception.SystemException {
1313                    getPersistence().removeByThreadReplies(threadId);
1314            }
1315    
1316            public static void removeByUserId(long userId)
1317                    throws com.liferay.portal.kernel.exception.SystemException {
1318                    getPersistence().removeByUserId(userId);
1319            }
1320    
1321            public static void removeByG_U(long groupId, long userId)
1322                    throws com.liferay.portal.kernel.exception.SystemException {
1323                    getPersistence().removeByG_U(groupId, userId);
1324            }
1325    
1326            public static void removeByG_C(long groupId, long categoryId)
1327                    throws com.liferay.portal.kernel.exception.SystemException {
1328                    getPersistence().removeByG_C(groupId, categoryId);
1329            }
1330    
1331            public static void removeByG_S(long groupId, int status)
1332                    throws com.liferay.portal.kernel.exception.SystemException {
1333                    getPersistence().removeByG_S(groupId, status);
1334            }
1335    
1336            public static void removeByC_S(long companyId, int status)
1337                    throws com.liferay.portal.kernel.exception.SystemException {
1338                    getPersistence().removeByC_S(companyId, status);
1339            }
1340    
1341            public static void removeByC_C(long classNameId, long classPK)
1342                    throws com.liferay.portal.kernel.exception.SystemException {
1343                    getPersistence().removeByC_C(classNameId, classPK);
1344            }
1345    
1346            public static void removeByT_P(long threadId, long parentMessageId)
1347                    throws com.liferay.portal.kernel.exception.SystemException {
1348                    getPersistence().removeByT_P(threadId, parentMessageId);
1349            }
1350    
1351            public static void removeByT_S(long threadId, int status)
1352                    throws com.liferay.portal.kernel.exception.SystemException {
1353                    getPersistence().removeByT_S(threadId, status);
1354            }
1355    
1356            public static void removeByTR_S(long threadId, int status)
1357                    throws com.liferay.portal.kernel.exception.SystemException {
1358                    getPersistence().removeByTR_S(threadId, status);
1359            }
1360    
1361            public static void removeByG_U_S(long groupId, long userId, int status)
1362                    throws com.liferay.portal.kernel.exception.SystemException {
1363                    getPersistence().removeByG_U_S(groupId, userId, status);
1364            }
1365    
1366            public static void removeByG_C_T(long groupId, long categoryId,
1367                    long threadId)
1368                    throws com.liferay.portal.kernel.exception.SystemException {
1369                    getPersistence().removeByG_C_T(groupId, categoryId, threadId);
1370            }
1371    
1372            public static void removeByG_C_S(long groupId, long categoryId, int status)
1373                    throws com.liferay.portal.kernel.exception.SystemException {
1374                    getPersistence().removeByG_C_S(groupId, categoryId, status);
1375            }
1376    
1377            public static void removeByC_C_S(long classNameId, long classPK, int status)
1378                    throws com.liferay.portal.kernel.exception.SystemException {
1379                    getPersistence().removeByC_C_S(classNameId, classPK, status);
1380            }
1381    
1382            public static void removeByG_C_T_S(long groupId, long categoryId,
1383                    long threadId, int status)
1384                    throws com.liferay.portal.kernel.exception.SystemException {
1385                    getPersistence().removeByG_C_T_S(groupId, categoryId, threadId, status);
1386            }
1387    
1388            public static void removeAll()
1389                    throws com.liferay.portal.kernel.exception.SystemException {
1390                    getPersistence().removeAll();
1391            }
1392    
1393            public static int countByUuid(java.lang.String uuid)
1394                    throws com.liferay.portal.kernel.exception.SystemException {
1395                    return getPersistence().countByUuid(uuid);
1396            }
1397    
1398            public static int countByUUID_G(java.lang.String uuid, long groupId)
1399                    throws com.liferay.portal.kernel.exception.SystemException {
1400                    return getPersistence().countByUUID_G(uuid, groupId);
1401            }
1402    
1403            public static int countByGroupId(long groupId)
1404                    throws com.liferay.portal.kernel.exception.SystemException {
1405                    return getPersistence().countByGroupId(groupId);
1406            }
1407    
1408            public static int filterCountByGroupId(long groupId)
1409                    throws com.liferay.portal.kernel.exception.SystemException {
1410                    return getPersistence().filterCountByGroupId(groupId);
1411            }
1412    
1413            public static int countByCompanyId(long companyId)
1414                    throws com.liferay.portal.kernel.exception.SystemException {
1415                    return getPersistence().countByCompanyId(companyId);
1416            }
1417    
1418            public static int countByThreadId(long threadId)
1419                    throws com.liferay.portal.kernel.exception.SystemException {
1420                    return getPersistence().countByThreadId(threadId);
1421            }
1422    
1423            public static int countByThreadReplies(long threadId)
1424                    throws com.liferay.portal.kernel.exception.SystemException {
1425                    return getPersistence().countByThreadReplies(threadId);
1426            }
1427    
1428            public static int countByUserId(long userId)
1429                    throws com.liferay.portal.kernel.exception.SystemException {
1430                    return getPersistence().countByUserId(userId);
1431            }
1432    
1433            public static int countByG_U(long groupId, long userId)
1434                    throws com.liferay.portal.kernel.exception.SystemException {
1435                    return getPersistence().countByG_U(groupId, userId);
1436            }
1437    
1438            public static int filterCountByG_U(long groupId, long userId)
1439                    throws com.liferay.portal.kernel.exception.SystemException {
1440                    return getPersistence().filterCountByG_U(groupId, userId);
1441            }
1442    
1443            public static int countByG_C(long groupId, long categoryId)
1444                    throws com.liferay.portal.kernel.exception.SystemException {
1445                    return getPersistence().countByG_C(groupId, categoryId);
1446            }
1447    
1448            public static int filterCountByG_C(long groupId, long categoryId)
1449                    throws com.liferay.portal.kernel.exception.SystemException {
1450                    return getPersistence().filterCountByG_C(groupId, categoryId);
1451            }
1452    
1453            public static int countByG_S(long groupId, int status)
1454                    throws com.liferay.portal.kernel.exception.SystemException {
1455                    return getPersistence().countByG_S(groupId, status);
1456            }
1457    
1458            public static int filterCountByG_S(long groupId, int status)
1459                    throws com.liferay.portal.kernel.exception.SystemException {
1460                    return getPersistence().filterCountByG_S(groupId, status);
1461            }
1462    
1463            public static int countByC_S(long companyId, int status)
1464                    throws com.liferay.portal.kernel.exception.SystemException {
1465                    return getPersistence().countByC_S(companyId, status);
1466            }
1467    
1468            public static int countByC_C(long classNameId, long classPK)
1469                    throws com.liferay.portal.kernel.exception.SystemException {
1470                    return getPersistence().countByC_C(classNameId, classPK);
1471            }
1472    
1473            public static int countByT_P(long threadId, long parentMessageId)
1474                    throws com.liferay.portal.kernel.exception.SystemException {
1475                    return getPersistence().countByT_P(threadId, parentMessageId);
1476            }
1477    
1478            public static int countByT_S(long threadId, int status)
1479                    throws com.liferay.portal.kernel.exception.SystemException {
1480                    return getPersistence().countByT_S(threadId, status);
1481            }
1482    
1483            public static int countByTR_S(long threadId, int status)
1484                    throws com.liferay.portal.kernel.exception.SystemException {
1485                    return getPersistence().countByTR_S(threadId, status);
1486            }
1487    
1488            public static int countByG_U_S(long groupId, long userId, int status)
1489                    throws com.liferay.portal.kernel.exception.SystemException {
1490                    return getPersistence().countByG_U_S(groupId, userId, status);
1491            }
1492    
1493            public static int filterCountByG_U_S(long groupId, long userId, int status)
1494                    throws com.liferay.portal.kernel.exception.SystemException {
1495                    return getPersistence().filterCountByG_U_S(groupId, userId, status);
1496            }
1497    
1498            public static int countByG_C_T(long groupId, long categoryId, long threadId)
1499                    throws com.liferay.portal.kernel.exception.SystemException {
1500                    return getPersistence().countByG_C_T(groupId, categoryId, threadId);
1501            }
1502    
1503            public static int filterCountByG_C_T(long groupId, long categoryId,
1504                    long threadId)
1505                    throws com.liferay.portal.kernel.exception.SystemException {
1506                    return getPersistence().filterCountByG_C_T(groupId, categoryId, threadId);
1507            }
1508    
1509            public static int countByG_C_S(long groupId, long categoryId, int status)
1510                    throws com.liferay.portal.kernel.exception.SystemException {
1511                    return getPersistence().countByG_C_S(groupId, categoryId, status);
1512            }
1513    
1514            public static int filterCountByG_C_S(long groupId, long categoryId,
1515                    int status) throws com.liferay.portal.kernel.exception.SystemException {
1516                    return getPersistence().filterCountByG_C_S(groupId, categoryId, status);
1517            }
1518    
1519            public static int countByC_C_S(long classNameId, long classPK, int status)
1520                    throws com.liferay.portal.kernel.exception.SystemException {
1521                    return getPersistence().countByC_C_S(classNameId, classPK, status);
1522            }
1523    
1524            public static int countByG_C_T_S(long groupId, long categoryId,
1525                    long threadId, int status)
1526                    throws com.liferay.portal.kernel.exception.SystemException {
1527                    return getPersistence()
1528                                       .countByG_C_T_S(groupId, categoryId, threadId, status);
1529            }
1530    
1531            public static int filterCountByG_C_T_S(long groupId, long categoryId,
1532                    long threadId, int status)
1533                    throws com.liferay.portal.kernel.exception.SystemException {
1534                    return getPersistence()
1535                                       .filterCountByG_C_T_S(groupId, categoryId, threadId, status);
1536            }
1537    
1538            public static int countAll()
1539                    throws com.liferay.portal.kernel.exception.SystemException {
1540                    return getPersistence().countAll();
1541            }
1542    
1543            public static MBMessagePersistence getPersistence() {
1544                    if (_persistence == null) {
1545                            _persistence = (MBMessagePersistence)PortalBeanLocatorUtil.locate(MBMessagePersistence.class.getName());
1546                    }
1547    
1548                    return _persistence;
1549            }
1550    
1551            public void setPersistence(MBMessagePersistence persistence) {
1552                    _persistence = persistence;
1553            }
1554    
1555            private static MBMessagePersistence _persistence;
1556    }