com.liferay.portlet.messageboards.service.persistence
Class MBThreadUtil

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.persistence.MBThreadUtil

public class MBThreadUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
MBThreadPersistence, MBThreadPersistenceImpl
Generated:

Constructor Summary
MBThreadUtil()
           
 
Method Summary
static void cacheResult(java.util.List<MBThread> mbThreads)
           
static void cacheResult(MBThread mbThread)
           
static void clearCache()
           
static int countAll()
           
static int countByC_P(long categoryId, double priority)
           
static int countByG_C_L(long groupId, long categoryId, java.util.Date lastPostDate)
           
static int countByG_C_S(long groupId, long categoryId, int status)
           
static int countByG_C(long groupId, long categoryId)
           
static int countByG_S(long groupId, int status)
           
static int countByGroupId(long groupId)
           
static MBThread create(long threadId)
           
static MBThread fetchByPrimaryKey(long threadId)
           
static java.util.List<MBThread> findAll()
           
static java.util.List<MBThread> findAll(int start, int end)
           
static java.util.List<MBThread> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByC_P_First(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByC_P_Last(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread[] findByC_P_PrevAndNext(long threadId, long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<MBThread> findByC_P(long categoryId, double priority)
           
static java.util.List<MBThread> findByC_P(long categoryId, double priority, int start, int end)
           
static java.util.List<MBThread> findByC_P(long categoryId, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByG_C_First(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByG_C_L_First(long groupId, long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByG_C_L_Last(long groupId, long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread[] findByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<MBThread> findByG_C_L(long groupId, long categoryId, java.util.Date lastPostDate)
           
static java.util.List<MBThread> findByG_C_L(long groupId, long categoryId, java.util.Date lastPostDate, int start, int end)
           
static java.util.List<MBThread> findByG_C_L(long groupId, long categoryId, java.util.Date lastPostDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByG_C_Last(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread[] findByG_C_PrevAndNext(long threadId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByG_C_S_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByG_C_S_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread[] findByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<MBThread> findByG_C_S(long groupId, long categoryId, int status)
           
static java.util.List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end)
           
static java.util.List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<MBThread> findByG_C(long groupId, long categoryId)
           
static java.util.List<MBThread> findByG_C(long groupId, long categoryId, int start, int end)
           
static java.util.List<MBThread> findByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread[] findByG_S_PrevAndNext(long threadId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<MBThread> findByG_S(long groupId, int status)
           
static java.util.List<MBThread> findByG_S(long groupId, int status, int start, int end)
           
static java.util.List<MBThread> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<MBThread> findByGroupId(long groupId)
           
static java.util.List<MBThread> findByGroupId(long groupId, int start, int end)
           
static java.util.List<MBThread> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static MBThread findByPrimaryKey(long threadId)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static MBThreadPersistence getPersistence()
           
static MBThread remove(long threadId)
           
static MBThread remove(MBThread mbThread)
           
static void removeAll()
           
static void removeByC_P(long categoryId, double priority)
           
static void removeByG_C_L(long groupId, long categoryId, java.util.Date lastPostDate)
           
static void removeByG_C_S(long groupId, long categoryId, int status)
           
static void removeByG_C(long groupId, long categoryId)
           
static void removeByG_S(long groupId, int status)
           
static void removeByGroupId(long groupId)
           
 void setPersistence(MBThreadPersistence persistence)
           
static MBThread update(MBThread mbThread, boolean merge)
           
static MBThread updateImpl(MBThread mbThread, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBThreadUtil

public MBThreadUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static MBThread remove(MBThread mbThread)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static MBThread update(MBThread mbThread,
                              boolean merge)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(MBThread mbThread)

cacheResult

public static void cacheResult(java.util.List<MBThread> mbThreads)

create

public static MBThread create(long threadId)

remove

public static MBThread remove(long threadId)
                       throws com.liferay.portal.kernel.exception.SystemException,
                              NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

updateImpl

public static MBThread updateImpl(MBThread mbThread,
                                  boolean merge)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

public static MBThread findByPrimaryKey(long threadId)
                                 throws com.liferay.portal.kernel.exception.SystemException,
                                        NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

fetchByPrimaryKey

public static MBThread fetchByPrimaryKey(long threadId)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

public static java.util.List<MBThread> findByGroupId(long groupId)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

public static java.util.List<MBThread> findByGroupId(long groupId,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

public static java.util.List<MBThread> findByGroupId(long groupId,
                                                     int start,
                                                     int end,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId_First

public static MBThread findByGroupId_First(long groupId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.kernel.exception.SystemException,
                                           NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByGroupId_Last

public static MBThread findByGroupId_Last(long groupId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.kernel.exception.SystemException,
                                          NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByGroupId_PrevAndNext

public static MBThread[] findByGroupId_PrevAndNext(long threadId,
                                                   long groupId,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.kernel.exception.SystemException,
                                                   NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C

public static java.util.List<MBThread> findByG_C(long groupId,
                                                 long categoryId)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C

public static java.util.List<MBThread> findByG_C(long groupId,
                                                 long categoryId,
                                                 int start,
                                                 int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C

public static java.util.List<MBThread> findByG_C(long groupId,
                                                 long categoryId,
                                                 int start,
                                                 int end,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_First

public static MBThread findByG_C_First(long groupId,
                                       long categoryId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_Last

public static MBThread findByG_C_Last(long groupId,
                                      long categoryId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_PrevAndNext

public static MBThread[] findByG_C_PrevAndNext(long threadId,
                                               long groupId,
                                               long categoryId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_S

public static java.util.List<MBThread> findByG_S(long groupId,
                                                 int status)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_S

public static java.util.List<MBThread> findByG_S(long groupId,
                                                 int status,
                                                 int start,
                                                 int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_S

public static java.util.List<MBThread> findByG_S(long groupId,
                                                 int status,
                                                 int start,
                                                 int end,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_S_First

public static MBThread findByG_S_First(long groupId,
                                       int status,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_S_Last

public static MBThread findByG_S_Last(long groupId,
                                      int status,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_S_PrevAndNext

public static MBThread[] findByG_S_PrevAndNext(long threadId,
                                               long groupId,
                                               int status,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByC_P

public static java.util.List<MBThread> findByC_P(long categoryId,
                                                 double priority)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_P

public static java.util.List<MBThread> findByC_P(long categoryId,
                                                 double priority,
                                                 int start,
                                                 int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_P

public static java.util.List<MBThread> findByC_P(long categoryId,
                                                 double priority,
                                                 int start,
                                                 int end,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_P_First

public static MBThread findByC_P_First(long categoryId,
                                       double priority,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByC_P_Last

public static MBThread findByC_P_Last(long categoryId,
                                      double priority,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByC_P_PrevAndNext

public static MBThread[] findByC_P_PrevAndNext(long threadId,
                                               long categoryId,
                                               double priority,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_L

public static java.util.List<MBThread> findByG_C_L(long groupId,
                                                   long categoryId,
                                                   java.util.Date lastPostDate)
                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_L

public static java.util.List<MBThread> findByG_C_L(long groupId,
                                                   long categoryId,
                                                   java.util.Date lastPostDate,
                                                   int start,
                                                   int end)
                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_L

public static java.util.List<MBThread> findByG_C_L(long groupId,
                                                   long categoryId,
                                                   java.util.Date lastPostDate,
                                                   int start,
                                                   int end,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_L_First

public static MBThread findByG_C_L_First(long groupId,
                                         long categoryId,
                                         java.util.Date lastPostDate,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.kernel.exception.SystemException,
                                         NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_L_Last

public static MBThread findByG_C_L_Last(long groupId,
                                        long categoryId,
                                        java.util.Date lastPostDate,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.kernel.exception.SystemException,
                                        NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_L_PrevAndNext

public static MBThread[] findByG_C_L_PrevAndNext(long threadId,
                                                 long groupId,
                                                 long categoryId,
                                                 java.util.Date lastPostDate,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException,
                                                 NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_S

public static java.util.List<MBThread> findByG_C_S(long groupId,
                                                   long categoryId,
                                                   int status)
                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_S

public static java.util.List<MBThread> findByG_C_S(long groupId,
                                                   long categoryId,
                                                   int status,
                                                   int start,
                                                   int end)
                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_S

public static java.util.List<MBThread> findByG_C_S(long groupId,
                                                   long categoryId,
                                                   int status,
                                                   int start,
                                                   int end,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_S_First

public static MBThread findByG_C_S_First(long groupId,
                                         long categoryId,
                                         int status,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.kernel.exception.SystemException,
                                         NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_S_Last

public static MBThread findByG_C_S_Last(long groupId,
                                        long categoryId,
                                        int status,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.kernel.exception.SystemException,
                                        NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_S_PrevAndNext

public static MBThread[] findByG_C_S_PrevAndNext(long threadId,
                                                 long groupId,
                                                 long categoryId,
                                                 int status,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException,
                                                 NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findAll

public static java.util.List<MBThread> findAll()
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

public static java.util.List<MBThread> findAll(int start,
                                               int end)
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

public static java.util.List<MBThread> findAll(int start,
                                               int end,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByGroupId

public static void removeByGroupId(long groupId)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_C

public static void removeByG_C(long groupId,
                               long categoryId)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_S

public static void removeByG_S(long groupId,
                               int status)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByC_P

public static void removeByC_P(long categoryId,
                               double priority)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_C_L

public static void removeByG_C_L(long groupId,
                                 long categoryId,
                                 java.util.Date lastPostDate)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_C_S

public static void removeByG_C_S(long groupId,
                                 long categoryId,
                                 int status)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

public static void removeAll()
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByGroupId

public static int countByGroupId(long groupId)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_C

public static int countByG_C(long groupId,
                             long categoryId)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_S

public static int countByG_S(long groupId,
                             int status)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByC_P

public static int countByC_P(long categoryId,
                             double priority)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_C_L

public static int countByG_C_L(long groupId,
                               long categoryId,
                               java.util.Date lastPostDate)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_C_S

public static int countByG_C_S(long groupId,
                               long categoryId,
                               int status)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getPersistence

public static MBThreadPersistence getPersistence()

setPersistence

public void setPersistence(MBThreadPersistence persistence)