Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<MBThread>
      extended by com.liferay.portlet.messageboards.service.persistence.MBThreadPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<MBThread>, MBThreadPersistence

public class MBThreadPersistenceImpl
extends BasePersistenceImpl<MBThread>
implements MBThreadPersistence

The persistence implementation for the message boards thread service.

Caching information and settings can be found in portal.properties

See Also:
MBThreadPersistence, MBThreadUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_P
           
static FinderPath FINDER_PATH_COUNT_BY_G_C
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_L
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_S
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_L_P
           
static FinderPath FINDER_PATH_COUNT_BY_ROOTMESSAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_ROOTMESSAGEID
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_L
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_L_P
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_L
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_P
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
MBThreadPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the message boards thread persistence.
 void cacheResult(List<MBThread> mbThreads)
          Caches the message boards threads in the entity cache if it is enabled.
 void cacheResult(MBThread mbThread)
          Caches the message boards thread in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(MBThread mbThread)
           
 void clearCache()
          Clears the cache for all message boards threads.
 void clearCache(List<MBThread> mbThreads)
          Clears the cache for a List instances of this model.
 void clearCache(MBThread mbThread)
          Clears the cache for the message boards thread.
protected  void clearUniqueFindersCache(MBThread mbThread)
           
 int countAll()
          Returns the number of message boards threads.
 int countByC_P(long categoryId, double priority)
          Returns the number of message boards threads where categoryId = ? and priority = ?.
 int countByG_C_L(long groupId, long categoryId, Date lastPostDate)
          Returns the number of message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.
 int countByG_C_NotS(long groupId, long[] categoryIds, int status)
          Returns the number of message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.
 int countByG_C_NotS(long groupId, long categoryId, int status)
          Returns the number of message boards threads where groupId = ? and categoryId = ? and status ≠ ?.
 int countByG_C_S(long groupId, long[] categoryIds, int status)
          Returns the number of message boards threads where groupId = ? and categoryId = any ? and status = ?.
 int countByG_C_S(long groupId, long categoryId, int status)
          Returns the number of message boards threads where groupId = ? and categoryId = ? and status = ?.
 int countByG_C(long groupId, long categoryId)
          Returns the number of message boards threads where groupId = ? and categoryId = ?.
 int countByG_C(long groupId, long[] categoryIds)
          Returns the number of message boards threads where groupId = ? and categoryId = any ?.
 int countByG_NotC_NotS(long groupId, long categoryId, int status)
          Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.
 int countByG_NotC_S(long groupId, long categoryId, int status)
          Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status = ?.
 int countByG_NotC(long groupId, long categoryId)
          Returns the number of message boards threads where groupId = ? and categoryId ≠ ?.
 int countByG_S(long groupId, int status)
          Returns the number of message boards threads where groupId = ? and status = ?.
 int countByGroupId(long groupId)
          Returns the number of message boards threads where groupId = ?.
 int countByL_P(Date lastPostDate, double priority)
          Returns the number of message boards threads where lastPostDate = ? and priority = ?.
 int countByRootMessageId(long rootMessageId)
          Returns the number of message boards threads where rootMessageId = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of message boards threads where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of message boards threads where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of message boards threads where uuid = ?.
 MBThread create(long threadId)
          Creates a new message boards thread with the primary key.
 void destroy()
           
 MBThread fetchByC_P_First(long categoryId, double priority, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?.
 MBThread fetchByC_P_Last(long categoryId, double priority, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?.
 MBThread fetchByG_C_First(long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ?.
 MBThread fetchByG_C_L_First(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.
 MBThread fetchByG_C_L_Last(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.
 MBThread fetchByG_C_Last(long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ?.
 MBThread fetchByG_C_NotS_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.
 MBThread fetchByG_C_NotS_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.
 MBThread fetchByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.
 MBThread fetchByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.
 MBThread fetchByG_NotC_First(long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.
 MBThread fetchByG_NotC_Last(long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.
 MBThread fetchByG_NotC_NotS_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.
 MBThread fetchByG_NotC_NotS_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.
 MBThread fetchByG_NotC_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.
 MBThread fetchByG_NotC_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.
 MBThread fetchByG_S_First(long groupId, int status, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and status = ?.
 MBThread fetchByG_S_Last(long groupId, int status, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and status = ?.
 MBThread fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ?.
 MBThread fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ?.
 MBThread fetchByL_P_First(Date lastPostDate, double priority, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?.
 MBThread fetchByL_P_Last(Date lastPostDate, double priority, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where lastPostDate = ? and priority = ?.
 MBThread fetchByPrimaryKey(long threadId)
          Returns the message boards thread with the primary key or returns null if it could not be found.
 MBThread fetchByPrimaryKey(Serializable primaryKey)
          Returns the message boards thread with the primary key or returns null if it could not be found.
 MBThread fetchByRootMessageId(long rootMessageId)
          Returns the message boards thread where rootMessageId = ? or returns null if it could not be found.
 MBThread fetchByRootMessageId(long rootMessageId, boolean retrieveFromCache)
          Returns the message boards thread where rootMessageId = ? or returns null if it could not be found, optionally using the finder cache.
 MBThread fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?.
 MBThread fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?.
 MBThread fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where uuid = ?.
 MBThread fetchByUUID_G(String uuid, long groupId)
          Returns the message boards thread where uuid = ? and groupId = ? or returns null if it could not be found.
 MBThread fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the message boards thread where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 MBThread fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where uuid = ?.
 int filterCountByG_C_L(long groupId, long categoryId, Date lastPostDate)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?.
 int filterCountByG_C_NotS(long groupId, long[] categoryIds, int status)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?.
 int filterCountByG_C_NotS(long groupId, long categoryId, int status)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?.
 int filterCountByG_C_S(long groupId, long[] categoryIds, int status)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?.
 int filterCountByG_C_S(long groupId, long categoryId, int status)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?.
 int filterCountByG_C(long groupId, long categoryId)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ?.
 int filterCountByG_C(long groupId, long[] categoryIds)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.
 int filterCountByG_NotC_NotS(long groupId, long categoryId, int status)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?.
 int filterCountByG_NotC_S(long groupId, long categoryId, int status)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?.
 int filterCountByG_NotC(long groupId, long categoryId)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.
 int filterCountByG_S(long groupId, int status)
          Returns the number of message boards threads that the user has permission to view where groupId = ? and status = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of message boards threads that the user has permission to view where groupId = ?.
 MBThread[] filterFindByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?.
 List<MBThread> filterFindByG_C_L(long groupId, long categoryId, Date lastPostDate)
          Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?.
 List<MBThread> filterFindByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?.
 List<MBThread> filterFindByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ? and lastPostDate = ?.
 MBThread[] filterFindByG_C_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?.
 List<MBThread> filterFindByG_C_NotS(long groupId, long[] categoryIds, int status)
          Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?.
 List<MBThread> filterFindByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?.
 List<MBThread> filterFindByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?.
 List<MBThread> filterFindByG_C_NotS(long groupId, long categoryId, int status)
          Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?.
 List<MBThread> filterFindByG_C_NotS(long groupId, long categoryId, int status, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?.
 List<MBThread> filterFindByG_C_NotS(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ? and status ≠ ?.
 MBThread[] filterFindByG_C_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ?.
 MBThread[] filterFindByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?.
 List<MBThread> filterFindByG_C_S(long groupId, long[] categoryIds, int status)
          Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?.
 List<MBThread> filterFindByG_C_S(long groupId, long[] categoryIds, int status, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?.
 List<MBThread> filterFindByG_C_S(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?.
 List<MBThread> filterFindByG_C_S(long groupId, long categoryId, int status)
          Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?.
 List<MBThread> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?.
 List<MBThread> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ? and status = ?.
 List<MBThread> filterFindByG_C(long groupId, long categoryId)
          Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ?.
 List<MBThread> filterFindByG_C(long groupId, long[] categoryIds)
          Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.
 List<MBThread> filterFindByG_C(long groupId, long[] categoryIds, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.
 List<MBThread> filterFindByG_C(long groupId, long[] categoryIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.
 List<MBThread> filterFindByG_C(long groupId, long categoryId, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ?.
 List<MBThread> filterFindByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ?.
 MBThread[] filterFindByG_NotC_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?.
 List<MBThread> filterFindByG_NotC_NotS(long groupId, long categoryId, int status)
          Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?.
 List<MBThread> filterFindByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?.
 List<MBThread> filterFindByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ? and status ≠ ?.
 MBThread[] filterFindByG_NotC_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.
 MBThread[] filterFindByG_NotC_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?.
 List<MBThread> filterFindByG_NotC_S(long groupId, long categoryId, int status)
          Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?.
 List<MBThread> filterFindByG_NotC_S(long groupId, long categoryId, int status, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?.
 List<MBThread> filterFindByG_NotC_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ? and status = ?.
 List<MBThread> filterFindByG_NotC(long groupId, long categoryId)
          Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.
 List<MBThread> filterFindByG_NotC(long groupId, long categoryId, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.
 List<MBThread> filterFindByG_NotC(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ?.
 MBThread[] filterFindByG_S_PrevAndNext(long threadId, long groupId, int status, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and status = ?.
 List<MBThread> filterFindByG_S(long groupId, int status)
          Returns all the message boards threads that the user has permission to view where groupId = ? and status = ?.
 List<MBThread> filterFindByG_S(long groupId, int status, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ? and status = ?.
 List<MBThread> filterFindByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and status = ?.
 MBThread[] filterFindByGroupId_PrevAndNext(long threadId, long groupId, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ?.
 List<MBThread> filterFindByGroupId(long groupId)
          Returns all the message boards threads that the user has permission to view where groupId = ?.
 List<MBThread> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the message boards threads that the user has permission to view where groupId = ?.
 List<MBThread> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ?.
protected  MBThread filterGetByG_C_L_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread filterGetByG_C_NotS_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread filterGetByG_C_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread filterGetByG_C_S_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread filterGetByG_NotC_NotS_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread filterGetByG_NotC_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread filterGetByG_NotC_S_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread filterGetByG_S_PrevAndNext(Session session, MBThread mbThread, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread filterGetByGroupId_PrevAndNext(Session session, MBThread mbThread, long groupId, OrderByComparator orderByComparator, boolean previous)
           
 List<MBThread> findAll()
          Returns all the message boards threads.
 List<MBThread> findAll(int start, int end)
          Returns a range of all the message boards threads.
 List<MBThread> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads.
 MBThread findByC_P_First(long categoryId, double priority, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?.
 MBThread findByC_P_Last(long categoryId, double priority, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?.
 MBThread[] findByC_P_PrevAndNext(long threadId, long categoryId, double priority, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where categoryId = ? and priority = ?.
 List<MBThread> findByC_P(long categoryId, double priority)
          Returns all the message boards threads where categoryId = ? and priority = ?.
 List<MBThread> findByC_P(long categoryId, double priority, int start, int end)
          Returns a range of all the message boards threads where categoryId = ? and priority = ?.
 List<MBThread> findByC_P(long categoryId, double priority, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?.
 MBThread findByG_C_First(long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ?.
 MBThread findByG_C_L_First(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.
 MBThread findByG_C_L_Last(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.
 MBThread[] findByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.
 List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate)
          Returns all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.
 List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.
 List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.
 MBThread findByG_C_Last(long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ?.
 MBThread findByG_C_NotS_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.
 MBThread findByG_C_NotS_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.
 MBThread[] findByG_C_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.
 List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, int status)
          Returns all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.
 List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.
 List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.
 List<MBThread> findByG_C_NotS(long groupId, long categoryId, int status)
          Returns all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.
 List<MBThread> findByG_C_NotS(long groupId, long categoryId, int status, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.
 List<MBThread> findByG_C_NotS(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.
 MBThread[] findByG_C_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ?.
 MBThread findByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.
 MBThread findByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.
 MBThread[] findByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.
 List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status)
          Returns all the message boards threads where groupId = ? and categoryId = any ? and status = ?.
 List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and categoryId = any ? and status = ?.
 List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status = ?.
 List<MBThread> findByG_C_S(long groupId, long categoryId, int status)
          Returns all the message boards threads where groupId = ? and categoryId = ? and status = ?.
 List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and categoryId = ? and status = ?.
 List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?.
 List<MBThread> findByG_C(long groupId, long categoryId)
          Returns all the message boards threads where groupId = ? and categoryId = ?.
 List<MBThread> findByG_C(long groupId, long[] categoryIds)
          Returns all the message boards threads where groupId = ? and categoryId = any ?.
 List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and categoryId = any ?.
 List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ?.
 List<MBThread> findByG_C(long groupId, long categoryId, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and categoryId = ?.
 List<MBThread> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?.
 MBThread findByG_NotC_First(long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.
 MBThread findByG_NotC_Last(long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.
 MBThread findByG_NotC_NotS_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.
 MBThread findByG_NotC_NotS_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.
 MBThread[] findByG_NotC_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.
 List<MBThread> findByG_NotC_NotS(long groupId, long categoryId, int status)
          Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.
 List<MBThread> findByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.
 List<MBThread> findByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.
 MBThread[] findByG_NotC_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.
 MBThread findByG_NotC_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.
 MBThread findByG_NotC_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.
 MBThread[] findByG_NotC_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.
 List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status)
          Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.
 List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.
 List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.
 List<MBThread> findByG_NotC(long groupId, long categoryId)
          Returns all the message boards threads where groupId = ? and categoryId ≠ ?.
 List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ?.
 List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?.
 MBThread findByG_S_First(long groupId, int status, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and status = ?.
 MBThread findByG_S_Last(long groupId, int status, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and status = ?.
 MBThread[] findByG_S_PrevAndNext(long threadId, long groupId, int status, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and status = ?.
 List<MBThread> findByG_S(long groupId, int status)
          Returns all the message boards threads where groupId = ? and status = ?.
 List<MBThread> findByG_S(long groupId, int status, int start, int end)
          Returns a range of all the message boards threads where groupId = ? and status = ?.
 List<MBThread> findByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and status = ?.
 MBThread findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ?.
 MBThread findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ?.
 MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ?.
 List<MBThread> findByGroupId(long groupId)
          Returns all the message boards threads where groupId = ?.
 List<MBThread> findByGroupId(long groupId, int start, int end)
          Returns a range of all the message boards threads where groupId = ?.
 List<MBThread> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ?.
 MBThread findByL_P_First(Date lastPostDate, double priority, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?.
 MBThread findByL_P_Last(Date lastPostDate, double priority, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where lastPostDate = ? and priority = ?.
 MBThread[] findByL_P_PrevAndNext(long threadId, Date lastPostDate, double priority, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where lastPostDate = ? and priority = ?.
 List<MBThread> findByL_P(Date lastPostDate, double priority)
          Returns all the message boards threads where lastPostDate = ? and priority = ?.
 List<MBThread> findByL_P(Date lastPostDate, double priority, int start, int end)
          Returns a range of all the message boards threads where lastPostDate = ? and priority = ?.
 List<MBThread> findByL_P(Date lastPostDate, double priority, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where lastPostDate = ? and priority = ?.
 MBThread findByPrimaryKey(long threadId)
          Returns the message boards thread with the primary key or throws a NoSuchThreadException if it could not be found.
 MBThread findByPrimaryKey(Serializable primaryKey)
          Returns the message boards thread with the primary key or throws a NoSuchModelException if it could not be found.
 MBThread findByRootMessageId(long rootMessageId)
          Returns the message boards thread where rootMessageId = ? or throws a NoSuchThreadException if it could not be found.
 MBThread findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?.
 MBThread findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?.
 MBThread[] findByUuid_C_PrevAndNext(long threadId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where uuid = ? and companyId = ?.
 List<MBThread> findByUuid_C(String uuid, long companyId)
          Returns all the message boards threads where uuid = ? and companyId = ?.
 List<MBThread> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the message boards threads where uuid = ? and companyId = ?.
 List<MBThread> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?.
 MBThread findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first message boards thread in the ordered set where uuid = ?.
 MBThread findByUUID_G(String uuid, long groupId)
          Returns the message boards thread where uuid = ? and groupId = ? or throws a NoSuchThreadException if it could not be found.
 MBThread findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last message boards thread in the ordered set where uuid = ?.
 MBThread[] findByUuid_PrevAndNext(long threadId, String uuid, OrderByComparator orderByComparator)
          Returns the message boards threads before and after the current message boards thread in the ordered set where uuid = ?.
 List<MBThread> findByUuid(String uuid)
          Returns all the message boards threads where uuid = ?.
 List<MBThread> findByUuid(String uuid, int start, int end)
          Returns a range of all the message boards threads where uuid = ?.
 List<MBThread> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the message boards threads where uuid = ?.
protected  Set<String> getBadColumnNames()
           
protected  MBThread getByC_P_PrevAndNext(Session session, MBThread mbThread, long categoryId, double priority, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByG_C_L_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByG_C_NotS_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByG_C_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByG_C_S_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByG_NotC_NotS_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByG_NotC_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByG_NotC_S_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByG_S_PrevAndNext(Session session, MBThread mbThread, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByGroupId_PrevAndNext(Session session, MBThread mbThread, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByL_P_PrevAndNext(Session session, MBThread mbThread, Date lastPostDate, double priority, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByUuid_C_PrevAndNext(Session session, MBThread mbThread, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  MBThread getByUuid_PrevAndNext(Session session, MBThread mbThread, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 MBThread remove(long threadId)
          Removes the message boards thread with the primary key from the database.
 MBThread remove(Serializable primaryKey)
          Removes the message boards thread with the primary key from the database.
 void removeAll()
          Removes all the message boards threads from the database.
 void removeByC_P(long categoryId, double priority)
          Removes all the message boards threads where categoryId = ? and priority = ? from the database.
 void removeByG_C_L(long groupId, long categoryId, Date lastPostDate)
          Removes all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ? from the database.
 void removeByG_C_NotS(long groupId, long categoryId, int status)
          Removes all the message boards threads where groupId = ? and categoryId = ? and status ≠ ? from the database.
 void removeByG_C_S(long groupId, long categoryId, int status)
          Removes all the message boards threads where groupId = ? and categoryId = ? and status = ? from the database.
 void removeByG_C(long groupId, long categoryId)
          Removes all the message boards threads where groupId = ? and categoryId = ? from the database.
 void removeByG_NotC_NotS(long groupId, long categoryId, int status)
          Removes all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ? from the database.
 void removeByG_NotC_S(long groupId, long categoryId, int status)
          Removes all the message boards threads where groupId = ? and categoryId ≠ ? and status = ? from the database.
 void removeByG_NotC(long groupId, long categoryId)
          Removes all the message boards threads where groupId = ? and categoryId ≠ ? from the database.
 void removeByG_S(long groupId, int status)
          Removes all the message boards threads where groupId = ? and status = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the message boards threads where groupId = ? from the database.
 void removeByL_P(Date lastPostDate, double priority)
          Removes all the message boards threads where lastPostDate = ? and priority = ? from the database.
 MBThread removeByRootMessageId(long rootMessageId)
          Removes the message boards thread where rootMessageId = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the message boards threads where uuid = ? and companyId = ? from the database.
 MBThread removeByUUID_G(String uuid, long groupId)
          Removes the message boards thread where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the message boards threads where uuid = ? from the database.
protected  MBThread removeImpl(MBThread mbThread)
          Removes the model instance from the database.
protected  MBThread toUnwrappedModel(MBThread mbThread)
           
 MBThread updateImpl(MBThread mbThread)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FETCH_BY_ROOTMESSAGEID

public static final FinderPath FINDER_PATH_FETCH_BY_ROOTMESSAGEID

FINDER_PATH_COUNT_BY_ROOTMESSAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_ROOTMESSAGEID

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C

FINDER_PATH_COUNT_BY_G_C

public static final FinderPath FINDER_PATH_COUNT_BY_G_C

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S

FINDER_PATH_COUNT_BY_G_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P

FINDER_PATH_COUNT_BY_C_P

public static final FinderPath FINDER_PATH_COUNT_BY_C_P

FINDER_PATH_WITH_PAGINATION_FIND_BY_L_P

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_L_P

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_P

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_P

FINDER_PATH_COUNT_BY_L_P

public static final FinderPath FINDER_PATH_COUNT_BY_L_P

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_L

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_L

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_L

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_L

FINDER_PATH_COUNT_BY_G_C_L

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_L

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_S

FINDER_PATH_COUNT_BY_G_C_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_S

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_NOTS

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_NOTS

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC_S

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC_NOTS

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC_NOTS
Constructor Detail

MBThreadPersistenceImpl

public MBThreadPersistenceImpl()
Method Detail

findByUuid

public List<MBThread> findByUuid(String uuid)
                          throws SystemException
Returns all the message boards threads where uuid = ?.

Specified by:
findByUuid in interface MBThreadPersistence
Parameters:
uuid - the uuid
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByUuid

public List<MBThread> findByUuid(String uuid,
                                 int start,
                                 int end)
                          throws SystemException
Returns a range of all the message boards threads where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface MBThreadPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByUuid

public List<MBThread> findByUuid(String uuid,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Returns an ordered range of all the message boards threads where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface MBThreadPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByUuid_First

public MBThread findByUuid_First(String uuid,
                                 OrderByComparator orderByComparator)
                          throws NoSuchThreadException,
                                 SystemException
Returns the first message boards thread in the ordered set where uuid = ?.

Specified by:
findByUuid_First in interface MBThreadPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByUuid_First

public MBThread fetchByUuid_First(String uuid,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns the first message boards thread in the ordered set where uuid = ?.

Specified by:
fetchByUuid_First in interface MBThreadPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

public MBThread findByUuid_Last(String uuid,
                                OrderByComparator orderByComparator)
                         throws NoSuchThreadException,
                                SystemException
Returns the last message boards thread in the ordered set where uuid = ?.

Specified by:
findByUuid_Last in interface MBThreadPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

public MBThread fetchByUuid_Last(String uuid,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Returns the last message boards thread in the ordered set where uuid = ?.

Specified by:
fetchByUuid_Last in interface MBThreadPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public MBThread[] findByUuid_PrevAndNext(long threadId,
                                         String uuid,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchThreadException,
                                         SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where uuid = ?.

Specified by:
findByUuid_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected MBThread getByUuid_PrevAndNext(Session session,
                                         MBThread mbThread,
                                         String uuid,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Removes all the message boards threads where uuid = ? from the database.

Specified by:
removeByUuid in interface MBThreadPersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Returns the number of message boards threads where uuid = ?.

Specified by:
countByUuid in interface MBThreadPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByUUID_G

public MBThread findByUUID_G(String uuid,
                             long groupId)
                      throws NoSuchThreadException,
                             SystemException
Returns the message boards thread where uuid = ? and groupId = ? or throws a NoSuchThreadException if it could not be found.

Specified by:
findByUUID_G in interface MBThreadPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public MBThread fetchByUUID_G(String uuid,
                              long groupId)
                       throws SystemException
Returns the message boards thread where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByUUID_G in interface MBThreadPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public MBThread fetchByUUID_G(String uuid,
                              long groupId,
                              boolean retrieveFromCache)
                       throws SystemException
Returns the message boards thread where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByUUID_G in interface MBThreadPersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public MBThread removeByUUID_G(String uuid,
                               long groupId)
                        throws NoSuchThreadException,
                               SystemException
Removes the message boards thread where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface MBThreadPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the message boards thread that was removed
Throws:
SystemException - if a system exception occurred
NoSuchThreadException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Returns the number of message boards threads where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface MBThreadPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByUuid_C

public List<MBThread> findByUuid_C(String uuid,
                                   long companyId)
                            throws SystemException
Returns all the message boards threads where uuid = ? and companyId = ?.

Specified by:
findByUuid_C in interface MBThreadPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByUuid_C

public List<MBThread> findByUuid_C(String uuid,
                                   long companyId,
                                   int start,
                                   int end)
                            throws SystemException
Returns a range of all the message boards threads where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface MBThreadPersistence
Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByUuid_C

public List<MBThread> findByUuid_C(String uuid,
                                   long companyId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface MBThreadPersistence
Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByUuid_C_First

public MBThread findByUuid_C_First(String uuid,
                                   long companyId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchThreadException,
                                   SystemException
Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_First in interface MBThreadPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByUuid_C_First

public MBThread fetchByUuid_C_First(String uuid,
                                    long companyId,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?.

Specified by:
fetchByUuid_C_First in interface MBThreadPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

public MBThread findByUuid_C_Last(String uuid,
                                  long companyId,
                                  OrderByComparator orderByComparator)
                           throws NoSuchThreadException,
                                  SystemException
Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_Last in interface MBThreadPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByUuid_C_Last

public MBThread fetchByUuid_C_Last(String uuid,
                                   long companyId,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?.

Specified by:
fetchByUuid_C_Last in interface MBThreadPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

public MBThread[] findByUuid_C_PrevAndNext(long threadId,
                                           String uuid,
                                           long companyId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchThreadException,
                                           SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_C_PrevAndNext

protected MBThread getByUuid_C_PrevAndNext(Session session,
                                           MBThread mbThread,
                                           String uuid,
                                           long companyId,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

removeByUuid_C

public void removeByUuid_C(String uuid,
                           long companyId)
                    throws SystemException
Removes all the message boards threads where uuid = ? and companyId = ? from the database.

Specified by:
removeByUuid_C in interface MBThreadPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

public int countByUuid_C(String uuid,
                         long companyId)
                  throws SystemException
Returns the number of message boards threads where uuid = ? and companyId = ?.

Specified by:
countByUuid_C in interface MBThreadPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<MBThread> findByGroupId(long groupId)
                             throws SystemException
Returns all the message boards threads where groupId = ?.

Specified by:
findByGroupId in interface MBThreadPersistence
Parameters:
groupId - the group ID
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<MBThread> findByGroupId(long groupId,
                                    int start,
                                    int end)
                             throws SystemException
Returns a range of all the message boards threads where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface MBThreadPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<MBThread> findByGroupId(long groupId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the message boards threads where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface MBThreadPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public MBThread findByGroupId_First(long groupId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchThreadException,
                                    SystemException
Returns the first message boards thread in the ordered set where groupId = ?.

Specified by:
findByGroupId_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

public MBThread fetchByGroupId_First(long groupId,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the first message boards thread in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

public MBThread findByGroupId_Last(long groupId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchThreadException,
                                   SystemException
Returns the last message boards thread in the ordered set where groupId = ?.

Specified by:
findByGroupId_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

public MBThread fetchByGroupId_Last(long groupId,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the last message boards thread in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public MBThread[] findByGroupId_PrevAndNext(long threadId,
                                            long groupId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchThreadException,
                                            SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ?.

Specified by:
findByGroupId_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByGroupId_PrevAndNext

protected MBThread getByGroupId_PrevAndNext(Session session,
                                            MBThread mbThread,
                                            long groupId,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

filterFindByGroupId

public List<MBThread> filterFindByGroupId(long groupId)
                                   throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId in interface MBThreadPersistence
Parameters:
groupId - the group ID
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public List<MBThread> filterFindByGroupId(long groupId,
                                          int start,
                                          int end)
                                   throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByGroupId in interface MBThreadPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public List<MBThread> filterFindByGroupId(long groupId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByGroupId in interface MBThreadPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

public MBThread[] filterFindByGroupId_PrevAndNext(long threadId,
                                                  long groupId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchThreadException,
                                                  SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

filterGetByGroupId_PrevAndNext

protected MBThread filterGetByGroupId_PrevAndNext(Session session,
                                                  MBThread mbThread,
                                                  long groupId,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Removes all the message boards threads where groupId = ? from the database.

Specified by:
removeByGroupId in interface MBThreadPersistence
Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Returns the number of message boards threads where groupId = ?.

Specified by:
countByGroupId in interface MBThreadPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ?.

Specified by:
filterCountByGroupId in interface MBThreadPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByRootMessageId

public MBThread findByRootMessageId(long rootMessageId)
                             throws NoSuchThreadException,
                                    SystemException
Returns the message boards thread where rootMessageId = ? or throws a NoSuchThreadException if it could not be found.

Specified by:
findByRootMessageId in interface MBThreadPersistence
Parameters:
rootMessageId - the root message ID
Returns:
the matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByRootMessageId

public MBThread fetchByRootMessageId(long rootMessageId)
                              throws SystemException
Returns the message boards thread where rootMessageId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByRootMessageId in interface MBThreadPersistence
Parameters:
rootMessageId - the root message ID
Returns:
the matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

fetchByRootMessageId

public MBThread fetchByRootMessageId(long rootMessageId,
                                     boolean retrieveFromCache)
                              throws SystemException
Returns the message boards thread where rootMessageId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByRootMessageId in interface MBThreadPersistence
Parameters:
rootMessageId - the root message ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

removeByRootMessageId

public MBThread removeByRootMessageId(long rootMessageId)
                               throws NoSuchThreadException,
                                      SystemException
Removes the message boards thread where rootMessageId = ? from the database.

Specified by:
removeByRootMessageId in interface MBThreadPersistence
Parameters:
rootMessageId - the root message ID
Returns:
the message boards thread that was removed
Throws:
SystemException - if a system exception occurred
NoSuchThreadException

countByRootMessageId

public int countByRootMessageId(long rootMessageId)
                         throws SystemException
Returns the number of message boards threads where rootMessageId = ?.

Specified by:
countByRootMessageId in interface MBThreadPersistence
Parameters:
rootMessageId - the root message ID
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C

public List<MBThread> findByG_C(long groupId,
                                long categoryId)
                         throws SystemException
Returns all the message boards threads where groupId = ? and categoryId = ?.

Specified by:
findByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C

public List<MBThread> findByG_C(long groupId,
                                long categoryId,
                                int start,
                                int end)
                         throws SystemException
Returns a range of all the message boards threads where groupId = ? and categoryId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C

public List<MBThread> findByG_C(long groupId,
                                long categoryId,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_First

public MBThread findByG_C_First(long groupId,
                                long categoryId,
                                OrderByComparator orderByComparator)
                         throws NoSuchThreadException,
                                SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ?.

Specified by:
findByG_C_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_C_First

public MBThread fetchByG_C_First(long groupId,
                                 long categoryId,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ?.

Specified by:
fetchByG_C_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_Last

public MBThread findByG_C_Last(long groupId,
                               long categoryId,
                               OrderByComparator orderByComparator)
                        throws NoSuchThreadException,
                               SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ?.

Specified by:
findByG_C_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_C_Last

public MBThread fetchByG_C_Last(long groupId,
                                long categoryId,
                                OrderByComparator orderByComparator)
                         throws SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ?.

Specified by:
fetchByG_C_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_PrevAndNext

public MBThread[] findByG_C_PrevAndNext(long threadId,
                                        long groupId,
                                        long categoryId,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchThreadException,
                                        SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ?.

Specified by:
findByG_C_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByG_C_PrevAndNext

protected MBThread getByG_C_PrevAndNext(Session session,
                                        MBThread mbThread,
                                        long groupId,
                                        long categoryId,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

filterFindByG_C

public List<MBThread> filterFindByG_C(long groupId,
                                      long categoryId)
                               throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ?.

Specified by:
filterFindByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C

public List<MBThread> filterFindByG_C(long groupId,
                                      long categoryId,
                                      int start,
                                      int end)
                               throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C

public List<MBThread> filterFindByG_C(long groupId,
                                      long categoryId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_PrevAndNext

public MBThread[] filterFindByG_C_PrevAndNext(long threadId,
                                              long groupId,
                                              long categoryId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchThreadException,
                                              SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ?.

Specified by:
filterFindByG_C_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_C_PrevAndNext

protected MBThread filterGetByG_C_PrevAndNext(Session session,
                                              MBThread mbThread,
                                              long groupId,
                                              long categoryId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_C

public List<MBThread> filterFindByG_C(long groupId,
                                      long[] categoryIds)
                               throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.

Specified by:
filterFindByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C

public List<MBThread> filterFindByG_C(long groupId,
                                      long[] categoryIds,
                                      int start,
                                      int end)
                               throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C

public List<MBThread> filterFindByG_C(long groupId,
                                      long[] categoryIds,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_C

public List<MBThread> findByG_C(long groupId,
                                long[] categoryIds)
                         throws SystemException
Returns all the message boards threads where groupId = ? and categoryId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C

public List<MBThread> findByG_C(long groupId,
                                long[] categoryIds,
                                int start,
                                int end)
                         throws SystemException
Returns a range of all the message boards threads where groupId = ? and categoryId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C

public List<MBThread> findByG_C(long groupId,
                                long[] categoryIds,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

removeByG_C

public void removeByG_C(long groupId,
                        long categoryId)
                 throws SystemException
Removes all the message boards threads where groupId = ? and categoryId = ? from the database.

Specified by:
removeByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
Throws:
SystemException - if a system exception occurred

countByG_C

public int countByG_C(long groupId,
                      long categoryId)
               throws SystemException
Returns the number of message boards threads where groupId = ? and categoryId = ?.

Specified by:
countByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

countByG_C

public int countByG_C(long groupId,
                      long[] categoryIds)
               throws SystemException
Returns the number of message boards threads where groupId = ? and categoryId = any ?.

Specified by:
countByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

filterCountByG_C

public int filterCountByG_C(long groupId,
                            long categoryId)
                     throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ?.

Specified by:
filterCountByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_C

public int filterCountByG_C(long groupId,
                            long[] categoryIds)
                     throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.

Specified by:
filterCountByG_C in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_NotC

public List<MBThread> findByG_NotC(long groupId,
                                   long categoryId)
                            throws SystemException
Returns all the message boards threads where groupId = ? and categoryId ≠ ?.

Specified by:
findByG_NotC in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_NotC

public List<MBThread> findByG_NotC(long groupId,
                                   long categoryId,
                                   int start,
                                   int end)
                            throws SystemException
Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_NotC in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_NotC

public List<MBThread> findByG_NotC(long groupId,
                                   long categoryId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_NotC in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_NotC_First

public MBThread findByG_NotC_First(long groupId,
                                   long categoryId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchThreadException,
                                   SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.

Specified by:
findByG_NotC_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_NotC_First

public MBThread fetchByG_NotC_First(long groupId,
                                    long categoryId,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.

Specified by:
fetchByG_NotC_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_NotC_Last

public MBThread findByG_NotC_Last(long groupId,
                                  long categoryId,
                                  OrderByComparator orderByComparator)
                           throws NoSuchThreadException,
                                  SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.

Specified by:
findByG_NotC_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_NotC_Last

public MBThread fetchByG_NotC_Last(long groupId,
                                   long categoryId,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.

Specified by:
fetchByG_NotC_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_NotC_PrevAndNext

public MBThread[] findByG_NotC_PrevAndNext(long threadId,
                                           long groupId,
                                           long categoryId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchThreadException,
                                           SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.

Specified by:
findByG_NotC_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByG_NotC_PrevAndNext

protected MBThread getByG_NotC_PrevAndNext(Session session,
                                           MBThread mbThread,
                                           long groupId,
                                           long categoryId,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

filterFindByG_NotC

public List<MBThread> filterFindByG_NotC(long groupId,
                                         long categoryId)
                                  throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.

Specified by:
filterFindByG_NotC in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_NotC

public List<MBThread> filterFindByG_NotC(long groupId,
                                         long categoryId,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_NotC in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_NotC

public List<MBThread> filterFindByG_NotC(long groupId,
                                         long categoryId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_NotC in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_NotC_PrevAndNext

public MBThread[] filterFindByG_NotC_PrevAndNext(long threadId,
                                                 long groupId,
                                                 long categoryId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchThreadException,
                                                 SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.

Specified by:
filterFindByG_NotC_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_NotC_PrevAndNext

protected MBThread filterGetByG_NotC_PrevAndNext(Session session,
                                                 MBThread mbThread,
                                                 long groupId,
                                                 long categoryId,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

removeByG_NotC

public void removeByG_NotC(long groupId,
                           long categoryId)
                    throws SystemException
Removes all the message boards threads where groupId = ? and categoryId ≠ ? from the database.

Specified by:
removeByG_NotC in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
Throws:
SystemException - if a system exception occurred

countByG_NotC

public int countByG_NotC(long groupId,
                         long categoryId)
                  throws SystemException
Returns the number of message boards threads where groupId = ? and categoryId ≠ ?.

Specified by:
countByG_NotC in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

filterCountByG_NotC

public int filterCountByG_NotC(long groupId,
                               long categoryId)
                        throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.

Specified by:
filterCountByG_NotC in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_S

public List<MBThread> findByG_S(long groupId,
                                int status)
                         throws SystemException
Returns all the message boards threads where groupId = ? and status = ?.

Specified by:
findByG_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_S

public List<MBThread> findByG_S(long groupId,
                                int status,
                                int start,
                                int end)
                         throws SystemException
Returns a range of all the message boards threads where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_S

public List<MBThread> findByG_S(long groupId,
                                int status,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_S_First

public MBThread findByG_S_First(long groupId,
                                int status,
                                OrderByComparator orderByComparator)
                         throws NoSuchThreadException,
                                SystemException
Returns the first message boards thread in the ordered set where groupId = ? and status = ?.

Specified by:
findByG_S_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_S_First

public MBThread fetchByG_S_First(long groupId,
                                 int status,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Returns the first message boards thread in the ordered set where groupId = ? and status = ?.

Specified by:
fetchByG_S_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_S_Last

public MBThread findByG_S_Last(long groupId,
                               int status,
                               OrderByComparator orderByComparator)
                        throws NoSuchThreadException,
                               SystemException
Returns the last message boards thread in the ordered set where groupId = ? and status = ?.

Specified by:
findByG_S_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_S_Last

public MBThread fetchByG_S_Last(long groupId,
                                int status,
                                OrderByComparator orderByComparator)
                         throws SystemException
Returns the last message boards thread in the ordered set where groupId = ? and status = ?.

Specified by:
fetchByG_S_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_S_PrevAndNext

public MBThread[] findByG_S_PrevAndNext(long threadId,
                                        long groupId,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchThreadException,
                                        SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and status = ?.

Specified by:
findByG_S_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByG_S_PrevAndNext

protected MBThread getByG_S_PrevAndNext(Session session,
                                        MBThread mbThread,
                                        long groupId,
                                        int status,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

filterFindByG_S

public List<MBThread> filterFindByG_S(long groupId,
                                      int status)
                               throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and status = ?.

Specified by:
filterFindByG_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_S

public List<MBThread> filterFindByG_S(long groupId,
                                      int status,
                                      int start,
                                      int end)
                               throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_S

public List<MBThread> filterFindByG_S(long groupId,
                                      int status,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_S_PrevAndNext

public MBThread[] filterFindByG_S_PrevAndNext(long threadId,
                                              long groupId,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchThreadException,
                                              SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and status = ?.

Specified by:
filterFindByG_S_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_S_PrevAndNext

protected MBThread filterGetByG_S_PrevAndNext(Session session,
                                              MBThread mbThread,
                                              long groupId,
                                              int status,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

removeByG_S

public void removeByG_S(long groupId,
                        int status)
                 throws SystemException
Removes all the message boards threads where groupId = ? and status = ? from the database.

Specified by:
removeByG_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_S

public int countByG_S(long groupId,
                      int status)
               throws SystemException
Returns the number of message boards threads where groupId = ? and status = ?.

Specified by:
countByG_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

filterCountByG_S

public int filterCountByG_S(long groupId,
                            int status)
                     throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and status = ?.

Specified by:
filterCountByG_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByC_P

public List<MBThread> findByC_P(long categoryId,
                                double priority)
                         throws SystemException
Returns all the message boards threads where categoryId = ? and priority = ?.

Specified by:
findByC_P in interface MBThreadPersistence
Parameters:
categoryId - the category ID
priority - the priority
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByC_P

public List<MBThread> findByC_P(long categoryId,
                                double priority,
                                int start,
                                int end)
                         throws SystemException
Returns a range of all the message boards threads where categoryId = ? and priority = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_P in interface MBThreadPersistence
Parameters:
categoryId - the category ID
priority - the priority
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByC_P

public List<MBThread> findByC_P(long categoryId,
                                double priority,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_P in interface MBThreadPersistence
Parameters:
categoryId - the category ID
priority - the priority
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByC_P_First

public MBThread findByC_P_First(long categoryId,
                                double priority,
                                OrderByComparator orderByComparator)
                         throws NoSuchThreadException,
                                SystemException
Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?.

Specified by:
findByC_P_First in interface MBThreadPersistence
Parameters:
categoryId - the category ID
priority - the priority
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByC_P_First

public MBThread fetchByC_P_First(long categoryId,
                                 double priority,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?.

Specified by:
fetchByC_P_First in interface MBThreadPersistence
Parameters:
categoryId - the category ID
priority - the priority
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByC_P_Last

public MBThread findByC_P_Last(long categoryId,
                               double priority,
                               OrderByComparator orderByComparator)
                        throws NoSuchThreadException,
                               SystemException
Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?.

Specified by:
findByC_P_Last in interface MBThreadPersistence
Parameters:
categoryId - the category ID
priority - the priority
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByC_P_Last

public MBThread fetchByC_P_Last(long categoryId,
                                double priority,
                                OrderByComparator orderByComparator)
                         throws SystemException
Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?.

Specified by:
fetchByC_P_Last in interface MBThreadPersistence
Parameters:
categoryId - the category ID
priority - the priority
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByC_P_PrevAndNext

public MBThread[] findByC_P_PrevAndNext(long threadId,
                                        long categoryId,
                                        double priority,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchThreadException,
                                        SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where categoryId = ? and priority = ?.

Specified by:
findByC_P_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
categoryId - the category ID
priority - the priority
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByC_P_PrevAndNext

protected MBThread getByC_P_PrevAndNext(Session session,
                                        MBThread mbThread,
                                        long categoryId,
                                        double priority,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

removeByC_P

public void removeByC_P(long categoryId,
                        double priority)
                 throws SystemException
Removes all the message boards threads where categoryId = ? and priority = ? from the database.

Specified by:
removeByC_P in interface MBThreadPersistence
Parameters:
categoryId - the category ID
priority - the priority
Throws:
SystemException - if a system exception occurred

countByC_P

public int countByC_P(long categoryId,
                      double priority)
               throws SystemException
Returns the number of message boards threads where categoryId = ? and priority = ?.

Specified by:
countByC_P in interface MBThreadPersistence
Parameters:
categoryId - the category ID
priority - the priority
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByL_P

public List<MBThread> findByL_P(Date lastPostDate,
                                double priority)
                         throws SystemException
Returns all the message boards threads where lastPostDate = ? and priority = ?.

Specified by:
findByL_P in interface MBThreadPersistence
Parameters:
lastPostDate - the last post date
priority - the priority
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByL_P

public List<MBThread> findByL_P(Date lastPostDate,
                                double priority,
                                int start,
                                int end)
                         throws SystemException
Returns a range of all the message boards threads where lastPostDate = ? and priority = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByL_P in interface MBThreadPersistence
Parameters:
lastPostDate - the last post date
priority - the priority
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByL_P

public List<MBThread> findByL_P(Date lastPostDate,
                                double priority,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Returns an ordered range of all the message boards threads where lastPostDate = ? and priority = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByL_P in interface MBThreadPersistence
Parameters:
lastPostDate - the last post date
priority - the priority
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByL_P_First

public MBThread findByL_P_First(Date lastPostDate,
                                double priority,
                                OrderByComparator orderByComparator)
                         throws NoSuchThreadException,
                                SystemException
Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?.

Specified by:
findByL_P_First in interface MBThreadPersistence
Parameters:
lastPostDate - the last post date
priority - the priority
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByL_P_First

public MBThread fetchByL_P_First(Date lastPostDate,
                                 double priority,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?.

Specified by:
fetchByL_P_First in interface MBThreadPersistence
Parameters:
lastPostDate - the last post date
priority - the priority
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByL_P_Last

public MBThread findByL_P_Last(Date lastPostDate,
                               double priority,
                               OrderByComparator orderByComparator)
                        throws NoSuchThreadException,
                               SystemException
Returns the last message boards thread in the ordered set where lastPostDate = ? and priority = ?.

Specified by:
findByL_P_Last in interface MBThreadPersistence
Parameters:
lastPostDate - the last post date
priority - the priority
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByL_P_Last

public MBThread fetchByL_P_Last(Date lastPostDate,
                                double priority,
                                OrderByComparator orderByComparator)
                         throws SystemException
Returns the last message boards thread in the ordered set where lastPostDate = ? and priority = ?.

Specified by:
fetchByL_P_Last in interface MBThreadPersistence
Parameters:
lastPostDate - the last post date
priority - the priority
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByL_P_PrevAndNext

public MBThread[] findByL_P_PrevAndNext(long threadId,
                                        Date lastPostDate,
                                        double priority,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchThreadException,
                                        SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where lastPostDate = ? and priority = ?.

Specified by:
findByL_P_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
lastPostDate - the last post date
priority - the priority
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByL_P_PrevAndNext

protected MBThread getByL_P_PrevAndNext(Session session,
                                        MBThread mbThread,
                                        Date lastPostDate,
                                        double priority,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

removeByL_P

public void removeByL_P(Date lastPostDate,
                        double priority)
                 throws SystemException
Removes all the message boards threads where lastPostDate = ? and priority = ? from the database.

Specified by:
removeByL_P in interface MBThreadPersistence
Parameters:
lastPostDate - the last post date
priority - the priority
Throws:
SystemException - if a system exception occurred

countByL_P

public int countByL_P(Date lastPostDate,
                      double priority)
               throws SystemException
Returns the number of message boards threads where lastPostDate = ? and priority = ?.

Specified by:
countByL_P in interface MBThreadPersistence
Parameters:
lastPostDate - the last post date
priority - the priority
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_L

public List<MBThread> findByG_C_L(long groupId,
                                  long categoryId,
                                  Date lastPostDate)
                           throws SystemException
Returns all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.

Specified by:
findByG_C_L in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_L

public List<MBThread> findByG_C_L(long groupId,
                                  long categoryId,
                                  Date lastPostDate,
                                  int start,
                                  int end)
                           throws SystemException
Returns a range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_L in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_L

public List<MBThread> findByG_C_L(long groupId,
                                  long categoryId,
                                  Date lastPostDate,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_L in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_L_First

public MBThread findByG_C_L_First(long groupId,
                                  long categoryId,
                                  Date lastPostDate,
                                  OrderByComparator orderByComparator)
                           throws NoSuchThreadException,
                                  SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.

Specified by:
findByG_C_L_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_C_L_First

public MBThread fetchByG_C_L_First(long groupId,
                                   long categoryId,
                                   Date lastPostDate,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.

Specified by:
fetchByG_C_L_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_L_Last

public MBThread findByG_C_L_Last(long groupId,
                                 long categoryId,
                                 Date lastPostDate,
                                 OrderByComparator orderByComparator)
                          throws NoSuchThreadException,
                                 SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.

Specified by:
findByG_C_L_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_C_L_Last

public MBThread fetchByG_C_L_Last(long groupId,
                                  long categoryId,
                                  Date lastPostDate,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.

Specified by:
fetchByG_C_L_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_L_PrevAndNext

public MBThread[] findByG_C_L_PrevAndNext(long threadId,
                                          long groupId,
                                          long categoryId,
                                          Date lastPostDate,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchThreadException,
                                          SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.

Specified by:
findByG_C_L_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByG_C_L_PrevAndNext

protected MBThread getByG_C_L_PrevAndNext(Session session,
                                          MBThread mbThread,
                                          long groupId,
                                          long categoryId,
                                          Date lastPostDate,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

filterFindByG_C_L

public List<MBThread> filterFindByG_C_L(long groupId,
                                        long categoryId,
                                        Date lastPostDate)
                                 throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?.

Specified by:
filterFindByG_C_L in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_L

public List<MBThread> filterFindByG_C_L(long groupId,
                                        long categoryId,
                                        Date lastPostDate,
                                        int start,
                                        int end)
                                 throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_L in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_L

public List<MBThread> filterFindByG_C_L(long groupId,
                                        long categoryId,
                                        Date lastPostDate,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ? and lastPostDate = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_L in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_L_PrevAndNext

public MBThread[] filterFindByG_C_L_PrevAndNext(long threadId,
                                                long groupId,
                                                long categoryId,
                                                Date lastPostDate,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchThreadException,
                                                SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?.

Specified by:
filterFindByG_C_L_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_C_L_PrevAndNext

protected MBThread filterGetByG_C_L_PrevAndNext(Session session,
                                                MBThread mbThread,
                                                long groupId,
                                                long categoryId,
                                                Date lastPostDate,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

removeByG_C_L

public void removeByG_C_L(long groupId,
                          long categoryId,
                          Date lastPostDate)
                   throws SystemException
Removes all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ? from the database.

Specified by:
removeByG_C_L in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
Throws:
SystemException - if a system exception occurred

countByG_C_L

public int countByG_C_L(long groupId,
                        long categoryId,
                        Date lastPostDate)
                 throws SystemException
Returns the number of message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.

Specified by:
countByG_C_L in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

filterCountByG_C_L

public int filterCountByG_C_L(long groupId,
                              long categoryId,
                              Date lastPostDate)
                       throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?.

Specified by:
filterCountByG_C_L in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_C_S

public List<MBThread> findByG_C_S(long groupId,
                                  long categoryId,
                                  int status)
                           throws SystemException
Returns all the message boards threads where groupId = ? and categoryId = ? and status = ?.

Specified by:
findByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_S

public List<MBThread> findByG_C_S(long groupId,
                                  long categoryId,
                                  int status,
                                  int start,
                                  int end)
                           throws SystemException
Returns a range of all the message boards threads where groupId = ? and categoryId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_S

public List<MBThread> findByG_C_S(long groupId,
                                  long categoryId,
                                  int status,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_S_First

public MBThread findByG_C_S_First(long groupId,
                                  long categoryId,
                                  int status,
                                  OrderByComparator orderByComparator)
                           throws NoSuchThreadException,
                                  SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.

Specified by:
findByG_C_S_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_C_S_First

public MBThread fetchByG_C_S_First(long groupId,
                                   long categoryId,
                                   int status,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.

Specified by:
fetchByG_C_S_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_S_Last

public MBThread findByG_C_S_Last(long groupId,
                                 long categoryId,
                                 int status,
                                 OrderByComparator orderByComparator)
                          throws NoSuchThreadException,
                                 SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.

Specified by:
findByG_C_S_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_C_S_Last

public MBThread fetchByG_C_S_Last(long groupId,
                                  long categoryId,
                                  int status,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.

Specified by:
fetchByG_C_S_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_S_PrevAndNext

public MBThread[] findByG_C_S_PrevAndNext(long threadId,
                                          long groupId,
                                          long categoryId,
                                          int status,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchThreadException,
                                          SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.

Specified by:
findByG_C_S_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByG_C_S_PrevAndNext

protected MBThread getByG_C_S_PrevAndNext(Session session,
                                          MBThread mbThread,
                                          long groupId,
                                          long categoryId,
                                          int status,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

filterFindByG_C_S

public List<MBThread> filterFindByG_C_S(long groupId,
                                        long categoryId,
                                        int status)
                                 throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?.

Specified by:
filterFindByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_S

public List<MBThread> filterFindByG_C_S(long groupId,
                                        long categoryId,
                                        int status,
                                        int start,
                                        int end)
                                 throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_S

public List<MBThread> filterFindByG_C_S(long groupId,
                                        long categoryId,
                                        int status,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_S_PrevAndNext

public MBThread[] filterFindByG_C_S_PrevAndNext(long threadId,
                                                long groupId,
                                                long categoryId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchThreadException,
                                                SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?.

Specified by:
filterFindByG_C_S_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_C_S_PrevAndNext

protected MBThread filterGetByG_C_S_PrevAndNext(Session session,
                                                MBThread mbThread,
                                                long groupId,
                                                long categoryId,
                                                int status,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

filterFindByG_C_S

public List<MBThread> filterFindByG_C_S(long groupId,
                                        long[] categoryIds,
                                        int status)
                                 throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?.

Specified by:
filterFindByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_S

public List<MBThread> filterFindByG_C_S(long groupId,
                                        long[] categoryIds,
                                        int status,
                                        int start,
                                        int end)
                                 throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_S

public List<MBThread> filterFindByG_C_S(long groupId,
                                        long[] categoryIds,
                                        int status,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_C_S

public List<MBThread> findByG_C_S(long groupId,
                                  long[] categoryIds,
                                  int status)
                           throws SystemException
Returns all the message boards threads where groupId = ? and categoryId = any ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_S

public List<MBThread> findByG_C_S(long groupId,
                                  long[] categoryIds,
                                  int status,
                                  int start,
                                  int end)
                           throws SystemException
Returns a range of all the message boards threads where groupId = ? and categoryId = any ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_S

public List<MBThread> findByG_C_S(long groupId,
                                  long[] categoryIds,
                                  int status,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

removeByG_C_S

public void removeByG_C_S(long groupId,
                          long categoryId,
                          int status)
                   throws SystemException
Removes all the message boards threads where groupId = ? and categoryId = ? and status = ? from the database.

Specified by:
removeByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_C_S

public int countByG_C_S(long groupId,
                        long categoryId,
                        int status)
                 throws SystemException
Returns the number of message boards threads where groupId = ? and categoryId = ? and status = ?.

Specified by:
countByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

countByG_C_S

public int countByG_C_S(long groupId,
                        long[] categoryIds,
                        int status)
                 throws SystemException
Returns the number of message boards threads where groupId = ? and categoryId = any ? and status = ?.

Specified by:
countByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

filterCountByG_C_S

public int filterCountByG_C_S(long groupId,
                              long categoryId,
                              int status)
                       throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?.

Specified by:
filterCountByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_C_S

public int filterCountByG_C_S(long groupId,
                              long[] categoryIds,
                              int status)
                       throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?.

Specified by:
filterCountByG_C_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_C_NotS

public List<MBThread> findByG_C_NotS(long groupId,
                                     long categoryId,
                                     int status)
                              throws SystemException
Returns all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.

Specified by:
findByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_NotS

public List<MBThread> findByG_C_NotS(long groupId,
                                     long categoryId,
                                     int status,
                                     int start,
                                     int end)
                              throws SystemException
Returns a range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_NotS

public List<MBThread> findByG_C_NotS(long groupId,
                                     long categoryId,
                                     int status,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_NotS_First

public MBThread findByG_C_NotS_First(long groupId,
                                     long categoryId,
                                     int status,
                                     OrderByComparator orderByComparator)
                              throws NoSuchThreadException,
                                     SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.

Specified by:
findByG_C_NotS_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_C_NotS_First

public MBThread fetchByG_C_NotS_First(long groupId,
                                      long categoryId,
                                      int status,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.

Specified by:
fetchByG_C_NotS_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_NotS_Last

public MBThread findByG_C_NotS_Last(long groupId,
                                    long categoryId,
                                    int status,
                                    OrderByComparator orderByComparator)
                             throws NoSuchThreadException,
                                    SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.

Specified by:
findByG_C_NotS_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_C_NotS_Last

public MBThread fetchByG_C_NotS_Last(long groupId,
                                     long categoryId,
                                     int status,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.

Specified by:
fetchByG_C_NotS_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_NotS_PrevAndNext

public MBThread[] findByG_C_NotS_PrevAndNext(long threadId,
                                             long groupId,
                                             long categoryId,
                                             int status,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchThreadException,
                                             SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.

Specified by:
findByG_C_NotS_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByG_C_NotS_PrevAndNext

protected MBThread getByG_C_NotS_PrevAndNext(Session session,
                                             MBThread mbThread,
                                             long groupId,
                                             long categoryId,
                                             int status,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

filterFindByG_C_NotS

public List<MBThread> filterFindByG_C_NotS(long groupId,
                                           long categoryId,
                                           int status)
                                    throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?.

Specified by:
filterFindByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_NotS

public List<MBThread> filterFindByG_C_NotS(long groupId,
                                           long categoryId,
                                           int status,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_NotS

public List<MBThread> filterFindByG_C_NotS(long groupId,
                                           long categoryId,
                                           int status,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_NotS_PrevAndNext

public MBThread[] filterFindByG_C_NotS_PrevAndNext(long threadId,
                                                   long groupId,
                                                   long categoryId,
                                                   int status,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchThreadException,
                                                   SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?.

Specified by:
filterFindByG_C_NotS_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_C_NotS_PrevAndNext

protected MBThread filterGetByG_C_NotS_PrevAndNext(Session session,
                                                   MBThread mbThread,
                                                   long groupId,
                                                   long categoryId,
                                                   int status,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

filterFindByG_C_NotS

public List<MBThread> filterFindByG_C_NotS(long groupId,
                                           long[] categoryIds,
                                           int status)
                                    throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?.

Specified by:
filterFindByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_NotS

public List<MBThread> filterFindByG_C_NotS(long groupId,
                                           long[] categoryIds,
                                           int status,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_NotS

public List<MBThread> filterFindByG_C_NotS(long groupId,
                                           long[] categoryIds,
                                           int status,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_C_NotS

public List<MBThread> findByG_C_NotS(long groupId,
                                     long[] categoryIds,
                                     int status)
                              throws SystemException
Returns all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_NotS

public List<MBThread> findByG_C_NotS(long groupId,
                                     long[] categoryIds,
                                     int status,
                                     int start,
                                     int end)
                              throws SystemException
Returns a range of all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_C_NotS

public List<MBThread> findByG_C_NotS(long groupId,
                                     long[] categoryIds,
                                     int status,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

removeByG_C_NotS

public void removeByG_C_NotS(long groupId,
                             long categoryId,
                             int status)
                      throws SystemException
Removes all the message boards threads where groupId = ? and categoryId = ? and status ≠ ? from the database.

Specified by:
removeByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_C_NotS

public int countByG_C_NotS(long groupId,
                           long categoryId,
                           int status)
                    throws SystemException
Returns the number of message boards threads where groupId = ? and categoryId = ? and status ≠ ?.

Specified by:
countByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

countByG_C_NotS

public int countByG_C_NotS(long groupId,
                           long[] categoryIds,
                           int status)
                    throws SystemException
Returns the number of message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.

Specified by:
countByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

filterCountByG_C_NotS

public int filterCountByG_C_NotS(long groupId,
                                 long categoryId,
                                 int status)
                          throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?.

Specified by:
filterCountByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_C_NotS

public int filterCountByG_C_NotS(long groupId,
                                 long[] categoryIds,
                                 int status)
                          throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?.

Specified by:
filterCountByG_C_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_NotC_S

public List<MBThread> findByG_NotC_S(long groupId,
                                     long categoryId,
                                     int status)
                              throws SystemException
Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.

Specified by:
findByG_NotC_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_NotC_S

public List<MBThread> findByG_NotC_S(long groupId,
                                     long categoryId,
                                     int status,
                                     int start,
                                     int end)
                              throws SystemException
Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_NotC_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_NotC_S

public List<MBThread> findByG_NotC_S(long groupId,
                                     long categoryId,
                                     int status,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_NotC_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_NotC_S_First

public MBThread findByG_NotC_S_First(long groupId,
                                     long categoryId,
                                     int status,
                                     OrderByComparator orderByComparator)
                              throws NoSuchThreadException,
                                     SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.

Specified by:
findByG_NotC_S_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_NotC_S_First

public MBThread fetchByG_NotC_S_First(long groupId,
                                      long categoryId,
                                      int status,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.

Specified by:
fetchByG_NotC_S_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_NotC_S_Last

public MBThread findByG_NotC_S_Last(long groupId,
                                    long categoryId,
                                    int status,
                                    OrderByComparator orderByComparator)
                             throws NoSuchThreadException,
                                    SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.

Specified by:
findByG_NotC_S_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_NotC_S_Last

public MBThread fetchByG_NotC_S_Last(long groupId,
                                     long categoryId,
                                     int status,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.

Specified by:
fetchByG_NotC_S_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_NotC_S_PrevAndNext

public MBThread[] findByG_NotC_S_PrevAndNext(long threadId,
                                             long groupId,
                                             long categoryId,
                                             int status,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchThreadException,
                                             SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.

Specified by:
findByG_NotC_S_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByG_NotC_S_PrevAndNext

protected MBThread getByG_NotC_S_PrevAndNext(Session session,
                                             MBThread mbThread,
                                             long groupId,
                                             long categoryId,
                                             int status,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

filterFindByG_NotC_S

public List<MBThread> filterFindByG_NotC_S(long groupId,
                                           long categoryId,
                                           int status)
                                    throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?.

Specified by:
filterFindByG_NotC_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_NotC_S

public List<MBThread> filterFindByG_NotC_S(long groupId,
                                           long categoryId,
                                           int status,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_NotC_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_NotC_S

public List<MBThread> filterFindByG_NotC_S(long groupId,
                                           long categoryId,
                                           int status,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_NotC_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_NotC_S_PrevAndNext

public MBThread[] filterFindByG_NotC_S_PrevAndNext(long threadId,
                                                   long groupId,
                                                   long categoryId,
                                                   int status,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchThreadException,
                                                   SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?.

Specified by:
filterFindByG_NotC_S_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_NotC_S_PrevAndNext

protected MBThread filterGetByG_NotC_S_PrevAndNext(Session session,
                                                   MBThread mbThread,
                                                   long groupId,
                                                   long categoryId,
                                                   int status,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

removeByG_NotC_S

public void removeByG_NotC_S(long groupId,
                             long categoryId,
                             int status)
                      throws SystemException
Removes all the message boards threads where groupId = ? and categoryId ≠ ? and status = ? from the database.

Specified by:
removeByG_NotC_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_NotC_S

public int countByG_NotC_S(long groupId,
                           long categoryId,
                           int status)
                    throws SystemException
Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status = ?.

Specified by:
countByG_NotC_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

filterCountByG_NotC_S

public int filterCountByG_NotC_S(long groupId,
                                 long categoryId,
                                 int status)
                          throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?.

Specified by:
filterCountByG_NotC_S in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_NotC_NotS

public List<MBThread> findByG_NotC_NotS(long groupId,
                                        long categoryId,
                                        int status)
                                 throws SystemException
Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.

Specified by:
findByG_NotC_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_NotC_NotS

public List<MBThread> findByG_NotC_NotS(long groupId,
                                        long categoryId,
                                        int status,
                                        int start,
                                        int end)
                                 throws SystemException
Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_NotC_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_NotC_NotS

public List<MBThread> findByG_NotC_NotS(long groupId,
                                        long categoryId,
                                        int status,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_NotC_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads
Throws:
SystemException - if a system exception occurred

findByG_NotC_NotS_First

public MBThread findByG_NotC_NotS_First(long groupId,
                                        long categoryId,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchThreadException,
                                        SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.

Specified by:
findByG_NotC_NotS_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_NotC_NotS_First

public MBThread fetchByG_NotC_NotS_First(long groupId,
                                         long categoryId,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.

Specified by:
fetchByG_NotC_NotS_First in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_NotC_NotS_Last

public MBThread findByG_NotC_NotS_Last(long groupId,
                                       long categoryId,
                                       int status,
                                       OrderByComparator orderByComparator)
                                throws NoSuchThreadException,
                                       SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.

Specified by:
findByG_NotC_NotS_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found
SystemException - if a system exception occurred

fetchByG_NotC_NotS_Last

public MBThread fetchByG_NotC_NotS_Last(long groupId,
                                        long categoryId,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.

Specified by:
fetchByG_NotC_NotS_Last in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching message boards thread, or null if a matching message boards thread could not be found
Throws:
SystemException - if a system exception occurred

findByG_NotC_NotS_PrevAndNext

public MBThread[] findByG_NotC_NotS_PrevAndNext(long threadId,
                                                long groupId,
                                                long categoryId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchThreadException,
                                                SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.

Specified by:
findByG_NotC_NotS_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

getByG_NotC_NotS_PrevAndNext

protected MBThread getByG_NotC_NotS_PrevAndNext(Session session,
                                                MBThread mbThread,
                                                long groupId,
                                                long categoryId,
                                                int status,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

filterFindByG_NotC_NotS

public List<MBThread> filterFindByG_NotC_NotS(long groupId,
                                              long categoryId,
                                              int status)
                                       throws SystemException
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?.

Specified by:
filterFindByG_NotC_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_NotC_NotS

public List<MBThread> filterFindByG_NotC_NotS(long groupId,
                                              long categoryId,
                                              int status,
                                              int start,
                                              int end)
                                       throws SystemException
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_NotC_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_NotC_NotS

public List<MBThread> filterFindByG_NotC_NotS(long groupId,
                                              long categoryId,
                                              int status,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_NotC_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_NotC_NotS_PrevAndNext

public MBThread[] filterFindByG_NotC_NotS_PrevAndNext(long threadId,
                                                      long groupId,
                                                      long categoryId,
                                                      int status,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchThreadException,
                                                      SystemException
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?.

Specified by:
filterFindByG_NotC_NotS_PrevAndNext in interface MBThreadPersistence
Parameters:
threadId - the primary key of the current message boards thread
groupId - the group ID
categoryId - the category ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_NotC_NotS_PrevAndNext

protected MBThread filterGetByG_NotC_NotS_PrevAndNext(Session session,
                                                      MBThread mbThread,
                                                      long groupId,
                                                      long categoryId,
                                                      int status,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

removeByG_NotC_NotS

public void removeByG_NotC_NotS(long groupId,
                                long categoryId,
                                int status)
                         throws SystemException
Removes all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ? from the database.

Specified by:
removeByG_NotC_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_NotC_NotS

public int countByG_NotC_NotS(long groupId,
                              long categoryId,
                              int status)
                       throws SystemException
Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.

Specified by:
countByG_NotC_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads
Throws:
SystemException - if a system exception occurred

filterCountByG_NotC_NotS

public int filterCountByG_NotC_NotS(long groupId,
                                    long categoryId,
                                    int status)
                             throws SystemException
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?.

Specified by:
filterCountByG_NotC_NotS in interface MBThreadPersistence
Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads that the user has permission to view
Throws:
SystemException - if a system exception occurred

cacheResult

public void cacheResult(MBThread mbThread)
Caches the message boards thread in the entity cache if it is enabled.

Specified by:
cacheResult in interface MBThreadPersistence
Parameters:
mbThread - the message boards thread

cacheResult

public void cacheResult(List<MBThread> mbThreads)
Caches the message boards threads in the entity cache if it is enabled.

Specified by:
cacheResult in interface MBThreadPersistence
Parameters:
mbThreads - the message boards threads

clearCache

public void clearCache()
Clears the cache for all message boards threads.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<MBThread>
Overrides:
clearCache in class BasePersistenceImpl<MBThread>

clearCache

public void clearCache(MBThread mbThread)
Clears the cache for the message boards thread.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<MBThread>
Overrides:
clearCache in class BasePersistenceImpl<MBThread>
Parameters:
mbThread - the instance of this model to clear the cache for

clearCache

public void clearCache(List<MBThread> mbThreads)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<MBThread>
Overrides:
clearCache in class BasePersistenceImpl<MBThread>
Parameters:
mbThreads - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(MBThread mbThread)

clearUniqueFindersCache

protected void clearUniqueFindersCache(MBThread mbThread)

create

public MBThread create(long threadId)
Creates a new message boards thread with the primary key. Does not add the message boards thread to the database.

Specified by:
create in interface MBThreadPersistence
Parameters:
threadId - the primary key for the new message boards thread
Returns:
the new message boards thread

remove

public MBThread remove(long threadId)
                throws NoSuchThreadException,
                       SystemException
Removes the message boards thread with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface MBThreadPersistence
Parameters:
threadId - the primary key of the message boards thread
Returns:
the message boards thread that was removed
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

remove

public MBThread remove(Serializable primaryKey)
                throws NoSuchThreadException,
                       SystemException
Removes the message boards thread with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<MBThread>
Overrides:
remove in class BasePersistenceImpl<MBThread>
Parameters:
primaryKey - the primary key of the message boards thread
Returns:
the message boards thread that was removed
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected MBThread removeImpl(MBThread mbThread)
                       throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<MBThread>
Parameters:
mbThread - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public MBThread updateImpl(MBThread mbThread)
                    throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface MBThreadPersistence
Overrides:
updateImpl in class BasePersistenceImpl<MBThread>
Parameters:
mbThread - the model instance to update
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected MBThread toUnwrappedModel(MBThread mbThread)

findByPrimaryKey

public MBThread findByPrimaryKey(Serializable primaryKey)
                          throws NoSuchThreadException,
                                 SystemException
Returns the message boards thread with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<MBThread>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<MBThread>
Parameters:
primaryKey - the primary key of the message boards thread
Returns:
the message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public MBThread findByPrimaryKey(long threadId)
                          throws NoSuchThreadException,
                                 SystemException
Returns the message boards thread with the primary key or throws a NoSuchThreadException if it could not be found.

Specified by:
findByPrimaryKey in interface MBThreadPersistence
Parameters:
threadId - the primary key of the message boards thread
Returns:
the message boards thread
Throws:
NoSuchThreadException - if a message boards thread with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public MBThread fetchByPrimaryKey(Serializable primaryKey)
                           throws SystemException
Returns the message boards thread with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<MBThread>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<MBThread>
Parameters:
primaryKey - the primary key of the message boards thread
Returns:
the message boards thread, or null if a message boards thread with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public MBThread fetchByPrimaryKey(long threadId)
                           throws SystemException
Returns the message boards thread with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface MBThreadPersistence
Parameters:
threadId - the primary key of the message boards thread
Returns:
the message boards thread, or null if a message boards thread with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findAll

public List<MBThread> findAll()
                       throws SystemException
Returns all the message boards threads.

Specified by:
findAll in interface MBThreadPersistence
Returns:
the message boards threads
Throws:
SystemException - if a system exception occurred

findAll

public List<MBThread> findAll(int start,
                              int end)
                       throws SystemException
Returns a range of all the message boards threads.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface MBThreadPersistence
Parameters:
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
Returns:
the range of message boards threads
Throws:
SystemException - if a system exception occurred

findAll

public List<MBThread> findAll(int start,
                              int end,
                              OrderByComparator orderByComparator)
                       throws SystemException
Returns an ordered range of all the message boards threads.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBThreadModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface MBThreadPersistence
Parameters:
start - the lower bound of the range of message boards threads
end - the upper bound of the range of message boards threads (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of message boards threads
Throws:
SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws SystemException
Removes all the message boards threads from the database.

Specified by:
removeAll in interface MBThreadPersistence
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Returns the number of message boards threads.

Specified by:
countAll in interface MBThreadPersistence
Returns:
the number of message boards threads
Throws:
SystemException - if a system exception occurred

getBadColumnNames

protected Set<String> getBadColumnNames()
Overrides:
getBadColumnNames in class BasePersistenceImpl<MBThread>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the message boards thread persistence.


destroy

public void destroy()

Liferay 6.2-ce-ga5