@ProviderType
public class MBThreadUtil
extends Object
MBThreadPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
MBThreadPersistence
,
MBThreadPersistenceImpl
Constructor and Description |
---|
MBThreadUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(List<MBThread> mbThreads)
Caches the message boards threads in the entity cache if it is enabled.
|
static void |
cacheResult(MBThread mbThread)
Caches the message boards thread in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(MBThread mbThread) |
static int |
countAll()
Returns the number of message boards threads.
|
static int |
countByC_P(long categoryId,
double priority)
Returns the number of message boards threads where categoryId = ? and priority = ?.
|
static int |
countByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
Returns the number of message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.
|
static int |
countByG_C_NotS(long groupId,
long[] categoryIds,
int status)
Returns the number of message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.
|
static int |
countByG_C_NotS(long groupId,
long categoryId,
int status)
Returns the number of message boards threads where groupId = ? and categoryId = ? and status ≠ ?.
|
static int |
countByG_C_S(long groupId,
long[] categoryIds,
int status)
Returns the number of message boards threads where groupId = ? and categoryId = any ? and status = ?.
|
static int |
countByG_C_S(long groupId,
long categoryId,
int status)
Returns the number of message boards threads where groupId = ? and categoryId = ? and status = ?.
|
static int |
countByG_C(long groupId,
long categoryId)
Returns the number of message boards threads where groupId = ? and categoryId = ?.
|
static int |
countByG_C(long groupId,
long[] categoryIds)
Returns the number of message boards threads where groupId = ? and categoryId = any ?.
|
static int |
countByG_NotC_NotS(long groupId,
long categoryId,
int status)
Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.
|
static int |
countByG_NotC_S(long groupId,
long categoryId,
int status)
Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status = ?.
|
static int |
countByG_NotC(long groupId,
long categoryId)
Returns the number of message boards threads where groupId = ? and categoryId ≠ ?.
|
static int |
countByG_S(long groupId,
int status)
Returns the number of message boards threads where groupId = ? and status = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of message boards threads where groupId = ?.
|
static int |
countByL_P(Date lastPostDate,
double priority)
Returns the number of message boards threads where lastPostDate = ? and priority = ?.
|
static int |
countByRootMessageId(long rootMessageId)
Returns the number of message boards threads where rootMessageId = ?.
|
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of message boards threads where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(String uuid,
long groupId)
Returns the number of message boards threads where uuid = ? and groupId = ?.
|
static int |
countByUuid(String uuid)
Returns the number of message boards threads where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static MBThread |
create(long threadId)
Creates a new message boards thread with the primary key.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static MBThread |
fetchByGroupId_First(long groupId,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ?.
|
static MBThread |
fetchByGroupId_Last(long groupId,
OrderByComparator<MBThread> orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static MBThread |
fetchByPrimaryKey(long threadId)
Returns the message boards thread with the primary key or returns
null if it could not be found. |
static Map<Serializable,MBThread> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static MBThread |
fetchByRootMessageId(long rootMessageId)
Returns the message boards thread where rootMessageId = ? or returns
null if it could not be found. |
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static MBThread |
fetchByUuid_First(String uuid,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where uuid = ?.
|
static 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. |
static 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. |
static MBThread |
fetchByUuid_Last(String uuid,
OrderByComparator<MBThread> orderByComparator)
Returns the last message boards thread in the ordered set where uuid = ?.
|
static 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 = ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of message boards threads that the user has permission to view where groupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 ?.
|
static 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 ?.
|
static 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 ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
filterFindByGroupId(long groupId)
Returns all the message boards threads that the user has permission to view where groupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
findAll()
Returns all the message boards threads.
|
static List<MBThread> |
findAll(int start,
int end)
Returns a range of all the message boards threads.
|
static List<MBThread> |
findAll(int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads.
|
static List<MBThread> |
findAll(int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByC_P(long categoryId,
double priority)
Returns all the message boards threads where categoryId = ? and priority = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
Returns all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static List<MBThread> |
findByG_C_NotS(long groupId,
long[] categoryIds,
int status)
Returns all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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.
|
static List<MBThread> |
findByG_C_NotS(long groupId,
long categoryId,
int status)
Returns all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByG_C_S(long groupId,
long[] categoryIds,
int status)
Returns all the message boards threads where groupId = ? and categoryId = any ? and status = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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.
|
static List<MBThread> |
findByG_C_S(long groupId,
long categoryId,
int status)
Returns all the message boards threads where groupId = ? and categoryId = ? and status = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByG_C(long groupId,
long categoryId)
Returns all the message boards threads where groupId = ? and categoryId = ?.
|
static List<MBThread> |
findByG_C(long groupId,
long[] categoryIds)
Returns all the message boards threads where groupId = ? and categoryId = any ?.
|
static 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 ?.
|
static 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 ?.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static List<MBThread> |
findByG_NotC_NotS(long groupId,
long categoryId,
int status)
Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByG_NotC_S(long groupId,
long categoryId,
int status)
Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByG_NotC(long groupId,
long categoryId)
Returns all the message boards threads where groupId = ? and categoryId ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 ≠ ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByG_S(long groupId,
int status)
Returns all the message boards threads where groupId = ? and status = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static MBThread |
findByGroupId_First(long groupId,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ?.
|
static MBThread |
findByGroupId_Last(long groupId,
OrderByComparator<MBThread> orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByGroupId(long groupId)
Returns all the message boards threads where groupId = ?.
|
static List<MBThread> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the message boards threads where groupId = ?.
|
static List<MBThread> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByL_P(Date lastPostDate,
double priority)
Returns all the message boards threads where lastPostDate = ? and priority = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static MBThread |
findByPrimaryKey(long threadId)
Returns the message boards thread with the primary key or throws a
NoSuchThreadException if it could not be found. |
static MBThread |
findByRootMessageId(long rootMessageId)
Returns the message boards thread where rootMessageId = ? or throws a
NoSuchThreadException if it could not be found. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByUuid_C(String uuid,
long companyId)
Returns all the message boards threads where uuid = ? and companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static MBThread |
findByUuid_First(String uuid,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where uuid = ?.
|
static 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. |
static MBThread |
findByUuid_Last(String uuid,
OrderByComparator<MBThread> orderByComparator)
Returns the last message boards thread in the ordered set where uuid = ?.
|
static 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 = ?.
|
static List<MBThread> |
findByUuid(String uuid)
Returns all the message boards threads where uuid = ?.
|
static List<MBThread> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the message boards threads where uuid = ?.
|
static List<MBThread> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads where uuid = ?.
|
static 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 = ?.
|
static List<MBThread> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<MBThread> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<MBThread> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<MBThread> orderByComparator) |
static Set<String> |
getBadColumnNames() |
static MBThreadPersistence |
getPersistence() |
static MBThread |
remove(long threadId)
Removes the message boards thread with the primary key from the database.
|
static void |
removeAll()
Removes all the message boards threads from the database.
|
static void |
removeByC_P(long categoryId,
double priority)
Removes all the message boards threads where categoryId = ? and priority = ? from the database.
|
static 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.
|
static 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.
|
static 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.
|
static void |
removeByG_C(long groupId,
long categoryId)
Removes all the message boards threads where groupId = ? and categoryId = ? from the database.
|
static 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.
|
static 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.
|
static void |
removeByG_NotC(long groupId,
long categoryId)
Removes all the message boards threads where groupId = ? and categoryId ≠ ? from the database.
|
static void |
removeByG_S(long groupId,
int status)
Removes all the message boards threads where groupId = ? and status = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the message boards threads where groupId = ? from the database.
|
static void |
removeByL_P(Date lastPostDate,
double priority)
Removes all the message boards threads where lastPostDate = ? and priority = ? from the database.
|
static MBThread |
removeByRootMessageId(long rootMessageId)
Removes the message boards thread where rootMessageId = ? from the database.
|
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the message boards threads where uuid = ? and companyId = ? from the database.
|
static MBThread |
removeByUUID_G(String uuid,
long groupId)
Removes the message boards thread where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(String uuid)
Removes all the message boards threads where uuid = ? from the database.
|
static MBThread |
update(MBThread mbThread) |
static MBThread |
update(MBThread mbThread,
ServiceContext serviceContext) |
static MBThread |
updateImpl(MBThread mbThread) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(MBThread mbThread)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<MBThread> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<MBThread> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static List<MBThread> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<MBThread> orderByComparator)
public static MBThread update(MBThread mbThread, ServiceContext serviceContext)
public static List<MBThread> findByUuid(String uuid)
uuid
- the uuidpublic static List<MBThread> findByUuid(String uuid, int start, int end)
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.
uuid
- the uuidstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByUuid(String uuid, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
uuid
- the uuidstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByUuid(String uuid, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
uuid
- the uuidstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByUuid_First(String uuid, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByUuid_First(String uuid, OrderByComparator<MBThread> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByUuid_Last(String uuid, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByUuid_Last(String uuid, OrderByComparator<MBThread> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByUuid_PrevAndNext(long threadId, String uuid, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threaduuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static void removeByUuid(String uuid)
uuid
- the uuidpublic static int countByUuid(String uuid)
uuid
- the uuidpublic static MBThread findByUUID_G(String uuid, long groupId) throws NoSuchThreadException
NoSuchThreadException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching message boards thread could not be foundpublic static MBThread fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching message boards thread could not be foundpublic static MBThread removeByUUID_G(String uuid, long groupId) throws NoSuchThreadException
uuid
- the uuidgroupId
- the group IDNoSuchThreadException
public static int countByUUID_G(String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static List<MBThread> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<MBThread> findByUuid_C(String uuid, long companyId, int start, int end)
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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByUuid_C_First(String uuid, long companyId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<MBThread> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByUuid_C_Last(String uuid, long companyId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<MBThread> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByUuid_C_PrevAndNext(long threadId, String uuid, long companyId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threaduuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static void removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<MBThread> findByGroupId(long groupId)
groupId
- the group IDpublic static List<MBThread> findByGroupId(long groupId, int start, int end)
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.
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByGroupId(long groupId, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByGroupId(long groupId, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByGroupId_First(long groupId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByGroupId_First(long groupId, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByGroupId_Last(long groupId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByGroupId_Last(long groupId, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static List<MBThread> filterFindByGroupId(long groupId, int start, int end)
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.
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBThread[] filterFindByGroupId_PrevAndNext(long threadId, long groupId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static MBThread findByRootMessageId(long rootMessageId) throws NoSuchThreadException
NoSuchThreadException
if it could not be found.rootMessageId
- the root message IDNoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByRootMessageId(long rootMessageId)
null
if it could not be found. Uses the finder cache.rootMessageId
- the root message IDnull
if a matching message boards thread could not be foundpublic static MBThread fetchByRootMessageId(long rootMessageId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.rootMessageId
- the root message IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching message boards thread could not be foundpublic static MBThread removeByRootMessageId(long rootMessageId) throws NoSuchThreadException
rootMessageId
- the root message IDNoSuchThreadException
public static int countByRootMessageId(long rootMessageId)
rootMessageId
- the root message IDpublic static List<MBThread> findByG_C(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static List<MBThread> findByG_C(long groupId, long categoryId, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByG_C_First(long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_C_First(long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByG_C_Last(long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_C_Last(long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByG_C_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_C(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static List<MBThread> filterFindByG_C(long groupId, long categoryId, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_C(long groupId, long categoryId, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBThread[] filterFindByG_C_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_C(long groupId, long[] categoryIds)
groupId
- the group IDcategoryIds
- the category IDspublic static List<MBThread> filterFindByG_C(long groupId, long[] categoryIds, int start, int end)
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.
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_C(long groupId, long[] categoryIds, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_C(long groupId, long[] categoryIds)
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.
groupId
- the group IDcategoryIds
- the category IDspublic static List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end)
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.
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static void removeByG_C(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static int countByG_C(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static int countByG_C(long groupId, long[] categoryIds)
groupId
- the group IDcategoryIds
- the category IDspublic static int filterCountByG_C(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static int filterCountByG_C(long groupId, long[] categoryIds)
groupId
- the group IDcategoryIds
- the category IDspublic static List<MBThread> findByG_NotC(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByG_NotC_First(long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_NotC_First(long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByG_NotC_Last(long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_NotC_Last(long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByG_NotC_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_NotC(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static List<MBThread> filterFindByG_NotC(long groupId, long categoryId, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_NotC(long groupId, long categoryId, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBThread[] filterFindByG_NotC_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static void removeByG_NotC(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static int countByG_NotC(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static int filterCountByG_NotC(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static List<MBThread> findByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static List<MBThread> findByG_S(long groupId, int status, int start, int end)
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.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_S(long groupId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_S(long groupId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByG_S_First(long groupId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_S_First(long groupId, int status, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByG_S_Last(long groupId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_S_Last(long groupId, int status, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByG_S_PrevAndNext(long threadId, long groupId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static List<MBThread> filterFindByG_S(long groupId, int status, int start, int end)
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.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_S(long groupId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBThread[] filterFindByG_S_PrevAndNext(long threadId, long groupId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static void removeByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static int countByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static int filterCountByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static List<MBThread> findByC_P(long categoryId, double priority)
categoryId
- the category IDpriority
- the prioritypublic static List<MBThread> findByC_P(long categoryId, double priority, int start, int end)
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.
categoryId
- the category IDpriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByC_P(long categoryId, double priority, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
categoryId
- the category IDpriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByC_P(long categoryId, double priority, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
categoryId
- the category IDpriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByC_P_First(long categoryId, double priority, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByC_P_First(long categoryId, double priority, OrderByComparator<MBThread> orderByComparator)
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByC_P_Last(long categoryId, double priority, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByC_P_Last(long categoryId, double priority, OrderByComparator<MBThread> orderByComparator)
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByC_P_PrevAndNext(long threadId, long categoryId, double priority, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadcategoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static void removeByC_P(long categoryId, double priority)
categoryId
- the category IDpriority
- the prioritypublic static int countByC_P(long categoryId, double priority)
categoryId
- the category IDpriority
- the prioritypublic static List<MBThread> findByL_P(Date lastPostDate, double priority)
lastPostDate
- the last post datepriority
- the prioritypublic static List<MBThread> findByL_P(Date lastPostDate, double priority, int start, int end)
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.
lastPostDate
- the last post datepriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByL_P(Date lastPostDate, double priority, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
lastPostDate
- the last post datepriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByL_P(Date lastPostDate, double priority, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
lastPostDate
- the last post datepriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByL_P_First(Date lastPostDate, double priority, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByL_P_First(Date lastPostDate, double priority, OrderByComparator<MBThread> orderByComparator)
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByL_P_Last(Date lastPostDate, double priority, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByL_P_Last(Date lastPostDate, double priority, OrderByComparator<MBThread> orderByComparator)
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByL_P_PrevAndNext(long threadId, Date lastPostDate, double priority, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadlastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static void removeByL_P(Date lastPostDate, double priority)
lastPostDate
- the last post datepriority
- the prioritypublic static int countByL_P(Date lastPostDate, double priority)
lastPostDate
- the last post datepriority
- the prioritypublic static List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate)
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datepublic static List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByG_C_L_First(long groupId, long categoryId, Date lastPostDate, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_C_L_First(long groupId, long categoryId, Date lastPostDate, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByG_C_L_Last(long groupId, long categoryId, Date lastPostDate, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_C_L_Last(long groupId, long categoryId, Date lastPostDate, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, Date lastPostDate, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_C_L(long groupId, long categoryId, Date lastPostDate)
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datepublic static List<MBThread> filterFindByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBThread[] filterFindByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, Date lastPostDate, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static void removeByG_C_L(long groupId, long categoryId, Date lastPostDate)
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datepublic static int countByG_C_L(long groupId, long categoryId, Date lastPostDate)
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datepublic static int filterCountByG_C_L(long groupId, long categoryId, Date lastPostDate)
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datepublic static List<MBThread> findByG_C_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_C_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBThread> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBThread[] filterFindByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_C_S(long groupId, long[] categoryIds, int status)
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statuspublic static List<MBThread> filterFindByG_C_S(long groupId, long[] categoryIds, int status, int start, int end)
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.
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_C_S(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int 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.
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statuspublic static List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end)
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.
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static void removeByG_C_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static int countByG_C_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static int countByG_C_S(long groupId, long[] categoryIds, int status)
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statuspublic static int filterCountByG_C_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static int filterCountByG_C_S(long groupId, long[] categoryIds, int status)
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statuspublic static List<MBThread> findByG_C_NotS(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBThread> findByG_C_NotS(long groupId, long categoryId, int status, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_C_NotS(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_C_NotS(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByG_C_NotS_First(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_C_NotS_First(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByG_C_NotS_Last(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_C_NotS_Last(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByG_C_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_C_NotS(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBThread> filterFindByG_C_NotS(long groupId, long categoryId, int status, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_C_NotS(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBThread[] filterFindByG_C_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_C_NotS(long groupId, long[] categoryIds, int status)
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statuspublic static List<MBThread> filterFindByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end)
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.
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, int 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.
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statuspublic static List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end)
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.
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static void removeByG_C_NotS(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static int countByG_C_NotS(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static int countByG_C_NotS(long groupId, long[] categoryIds, int status)
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statuspublic static int filterCountByG_C_NotS(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static int filterCountByG_C_NotS(long groupId, long[] categoryIds, int status)
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statuspublic static List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByG_NotC_S_First(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_NotC_S_First(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByG_NotC_S_Last(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_NotC_S_Last(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByG_NotC_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_NotC_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBThread> filterFindByG_NotC_S(long groupId, long categoryId, int status, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_NotC_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBThread[] filterFindByG_NotC_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static void removeByG_NotC_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static int countByG_NotC_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static int filterCountByG_NotC_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBThread> findByG_NotC_NotS(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBThread> findByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- 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 cachepublic static MBThread findByG_NotC_NotS_First(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_NotC_NotS_First(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread findByG_NotC_NotS_Last(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a matching message boards thread could not be foundpublic static MBThread fetchByG_NotC_NotS_Last(long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator)
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread could not be foundpublic static MBThread[] findByG_NotC_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static List<MBThread> filterFindByG_NotC_NotS(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBThread> filterFindByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> filterFindByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBThread[] filterFindByG_NotC_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static void removeByG_NotC_NotS(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static int countByG_NotC_NotS(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static int filterCountByG_NotC_NotS(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static void cacheResult(MBThread mbThread)
mbThread
- the message boards threadpublic static void cacheResult(List<MBThread> mbThreads)
mbThreads
- the message boards threadspublic static MBThread create(long threadId)
threadId
- the primary key for the new message boards threadpublic static MBThread remove(long threadId) throws NoSuchThreadException
threadId
- the primary key of the message boards threadNoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static MBThread findByPrimaryKey(long threadId) throws NoSuchThreadException
NoSuchThreadException
if it could not be found.threadId
- the primary key of the message boards threadNoSuchThreadException
- if a message boards thread with the primary key could not be foundpublic static MBThread fetchByPrimaryKey(long threadId)
null
if it could not be found.threadId
- the primary key of the message boards threadnull
if a message boards thread with the primary key could not be foundpublic static Map<Serializable,MBThread> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
public static List<MBThread> findAll()
public static List<MBThread> findAll(int start, int end)
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.
start
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)public static List<MBThread> findAll(int start, int end, OrderByComparator<MBThread> orderByComparator)
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.
start
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBThread> findAll(int start, int end, OrderByComparator<MBThread> orderByComparator, boolean retrieveFromCache)
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.
start
- the lower bound of the range of message boards threadsend
- 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 cachepublic static void removeAll()
public static int countAll()
public static Set<String> getBadColumnNames()
public static MBThreadPersistence getPersistence()