Liferay 7.0-ce-b4

com.liferay.portlet.messageboards.service.persistence
Interface MBThreadPersistence

All Superinterfaces:
BasePersistence<MBThread>
All Known Implementing Classes:
MBThreadPersistenceImpl

@ProviderType
public interface MBThreadPersistence
extends BasePersistence<MBThread>

The persistence interface for the message boards thread service.

Caching information and settings can be found in portal.properties

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

Method Summary
 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.
 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.
 MBThread fetchByC_P_First(long categoryId, double priority, OrderByComparator<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?.
 MBThread fetchByC_P_Last(long categoryId, double priority, OrderByComparator<MBThread> orderByComparator)
          Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?.
 MBThread fetchByG_C_First(long groupId, long categoryId, OrderByComparator<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.
 MBThread fetchByG_NotC_Last(long groupId, long categoryId, OrderByComparator<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and status = ?.
 MBThread fetchByG_S_Last(long groupId, int status, OrderByComparator<MBThread> orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ? and status = ?.
 MBThread fetchByGroupId_First(long groupId, OrderByComparator<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ?.
 MBThread fetchByGroupId_Last(long groupId, OrderByComparator<MBThread> orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ?.
 MBThread fetchByL_P_First(Date lastPostDate, double priority, OrderByComparator<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?.
 MBThread fetchByL_P_Last(Date lastPostDate, double priority, OrderByComparator<MBThread> 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.
 Map<Serializable,MBThread> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 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<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?.
 MBThread fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<MBThread> orderByComparator)
          Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?.
 MBThread fetchByUuid_First(String uuid, OrderByComparator<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
          Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ?.
 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<MBThread> orderByComparator)
          Returns an ordered range of all the message boards threads.
 List<MBThread> findAll(int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads.
 MBThread findByC_P_First(long categoryId, double priority, OrderByComparator<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?.
 MBThread findByC_P_Last(long categoryId, double priority, OrderByComparator<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
          Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?.
 List<MBThread> findByC_P(long categoryId, double priority, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?.
 MBThread findByG_C_First(long groupId, long categoryId, OrderByComparator<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
          Returns an ordered 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<MBThread> orderByComparator, boolean retrieveFromCache)
          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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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[] categoryIds, int status, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?, optionally using the finder cache.
 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<MBThread> orderByComparator)
          Returns an ordered 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<MBThread> orderByComparator, boolean retrieveFromCache)
          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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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[] categoryIds, int status, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?, optionally using the finder cache.
 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<MBThread> orderByComparator)
          Returns an ordered 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<MBThread> orderByComparator, boolean retrieveFromCache)
          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<MBThread> orderByComparator)
          Returns an ordered 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<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?, optionally using the finder cache.
 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<MBThread> orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?.
 List<MBThread> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?.
 MBThread findByG_NotC_First(long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.
 MBThread findByG_NotC_Last(long groupId, long categoryId, OrderByComparator<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
          Returns an ordered 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<MBThread> orderByComparator, boolean retrieveFromCache)
          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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
          Returns an ordered 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<MBThread> orderByComparator, boolean retrieveFromCache)
          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<MBThread> orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?.
 List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?.
 MBThread findByG_S_First(long groupId, int status, OrderByComparator<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ? and status = ?.
 MBThread findByG_S_Last(long groupId, int status, OrderByComparator<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ? and status = ?.
 List<MBThread> findByG_S(long groupId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads where groupId = ? and status = ?.
 MBThread findByGroupId_First(long groupId, OrderByComparator<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where groupId = ?.
 MBThread findByGroupId_Last(long groupId, OrderByComparator<MBThread> orderByComparator)
          Returns the last message boards thread in the ordered set where groupId = ?.
 MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, OrderByComparator<MBThread> 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<MBThread> orderByComparator)
          Returns an ordered range of all the message boards threads where groupId = ?.
 List<MBThread> findByGroupId(long groupId, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads where groupId = ?.
 MBThread findByL_P_First(Date lastPostDate, double priority, OrderByComparator<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?.
 MBThread findByL_P_Last(Date lastPostDate, double priority, OrderByComparator<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
          Returns an ordered range of all the message boards threads where lastPostDate = ? and priority = ?.
 List<MBThread> findByL_P(Date lastPostDate, double priority, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          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 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<MBThread> orderByComparator)
          Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?.
 MBThread findByUuid_C_Last(String uuid, long companyId, OrderByComparator<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
          Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?.
 List<MBThread> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?.
 MBThread findByUuid_First(String uuid, OrderByComparator<MBThread> 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<MBThread> orderByComparator)
          Returns the last message boards thread in the ordered set where uuid = ?.
 MBThread[] findByUuid_PrevAndNext(long threadId, String uuid, OrderByComparator<MBThread> 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<MBThread> orderByComparator)
          Returns an ordered range of all the message boards threads where uuid = ?.
 List<MBThread> findByUuid(String uuid, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the message boards threads where uuid = ?.
 Set<String> getBadColumnNames()
           
 MBThread remove(long threadId)
          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.
 MBThread updateImpl(MBThread mbThread)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByUuid

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

Parameters:
uuid - the uuid
Returns:
the matching message boards threads

findByUuid

List<MBThread> findByUuid(String uuid,
                          int start,
                          int end)
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.

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

findByUuid

List<MBThread> findByUuid(String uuid,
                          int start,
                          int end,
                          OrderByComparator<MBThread> orderByComparator)
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.

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

findByUuid

List<MBThread> findByUuid(String uuid,
                          int start,
                          int end,
                          OrderByComparator<MBThread> orderByComparator,
                          boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByUuid_First

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

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

fetchByUuid_First

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

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

findByUuid_Last

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

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

fetchByUuid_Last

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

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

findByUuid_PrevAndNext

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

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

removeByUuid

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

Parameters:
uuid - the uuid

countByUuid

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

Parameters:
uuid - the uuid
Returns:
the number of matching message boards threads

findByUUID_G

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

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

fetchByUUID_G

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. Uses the finder cache.

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

fetchByUUID_G

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.

Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching message boards thread, or null if a matching message boards thread could not be found

removeByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the message boards thread that was removed
Throws:
NoSuchThreadException

countByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching message boards threads

findByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching message boards threads

findByUuid_C

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 = ?.

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.

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

findByUuid_C

List<MBThread> findByUuid_C(String uuid,
                            long companyId,
                            int start,
                            int end,
                            OrderByComparator<MBThread> orderByComparator)
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.

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

findByUuid_C

List<MBThread> findByUuid_C(String uuid,
                            long companyId,
                            int start,
                            int end,
                            OrderByComparator<MBThread> orderByComparator,
                            boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByUuid_C_First

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

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

fetchByUuid_C_First

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

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

findByUuid_C_Last

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

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

fetchByUuid_C_Last

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

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

findByUuid_C_PrevAndNext

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

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

removeByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching message boards threads

findByGroupId

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

Parameters:
groupId - the group ID
Returns:
the matching message boards threads

findByGroupId

List<MBThread> findByGroupId(long groupId,
                             int start,
                             int end)
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.

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

findByGroupId

List<MBThread> findByGroupId(long groupId,
                             int start,
                             int end,
                             OrderByComparator<MBThread> orderByComparator)
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.

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

findByGroupId

List<MBThread> findByGroupId(long groupId,
                             int start,
                             int end,
                             OrderByComparator<MBThread> orderByComparator,
                             boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByGroupId_First

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

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

fetchByGroupId_First

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

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

findByGroupId_Last

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

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

fetchByGroupId_Last

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

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

findByGroupId_PrevAndNext

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

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

filterFindByGroupId

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

Parameters:
groupId - the group ID
Returns:
the matching message boards threads that the user has permission to view

filterFindByGroupId

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 = ?.

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.

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

filterFindByGroupId

List<MBThread> filterFindByGroupId(long groupId,
                                   int start,
                                   int end,
                                   OrderByComparator<MBThread> orderByComparator)
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.

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

filterFindByGroupId_PrevAndNext

MBThread[] filterFindByGroupId_PrevAndNext(long threadId,
                                           long groupId,
                                           OrderByComparator<MBThread> orderByComparator)
                                           throws NoSuchThreadException
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 = ?.

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

removeByGroupId

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

Parameters:
groupId - the group ID

countByGroupId

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

Parameters:
groupId - the group ID
Returns:
the number of matching message boards threads

filterCountByGroupId

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

Parameters:
groupId - the group ID
Returns:
the number of matching message boards threads that the user has permission to view

findByRootMessageId

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

Parameters:
rootMessageId - the root message ID
Returns:
the matching message boards thread
Throws:
NoSuchThreadException - if a matching message boards thread could not be found

fetchByRootMessageId

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

Parameters:
rootMessageId - the root message ID
Returns:
the matching message boards thread, or null if a matching message boards thread could not be found

fetchByRootMessageId

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.

Parameters:
rootMessageId - the root message ID
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching message boards thread, or null if a matching message boards thread could not be found

removeByRootMessageId

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

Parameters:
rootMessageId - the root message ID
Returns:
the message boards thread that was removed
Throws:
NoSuchThreadException

countByRootMessageId

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

Parameters:
rootMessageId - the root message ID
Returns:
the number of matching message boards threads

findByG_C

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

Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the matching message boards threads

findByG_C

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 = ?.

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.

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

findByG_C

List<MBThread> findByG_C(long groupId,
                         long categoryId,
                         int start,
                         int end,
                         OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_C

List<MBThread> findByG_C(long groupId,
                         long categoryId,
                         int start,
                         int end,
                         OrderByComparator<MBThread> orderByComparator,
                         boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByG_C_First

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

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

fetchByG_C_First

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

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

findByG_C_Last

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

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

fetchByG_C_Last

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

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

findByG_C_PrevAndNext

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

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

filterFindByG_C

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 = ?.

Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the matching message boards threads that the user has permission to view

filterFindByG_C

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 = ?.

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.

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

filterFindByG_C

List<MBThread> filterFindByG_C(long groupId,
                               long categoryId,
                               int start,
                               int end,
                               OrderByComparator<MBThread> orderByComparator)
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.

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

filterFindByG_C_PrevAndNext

MBThread[] filterFindByG_C_PrevAndNext(long threadId,
                                       long groupId,
                                       long categoryId,
                                       OrderByComparator<MBThread> orderByComparator)
                                       throws NoSuchThreadException
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 = ?.

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

filterFindByG_C

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 ?.

Parameters:
groupId - the group ID
categoryIds - the category IDs
Returns:
the matching message boards threads that the user has permission to view

filterFindByG_C

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 ?.

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.

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

filterFindByG_C

List<MBThread> filterFindByG_C(long groupId,
                               long[] categoryIds,
                               int start,
                               int end,
                               OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_C

List<MBThread> findByG_C(long groupId,
                         long[] categoryIds)
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.

Parameters:
groupId - the group ID
categoryIds - the category IDs
Returns:
the matching message boards threads

findByG_C

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 ?.

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.

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

findByG_C

List<MBThread> findByG_C(long groupId,
                         long[] categoryIds,
                         int start,
                         int end,
                         OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_C

List<MBThread> findByG_C(long groupId,
                         long[] categoryIds,
                         int start,
                         int end,
                         OrderByComparator<MBThread> orderByComparator,
                         boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?, optionally using the finder cache.

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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

removeByG_C

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

Parameters:
groupId - the group ID
categoryId - the category ID

countByG_C

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

Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the number of matching message boards threads

countByG_C

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

Parameters:
groupId - the group ID
categoryIds - the category IDs
Returns:
the number of matching message boards threads

filterCountByG_C

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 = ?.

Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the number of matching message boards threads that the user has permission to view

filterCountByG_C

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 ?.

Parameters:
groupId - the group ID
categoryIds - the category IDs
Returns:
the number of matching message boards threads that the user has permission to view

findByG_NotC

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

Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the matching message boards threads

findByG_NotC

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 ≠ ?.

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.

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

findByG_NotC

List<MBThread> findByG_NotC(long groupId,
                            long categoryId,
                            int start,
                            int end,
                            OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_NotC

List<MBThread> findByG_NotC(long groupId,
                            long categoryId,
                            int start,
                            int end,
                            OrderByComparator<MBThread> orderByComparator,
                            boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByG_NotC_First

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

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

fetchByG_NotC_First

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

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

findByG_NotC_Last

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

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

fetchByG_NotC_Last

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

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

findByG_NotC_PrevAndNext

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

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

filterFindByG_NotC

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 ≠ ?.

Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the matching message boards threads that the user has permission to view

filterFindByG_NotC

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 ≠ ?.

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.

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

filterFindByG_NotC

List<MBThread> filterFindByG_NotC(long groupId,
                                  long categoryId,
                                  int start,
                                  int end,
                                  OrderByComparator<MBThread> orderByComparator)
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.

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

filterFindByG_NotC_PrevAndNext

MBThread[] filterFindByG_NotC_PrevAndNext(long threadId,
                                          long groupId,
                                          long categoryId,
                                          OrderByComparator<MBThread> orderByComparator)
                                          throws NoSuchThreadException
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 ≠ ?.

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

removeByG_NotC

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

Parameters:
groupId - the group ID
categoryId - the category ID

countByG_NotC

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

Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the number of matching message boards threads

filterCountByG_NotC

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 ≠ ?.

Parameters:
groupId - the group ID
categoryId - the category ID
Returns:
the number of matching message boards threads that the user has permission to view

findByG_S

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

Parameters:
groupId - the group ID
status - the status
Returns:
the matching message boards threads

findByG_S

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 = ?.

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.

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

findByG_S

List<MBThread> findByG_S(long groupId,
                         int status,
                         int start,
                         int end,
                         OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_S

List<MBThread> findByG_S(long groupId,
                         int status,
                         int start,
                         int end,
                         OrderByComparator<MBThread> orderByComparator,
                         boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByG_S_First

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

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

fetchByG_S_First

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

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

findByG_S_Last

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

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

fetchByG_S_Last

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

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

findByG_S_PrevAndNext

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

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

filterFindByG_S

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 = ?.

Parameters:
groupId - the group ID
status - the status
Returns:
the matching message boards threads that the user has permission to view

filterFindByG_S

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 = ?.

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.

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

filterFindByG_S

List<MBThread> filterFindByG_S(long groupId,
                               int status,
                               int start,
                               int end,
                               OrderByComparator<MBThread> orderByComparator)
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.

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

filterFindByG_S_PrevAndNext

MBThread[] filterFindByG_S_PrevAndNext(long threadId,
                                       long groupId,
                                       int status,
                                       OrderByComparator<MBThread> orderByComparator)
                                       throws NoSuchThreadException
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 = ?.

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

removeByG_S

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

Parameters:
groupId - the group ID
status - the status

countByG_S

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

Parameters:
groupId - the group ID
status - the status
Returns:
the number of matching message boards threads

filterCountByG_S

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 = ?.

Parameters:
groupId - the group ID
status - the status
Returns:
the number of matching message boards threads that the user has permission to view

findByC_P

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

Parameters:
categoryId - the category ID
priority - the priority
Returns:
the matching message boards threads

findByC_P

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 = ?.

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.

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

findByC_P

List<MBThread> findByC_P(long categoryId,
                         double priority,
                         int start,
                         int end,
                         OrderByComparator<MBThread> orderByComparator)
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.

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

findByC_P

List<MBThread> findByC_P(long categoryId,
                         double priority,
                         int start,
                         int end,
                         OrderByComparator<MBThread> orderByComparator,
                         boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByC_P_First

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

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

fetchByC_P_First

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

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

findByC_P_Last

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

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

fetchByC_P_Last

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

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

findByC_P_PrevAndNext

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

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

removeByC_P

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

Parameters:
categoryId - the category ID
priority - the priority

countByC_P

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

Parameters:
categoryId - the category ID
priority - the priority
Returns:
the number of matching message boards threads

findByL_P

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

Parameters:
lastPostDate - the last post date
priority - the priority
Returns:
the matching message boards threads

findByL_P

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 = ?.

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.

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

findByL_P

List<MBThread> findByL_P(Date lastPostDate,
                         double priority,
                         int start,
                         int end,
                         OrderByComparator<MBThread> orderByComparator)
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.

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

findByL_P

List<MBThread> findByL_P(Date lastPostDate,
                         double priority,
                         int start,
                         int end,
                         OrderByComparator<MBThread> orderByComparator,
                         boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByL_P_First

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

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

fetchByL_P_First

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

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

findByL_P_Last

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

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

fetchByL_P_Last

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

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

findByL_P_PrevAndNext

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

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

removeByL_P

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

Parameters:
lastPostDate - the last post date
priority - the priority

countByL_P

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

Parameters:
lastPostDate - the last post date
priority - the priority
Returns:
the number of matching message boards threads

findByG_C_L

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

Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
Returns:
the matching message boards threads

findByG_C_L

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 = ?.

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.

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

findByG_C_L

List<MBThread> findByG_C_L(long groupId,
                           long categoryId,
                           Date lastPostDate,
                           int start,
                           int end,
                           OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_C_L

List<MBThread> findByG_C_L(long groupId,
                           long categoryId,
                           Date lastPostDate,
                           int start,
                           int end,
                           OrderByComparator<MBThread> orderByComparator,
                           boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByG_C_L_First

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

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

fetchByG_C_L_First

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

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

findByG_C_L_Last

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

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

fetchByG_C_L_Last

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

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

findByG_C_L_PrevAndNext

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

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

filterFindByG_C_L

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 = ?.

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

filterFindByG_C_L

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 = ?.

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.

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

filterFindByG_C_L

List<MBThread> filterFindByG_C_L(long groupId,
                                 long categoryId,
                                 Date lastPostDate,
                                 int start,
                                 int end,
                                 OrderByComparator<MBThread> orderByComparator)
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.

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

filterFindByG_C_L_PrevAndNext

MBThread[] filterFindByG_C_L_PrevAndNext(long threadId,
                                         long groupId,
                                         long categoryId,
                                         Date lastPostDate,
                                         OrderByComparator<MBThread> orderByComparator)
                                         throws NoSuchThreadException
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 = ?.

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

removeByG_C_L

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.

Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date

countByG_C_L

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

Parameters:
groupId - the group ID
categoryId - the category ID
lastPostDate - the last post date
Returns:
the number of matching message boards threads

filterCountByG_C_L

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 = ?.

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

findByG_C_S

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

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads

findByG_C_S

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 = ?.

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.

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

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long categoryId,
                           int status,
                           int start,
                           int end,
                           OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long categoryId,
                           int status,
                           int start,
                           int end,
                           OrderByComparator<MBThread> orderByComparator,
                           boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByG_C_S_First

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

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

fetchByG_C_S_First

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

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

findByG_C_S_Last

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

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

fetchByG_C_S_Last

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

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

findByG_C_S_PrevAndNext

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

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

filterFindByG_C_S

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 = ?.

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

filterFindByG_C_S

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 = ?.

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.

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

filterFindByG_C_S

List<MBThread> filterFindByG_C_S(long groupId,
                                 long categoryId,
                                 int status,
                                 int start,
                                 int end,
                                 OrderByComparator<MBThread> orderByComparator)
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.

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

filterFindByG_C_S_PrevAndNext

MBThread[] filterFindByG_C_S_PrevAndNext(long threadId,
                                         long groupId,
                                         long categoryId,
                                         int status,
                                         OrderByComparator<MBThread> orderByComparator)
                                         throws NoSuchThreadException
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 = ?.

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

filterFindByG_C_S

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 = ?.

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

filterFindByG_C_S

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 = ?.

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.

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

filterFindByG_C_S

List<MBThread> filterFindByG_C_S(long groupId,
                                 long[] categoryIds,
                                 int status,
                                 int start,
                                 int end,
                                 OrderByComparator<MBThread> 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 = ?.

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.

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

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long[] categoryIds,
                           int status)
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.

Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the matching message boards threads

findByG_C_S

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 = ?.

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.

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

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long[] categoryIds,
                           int status,
                           int start,
                           int end,
                           OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long[] categoryIds,
                           int status,
                           int start,
                           int end,
                           OrderByComparator<MBThread> orderByComparator,
                           boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?, optionally using the finder cache.

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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

removeByG_C_S

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.

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status

countByG_C_S

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

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads

countByG_C_S

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

Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the number of matching message boards threads

filterCountByG_C_S

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 = ?.

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

filterCountByG_C_S

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 = ?.

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

findByG_C_NotS

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

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads

findByG_C_NotS

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 ≠ ?.

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.

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

findByG_C_NotS

List<MBThread> findByG_C_NotS(long groupId,
                              long categoryId,
                              int status,
                              int start,
                              int end,
                              OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_C_NotS

List<MBThread> findByG_C_NotS(long groupId,
                              long categoryId,
                              int status,
                              int start,
                              int end,
                              OrderByComparator<MBThread> orderByComparator,
                              boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByG_C_NotS_First

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

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

fetchByG_C_NotS_First

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

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

findByG_C_NotS_Last

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

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

fetchByG_C_NotS_Last

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

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

findByG_C_NotS_PrevAndNext

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

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

filterFindByG_C_NotS

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 ≠ ?.

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

filterFindByG_C_NotS

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 ≠ ?.

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.

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

filterFindByG_C_NotS

List<MBThread> filterFindByG_C_NotS(long groupId,
                                    long categoryId,
                                    int status,
                                    int start,
                                    int end,
                                    OrderByComparator<MBThread> orderByComparator)
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.

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

filterFindByG_C_NotS_PrevAndNext

MBThread[] filterFindByG_C_NotS_PrevAndNext(long threadId,
                                            long groupId,
                                            long categoryId,
                                            int status,
                                            OrderByComparator<MBThread> orderByComparator)
                                            throws NoSuchThreadException
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 ≠ ?.

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

filterFindByG_C_NotS

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 ≠ ?.

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

filterFindByG_C_NotS

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 ≠ ?.

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.

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

filterFindByG_C_NotS

List<MBThread> filterFindByG_C_NotS(long groupId,
                                    long[] categoryIds,
                                    int status,
                                    int start,
                                    int end,
                                    OrderByComparator<MBThread> 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 ≠ ?.

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.

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

findByG_C_NotS

List<MBThread> findByG_C_NotS(long groupId,
                              long[] categoryIds,
                              int status)
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.

Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the matching message boards threads

findByG_C_NotS

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 ≠ ?.

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.

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

findByG_C_NotS

List<MBThread> findByG_C_NotS(long groupId,
                              long[] categoryIds,
                              int status,
                              int start,
                              int end,
                              OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_C_NotS

List<MBThread> findByG_C_NotS(long groupId,
                              long[] categoryIds,
                              int status,
                              int start,
                              int end,
                              OrderByComparator<MBThread> orderByComparator,
                              boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?, optionally using the finder cache.

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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

removeByG_C_NotS

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.

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status

countByG_C_NotS

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

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads

countByG_C_NotS

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

Parameters:
groupId - the group ID
categoryIds - the category IDs
status - the status
Returns:
the number of matching message boards threads

filterCountByG_C_NotS

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 ≠ ?.

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

filterCountByG_C_NotS

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 ≠ ?.

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

findByG_NotC_S

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

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads

findByG_NotC_S

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 = ?.

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.

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

findByG_NotC_S

List<MBThread> findByG_NotC_S(long groupId,
                              long categoryId,
                              int status,
                              int start,
                              int end,
                              OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_NotC_S

List<MBThread> findByG_NotC_S(long groupId,
                              long categoryId,
                              int status,
                              int start,
                              int end,
                              OrderByComparator<MBThread> orderByComparator,
                              boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByG_NotC_S_First

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

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

fetchByG_NotC_S_First

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

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

findByG_NotC_S_Last

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

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

fetchByG_NotC_S_Last

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

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

findByG_NotC_S_PrevAndNext

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

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

filterFindByG_NotC_S

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 = ?.

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

filterFindByG_NotC_S

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 = ?.

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.

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

filterFindByG_NotC_S

List<MBThread> filterFindByG_NotC_S(long groupId,
                                    long categoryId,
                                    int status,
                                    int start,
                                    int end,
                                    OrderByComparator<MBThread> orderByComparator)
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.

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

filterFindByG_NotC_S_PrevAndNext

MBThread[] filterFindByG_NotC_S_PrevAndNext(long threadId,
                                            long groupId,
                                            long categoryId,
                                            int status,
                                            OrderByComparator<MBThread> orderByComparator)
                                            throws NoSuchThreadException
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 = ?.

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

removeByG_NotC_S

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.

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status

countByG_NotC_S

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

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads

filterCountByG_NotC_S

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 = ?.

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

findByG_NotC_NotS

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

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the matching message boards threads

findByG_NotC_NotS

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 ≠ ?.

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.

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

findByG_NotC_NotS

List<MBThread> findByG_NotC_NotS(long groupId,
                                 long categoryId,
                                 int status,
                                 int start,
                                 int end,
                                 OrderByComparator<MBThread> orderByComparator)
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.

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

findByG_NotC_NotS

List<MBThread> findByG_NotC_NotS(long groupId,
                                 long categoryId,
                                 int status,
                                 int start,
                                 int end,
                                 OrderByComparator<MBThread> orderByComparator,
                                 boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching message boards threads

findByG_NotC_NotS_First

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

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

fetchByG_NotC_NotS_First

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

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

findByG_NotC_NotS_Last

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

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

fetchByG_NotC_NotS_Last

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

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

findByG_NotC_NotS_PrevAndNext

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

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

filterFindByG_NotC_NotS

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 ≠ ?.

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

filterFindByG_NotC_NotS

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 ≠ ?.

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.

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

filterFindByG_NotC_NotS

List<MBThread> filterFindByG_NotC_NotS(long groupId,
                                       long categoryId,
                                       int status,
                                       int start,
                                       int end,
                                       OrderByComparator<MBThread> orderByComparator)
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.

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

filterFindByG_NotC_NotS_PrevAndNext

MBThread[] filterFindByG_NotC_NotS_PrevAndNext(long threadId,
                                               long groupId,
                                               long categoryId,
                                               int status,
                                               OrderByComparator<MBThread> orderByComparator)
                                               throws NoSuchThreadException
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 ≠ ?.

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

removeByG_NotC_NotS

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.

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status

countByG_NotC_NotS

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

Parameters:
groupId - the group ID
categoryId - the category ID
status - the status
Returns:
the number of matching message boards threads

filterCountByG_NotC_NotS

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 ≠ ?.

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

cacheResult

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

Parameters:
mbThread - the message boards thread

cacheResult

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

Parameters:
mbThreads - the message boards threads

create

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

Parameters:
threadId - the primary key for the new message boards thread
Returns:
the new message boards thread

remove

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

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

updateImpl

MBThread updateImpl(MBThread mbThread)

findByPrimaryKey

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

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

fetchByPrimaryKey

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

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

fetchByPrimaryKeys

Map<Serializable,MBThread> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<MBThread>

findAll

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

Returns:
the message boards threads

findAll

List<MBThread> findAll(int start,
                       int end)
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.

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

findAll

List<MBThread> findAll(int start,
                       int end,
                       OrderByComparator<MBThread> orderByComparator)
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.

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

findAll

List<MBThread> findAll(int start,
                       int end,
                       OrderByComparator<MBThread> orderByComparator,
                       boolean retrieveFromCache)
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.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of message boards threads

removeAll

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


countAll

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

Returns:
the number of message boards threads

getBadColumnNames

Set<String> getBadColumnNames()
Specified by:
getBadColumnNames in interface BasePersistence<MBThread>

Liferay 7.0-ce-b4