@ProviderType
public class MBMessageUtil
extends Object
MBMessagePersistenceImpl
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
MBMessagePersistence
,
MBMessagePersistenceImpl
Constructor and Description |
---|
MBMessageUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(List<MBMessage> mbMessages)
Caches the message-boards messages in the entity cache if it is enabled.
|
static void |
cacheResult(MBMessage mbMessage)
Caches the message-boards message in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(MBMessage mbMessage) |
static int |
countAll()
Returns the number of message-boards messages.
|
static int |
countByC_C_S(long classNameId,
long classPK,
int status)
Returns the number of message-boards messages where classNameId = ? and classPK = ? and status = ?.
|
static int |
countByC_C(long classNameId,
long classPK)
Returns the number of message-boards messages where classNameId = ? and classPK = ?.
|
static int |
countByC_S(long companyId,
int status)
Returns the number of message-boards messages where companyId = ? and status = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of message-boards messages where companyId = ?.
|
static int |
countByG_C_S(long groupId,
long categoryId,
int status)
Returns the number of message-boards messages where groupId = ? and categoryId = ? and status = ?.
|
static int |
countByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer)
Returns the number of message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static int |
countByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
Returns the number of message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static int |
countByG_C_T(long groupId,
long categoryId,
long threadId)
Returns the number of message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
|
static int |
countByG_C(long groupId,
long categoryId)
Returns the number of message-boards messages where groupId = ? and categoryId = ?.
|
static int |
countByG_S(long groupId,
int status)
Returns the number of message-boards messages where groupId = ? and status = ?.
|
static int |
countByG_U_S(long groupId,
long userId,
int status)
Returns the number of message-boards messages where groupId = ? and userId = ? and status = ?.
|
static int |
countByG_U(long groupId,
long userId)
Returns the number of message-boards messages where groupId = ? and userId = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of message-boards messages where groupId = ?.
|
static int |
countByT_A(long threadId,
boolean answer)
Returns the number of message-boards messages where threadId = ? and answer = ?.
|
static int |
countByT_notS(long threadId,
int status)
Returns the number of message-boards messages where threadId = ? and status ≠ ?.
|
static int |
countByT_P(long threadId,
long parentMessageId)
Returns the number of message-boards messages where threadId = ? and parentMessageId = ?.
|
static int |
countByT_S(long threadId,
int status)
Returns the number of message-boards messages where threadId = ? and status = ?.
|
static int |
countByThreadId(long threadId)
Returns the number of message-boards messages where threadId = ?.
|
static int |
countByThreadReplies(long threadId)
Returns the number of message-boards messages where threadId = ?.
|
static int |
countByTR_S(long threadId,
int status)
Returns the number of message-boards messages where threadId = ? and status = ?.
|
static int |
countByU_C_C_S(long userId,
long classNameId,
long classPK,
int status)
Returns the number of message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
static int |
countByU_C_C(long userId,
long classNameId,
long classPK)
Returns the number of message-boards messages where userId = ? and classNameId = ? and classPK = ?.
|
static int |
countByU_C_S(long userId,
long[] classNameIds,
int status)
Returns the number of message-boards messages where userId = ? and classNameId = any ? and status = ?.
|
static int |
countByU_C_S(long userId,
long classNameId,
int status)
Returns the number of message-boards messages where userId = ? and classNameId = ? and status = ?.
|
static int |
countByU_C(long userId,
long classNameId)
Returns the number of message-boards messages where userId = ? and classNameId = ?.
|
static int |
countByU_C(long userId,
long[] classNameIds)
Returns the number of message-boards messages where userId = ? and classNameId = any ?.
|
static int |
countByUserId(long userId)
Returns the number of message-boards messages where userId = ?.
|
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of message-boards messages where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(String uuid,
long groupId)
Returns the number of message-boards messages where uuid = ? and groupId = ?.
|
static int |
countByUuid(String uuid)
Returns the number of message-boards messages where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static MBMessage |
create(long messageId)
Creates a new message-boards message with the primary key.
|
static MBMessage |
fetchByC_C_First(long classNameId,
long classPK,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ?.
|
static MBMessage |
fetchByC_C_Last(long classNameId,
long classPK,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ?.
|
static MBMessage |
fetchByC_C_S_First(long classNameId,
long classPK,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
static MBMessage |
fetchByC_C_S_Last(long classNameId,
long classPK,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
static MBMessage |
fetchByC_S_First(long companyId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where companyId = ? and status = ?.
|
static MBMessage |
fetchByC_S_Last(long companyId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where companyId = ? and status = ?.
|
static MBMessage |
fetchByCompanyId_First(long companyId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where companyId = ?.
|
static MBMessage |
fetchByCompanyId_Last(long companyId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where companyId = ?.
|
static MBMessage |
fetchByG_C_First(long groupId,
long categoryId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ?.
|
static MBMessage |
fetchByG_C_Last(long groupId,
long categoryId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ?.
|
static MBMessage |
fetchByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.
|
static MBMessage |
fetchByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.
|
static MBMessage |
fetchByG_C_T_A_First(long groupId,
long categoryId,
long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static MBMessage |
fetchByG_C_T_A_Last(long groupId,
long categoryId,
long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static MBMessage |
fetchByG_C_T_First(long groupId,
long categoryId,
long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.
|
static MBMessage |
fetchByG_C_T_Last(long groupId,
long categoryId,
long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.
|
static MBMessage |
fetchByG_C_T_S_First(long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static MBMessage |
fetchByG_C_T_S_Last(long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static MBMessage |
fetchByG_S_First(long groupId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and status = ?.
|
static MBMessage |
fetchByG_S_Last(long groupId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and status = ?.
|
static MBMessage |
fetchByG_U_First(long groupId,
long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and userId = ?.
|
static MBMessage |
fetchByG_U_Last(long groupId,
long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and userId = ?.
|
static MBMessage |
fetchByG_U_S_First(long groupId,
long userId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.
|
static MBMessage |
fetchByG_U_S_Last(long groupId,
long userId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.
|
static MBMessage |
fetchByGroupId_First(long groupId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ?.
|
static MBMessage |
fetchByGroupId_Last(long groupId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ?.
|
static MBMessage |
fetchByPrimaryKey(long messageId)
Returns the message-boards message with the primary key or returns
null if it could not be found. |
static Map<Serializable,MBMessage> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static MBMessage |
fetchByT_A_First(long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and answer = ?.
|
static MBMessage |
fetchByT_A_Last(long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and answer = ?.
|
static MBMessage |
fetchByT_notS_First(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status ≠ ?.
|
static MBMessage |
fetchByT_notS_Last(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status ≠ ?.
|
static MBMessage |
fetchByT_P_First(long threadId,
long parentMessageId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and parentMessageId = ?.
|
static MBMessage |
fetchByT_P_Last(long threadId,
long parentMessageId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and parentMessageId = ?.
|
static MBMessage |
fetchByT_S_First(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status = ?.
|
static MBMessage |
fetchByT_S_Last(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status = ?.
|
static MBMessage |
fetchByThreadId_First(long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ?.
|
static MBMessage |
fetchByThreadId_Last(long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ?.
|
static MBMessage |
fetchByThreadReplies_First(long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ?.
|
static MBMessage |
fetchByThreadReplies_Last(long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ?.
|
static MBMessage |
fetchByTR_S_First(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status = ?.
|
static MBMessage |
fetchByTR_S_Last(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status = ?.
|
static MBMessage |
fetchByU_C_C_First(long userId,
long classNameId,
long classPK,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
static MBMessage |
fetchByU_C_C_Last(long userId,
long classNameId,
long classPK,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
static MBMessage |
fetchByU_C_C_S_First(long userId,
long classNameId,
long classPK,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
static MBMessage |
fetchByU_C_C_S_Last(long userId,
long classNameId,
long classPK,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
static MBMessage |
fetchByU_C_First(long userId,
long classNameId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ?.
|
static MBMessage |
fetchByU_C_Last(long userId,
long classNameId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ?.
|
static MBMessage |
fetchByU_C_S_First(long userId,
long classNameId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.
|
static MBMessage |
fetchByU_C_S_Last(long userId,
long classNameId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.
|
static MBMessage |
fetchByUserId_First(long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ?.
|
static MBMessage |
fetchByUserId_Last(long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ?.
|
static MBMessage |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where uuid = ? and companyId = ?.
|
static MBMessage |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where uuid = ? and companyId = ?.
|
static MBMessage |
fetchByUuid_First(String uuid,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where uuid = ?.
|
static MBMessage |
fetchByUUID_G(String uuid,
long groupId)
Returns the message-boards message where uuid = ? and groupId = ? or returns
null if it could not be found. |
static MBMessage |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the message-boards message where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static MBMessage |
fetchByUuid_Last(String uuid,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where uuid = ?.
|
static int |
filterCountByG_C_S(long groupId,
long categoryId,
int status)
Returns the number of message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and status = ?.
|
static int |
filterCountByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer)
Returns the number of message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static int |
filterCountByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
Returns the number of message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static int |
filterCountByG_C_T(long groupId,
long categoryId,
long threadId)
Returns the number of message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ?.
|
static int |
filterCountByG_C(long groupId,
long categoryId)
Returns the number of message-boards messages 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 messages that the user has permission to view where groupId = ? and status = ?.
|
static int |
filterCountByG_U_S(long groupId,
long userId,
int status)
Returns the number of message-boards messages that the user has permission to view where groupId = ? and userId = ? and status = ?.
|
static int |
filterCountByG_U(long groupId,
long userId)
Returns the number of message-boards messages that the user has permission to view where groupId = ? and userId = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of message-boards messages that the user has permission to view where groupId = ?.
|
static MBMessage[] |
filterFindByG_C_PrevAndNext(long messageId,
long groupId,
long categoryId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set of message-boards messages that the user has permission to view where groupId = ? and categoryId = ?.
|
static MBMessage[] |
filterFindByG_C_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set of message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_C_S(long groupId,
long categoryId,
int status)
Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and categoryId = ? and status = ?.
|
static MBMessage[] |
filterFindByG_C_T_A_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set of message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static List<MBMessage> |
filterFindByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer)
Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static List<MBMessage> |
filterFindByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer,
int start,
int end)
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static List<MBMessage> |
filterFindByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static MBMessage[] |
filterFindByG_C_T_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set of message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ?.
|
static MBMessage[] |
filterFindByG_C_T_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set of message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end)
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_C_T(long groupId,
long categoryId,
long threadId)
Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ?.
|
static List<MBMessage> |
filterFindByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end)
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ?.
|
static List<MBMessage> |
filterFindByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and categoryId = ? and threadId = ?.
|
static List<MBMessage> |
filterFindByG_C(long groupId,
long categoryId)
Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ?.
|
static List<MBMessage> |
filterFindByG_C(long groupId,
long categoryId,
int start,
int end)
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ?.
|
static List<MBMessage> |
filterFindByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and categoryId = ?.
|
static MBMessage[] |
filterFindByG_S_PrevAndNext(long messageId,
long groupId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set of message-boards messages that the user has permission to view where groupId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_S(long groupId,
int status)
Returns all the message-boards messages that the user has permission to view where groupId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and status = ?.
|
static MBMessage[] |
filterFindByG_U_PrevAndNext(long messageId,
long groupId,
long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set of message-boards messages that the user has permission to view where groupId = ? and userId = ?.
|
static MBMessage[] |
filterFindByG_U_S_PrevAndNext(long messageId,
long groupId,
long userId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set of message-boards messages that the user has permission to view where groupId = ? and userId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_U_S(long groupId,
long userId,
int status)
Returns all the message-boards messages that the user has permission to view where groupId = ? and userId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_U_S(long groupId,
long userId,
int status,
int start,
int end)
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and userId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_U_S(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and userId = ? and status = ?.
|
static List<MBMessage> |
filterFindByG_U(long groupId,
long userId)
Returns all the message-boards messages that the user has permission to view where groupId = ? and userId = ?.
|
static List<MBMessage> |
filterFindByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and userId = ?.
|
static List<MBMessage> |
filterFindByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and userId = ?.
|
static MBMessage[] |
filterFindByGroupId_PrevAndNext(long messageId,
long groupId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set of message-boards messages that the user has permission to view where groupId = ?.
|
static List<MBMessage> |
filterFindByGroupId(long groupId)
Returns all the message-boards messages that the user has permission to view where groupId = ?.
|
static List<MBMessage> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the message-boards messages that the user has permission to view where groupId = ?.
|
static List<MBMessage> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ?.
|
static List<MBMessage> |
findAll()
Returns all the message-boards messages.
|
static List<MBMessage> |
findAll(int start,
int end)
Returns a range of all the message-boards messages.
|
static List<MBMessage> |
findAll(int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages.
|
static List<MBMessage> |
findAll(int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages.
|
static MBMessage |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ?.
|
static MBMessage |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ?.
|
static MBMessage[] |
findByC_C_PrevAndNext(long messageId,
long classNameId,
long classPK,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where classNameId = ? and classPK = ?.
|
static MBMessage |
findByC_C_S_First(long classNameId,
long classPK,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
static MBMessage |
findByC_C_S_Last(long classNameId,
long classPK,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
static MBMessage[] |
findByC_C_S_PrevAndNext(long messageId,
long classNameId,
long classPK,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
static List<MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status)
Returns all the message-boards messages where classNameId = ? and classPK = ? and status = ?.
|
static List<MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end)
Returns a range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?.
|
static List<MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?.
|
static List<MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?.
|
static List<MBMessage> |
findByC_C(long classNameId,
long classPK)
Returns all the message-boards messages where classNameId = ? and classPK = ?.
|
static List<MBMessage> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the message-boards messages where classNameId = ? and classPK = ?.
|
static List<MBMessage> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ?.
|
static List<MBMessage> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ?.
|
static MBMessage |
findByC_S_First(long companyId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where companyId = ? and status = ?.
|
static MBMessage |
findByC_S_Last(long companyId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where companyId = ? and status = ?.
|
static MBMessage[] |
findByC_S_PrevAndNext(long messageId,
long companyId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where companyId = ? and status = ?.
|
static List<MBMessage> |
findByC_S(long companyId,
int status)
Returns all the message-boards messages where companyId = ? and status = ?.
|
static List<MBMessage> |
findByC_S(long companyId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where companyId = ? and status = ?.
|
static List<MBMessage> |
findByC_S(long companyId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where companyId = ? and status = ?.
|
static List<MBMessage> |
findByC_S(long companyId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where companyId = ? and status = ?.
|
static MBMessage |
findByCompanyId_First(long companyId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where companyId = ?.
|
static MBMessage |
findByCompanyId_Last(long companyId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where companyId = ?.
|
static MBMessage[] |
findByCompanyId_PrevAndNext(long messageId,
long companyId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where companyId = ?.
|
static List<MBMessage> |
findByCompanyId(long companyId)
Returns all the message-boards messages where companyId = ?.
|
static List<MBMessage> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the message-boards messages where companyId = ?.
|
static List<MBMessage> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where companyId = ?.
|
static List<MBMessage> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where companyId = ?.
|
static MBMessage |
findByG_C_First(long groupId,
long categoryId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ?.
|
static MBMessage |
findByG_C_Last(long groupId,
long categoryId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ?.
|
static MBMessage[] |
findByG_C_PrevAndNext(long messageId,
long groupId,
long categoryId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ?.
|
static MBMessage |
findByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.
|
static MBMessage |
findByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.
|
static MBMessage[] |
findByG_C_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.
|
static List<MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status)
Returns all the message-boards messages where groupId = ? and categoryId = ? and status = ?.
|
static List<MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?.
|
static List<MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?.
|
static List<MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?.
|
static MBMessage |
findByG_C_T_A_First(long groupId,
long categoryId,
long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static MBMessage |
findByG_C_T_A_Last(long groupId,
long categoryId,
long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static MBMessage[] |
findByG_C_T_A_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static List<MBMessage> |
findByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer)
Returns all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static List<MBMessage> |
findByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static List<MBMessage> |
findByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static List<MBMessage> |
findByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
static MBMessage |
findByG_C_T_First(long groupId,
long categoryId,
long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.
|
static MBMessage |
findByG_C_T_Last(long groupId,
long categoryId,
long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.
|
static MBMessage[] |
findByG_C_T_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.
|
static MBMessage |
findByG_C_T_S_First(long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static MBMessage |
findByG_C_T_S_Last(long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static MBMessage[] |
findByG_C_T_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static List<MBMessage> |
findByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
Returns all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static List<MBMessage> |
findByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static List<MBMessage> |
findByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static List<MBMessage> |
findByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
static List<MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId)
Returns all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
|
static List<MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
|
static List<MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
|
static List<MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
|
static List<MBMessage> |
findByG_C(long groupId,
long categoryId)
Returns all the message-boards messages where groupId = ? and categoryId = ?.
|
static List<MBMessage> |
findByG_C(long groupId,
long categoryId,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and categoryId = ?.
|
static List<MBMessage> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ?.
|
static List<MBMessage> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ?.
|
static MBMessage |
findByG_S_First(long groupId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and status = ?.
|
static MBMessage |
findByG_S_Last(long groupId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and status = ?.
|
static MBMessage[] |
findByG_S_PrevAndNext(long messageId,
long groupId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and status = ?.
|
static List<MBMessage> |
findByG_S(long groupId,
int status)
Returns all the message-boards messages where groupId = ? and status = ?.
|
static List<MBMessage> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and status = ?.
|
static List<MBMessage> |
findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and status = ?.
|
static List<MBMessage> |
findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and status = ?.
|
static MBMessage |
findByG_U_First(long groupId,
long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and userId = ?.
|
static MBMessage |
findByG_U_Last(long groupId,
long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and userId = ?.
|
static MBMessage[] |
findByG_U_PrevAndNext(long messageId,
long groupId,
long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and userId = ?.
|
static MBMessage |
findByG_U_S_First(long groupId,
long userId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.
|
static MBMessage |
findByG_U_S_Last(long groupId,
long userId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.
|
static MBMessage[] |
findByG_U_S_PrevAndNext(long messageId,
long groupId,
long userId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.
|
static List<MBMessage> |
findByG_U_S(long groupId,
long userId,
int status)
Returns all the message-boards messages where groupId = ? and userId = ? and status = ?.
|
static List<MBMessage> |
findByG_U_S(long groupId,
long userId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and userId = ? and status = ?.
|
static List<MBMessage> |
findByG_U_S(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?.
|
static List<MBMessage> |
findByG_U_S(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?.
|
static List<MBMessage> |
findByG_U(long groupId,
long userId)
Returns all the message-boards messages where groupId = ? and userId = ?.
|
static List<MBMessage> |
findByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and userId = ?.
|
static List<MBMessage> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and userId = ?.
|
static List<MBMessage> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and userId = ?.
|
static MBMessage |
findByGroupId_First(long groupId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ?.
|
static MBMessage |
findByGroupId_Last(long groupId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ?.
|
static MBMessage[] |
findByGroupId_PrevAndNext(long messageId,
long groupId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ?.
|
static List<MBMessage> |
findByGroupId(long groupId)
Returns all the message-boards messages where groupId = ?.
|
static List<MBMessage> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ?.
|
static List<MBMessage> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ?.
|
static List<MBMessage> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ?.
|
static MBMessage |
findByPrimaryKey(long messageId)
Returns the message-boards message with the primary key or throws a
NoSuchMessageException if it could not be found. |
static MBMessage |
findByT_A_First(long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and answer = ?.
|
static MBMessage |
findByT_A_Last(long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and answer = ?.
|
static MBMessage[] |
findByT_A_PrevAndNext(long messageId,
long threadId,
boolean answer,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and answer = ?.
|
static List<MBMessage> |
findByT_A(long threadId,
boolean answer)
Returns all the message-boards messages where threadId = ? and answer = ?.
|
static List<MBMessage> |
findByT_A(long threadId,
boolean answer,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ? and answer = ?.
|
static List<MBMessage> |
findByT_A(long threadId,
boolean answer,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ? and answer = ?.
|
static List<MBMessage> |
findByT_A(long threadId,
boolean answer,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ? and answer = ?.
|
static MBMessage |
findByT_notS_First(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status ≠ ?.
|
static MBMessage |
findByT_notS_Last(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status ≠ ?.
|
static MBMessage[] |
findByT_notS_PrevAndNext(long messageId,
long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status ≠ ?.
|
static List<MBMessage> |
findByT_notS(long threadId,
int status)
Returns all the message-boards messages where threadId = ? and status ≠ ?.
|
static List<MBMessage> |
findByT_notS(long threadId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ? and status ≠ ?.
|
static List<MBMessage> |
findByT_notS(long threadId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ? and status ≠ ?.
|
static List<MBMessage> |
findByT_notS(long threadId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ? and status ≠ ?.
|
static MBMessage |
findByT_P_First(long threadId,
long parentMessageId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and parentMessageId = ?.
|
static MBMessage |
findByT_P_Last(long threadId,
long parentMessageId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and parentMessageId = ?.
|
static MBMessage[] |
findByT_P_PrevAndNext(long messageId,
long threadId,
long parentMessageId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and parentMessageId = ?.
|
static List<MBMessage> |
findByT_P(long threadId,
long parentMessageId)
Returns all the message-boards messages where threadId = ? and parentMessageId = ?.
|
static List<MBMessage> |
findByT_P(long threadId,
long parentMessageId,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ? and parentMessageId = ?.
|
static List<MBMessage> |
findByT_P(long threadId,
long parentMessageId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ? and parentMessageId = ?.
|
static List<MBMessage> |
findByT_P(long threadId,
long parentMessageId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ? and parentMessageId = ?.
|
static MBMessage |
findByT_S_First(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status = ?.
|
static MBMessage |
findByT_S_Last(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status = ?.
|
static MBMessage[] |
findByT_S_PrevAndNext(long messageId,
long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?.
|
static List<MBMessage> |
findByT_S(long threadId,
int status)
Returns all the message-boards messages where threadId = ? and status = ?.
|
static List<MBMessage> |
findByT_S(long threadId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ? and status = ?.
|
static List<MBMessage> |
findByT_S(long threadId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.
|
static List<MBMessage> |
findByT_S(long threadId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.
|
static MBMessage |
findByThreadId_First(long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ?.
|
static MBMessage |
findByThreadId_Last(long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ?.
|
static MBMessage[] |
findByThreadId_PrevAndNext(long messageId,
long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ?.
|
static List<MBMessage> |
findByThreadId(long threadId)
Returns all the message-boards messages where threadId = ?.
|
static List<MBMessage> |
findByThreadId(long threadId,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ?.
|
static List<MBMessage> |
findByThreadId(long threadId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ?.
|
static List<MBMessage> |
findByThreadId(long threadId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ?.
|
static MBMessage |
findByThreadReplies_First(long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ?.
|
static MBMessage |
findByThreadReplies_Last(long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ?.
|
static MBMessage[] |
findByThreadReplies_PrevAndNext(long messageId,
long threadId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ?.
|
static List<MBMessage> |
findByThreadReplies(long threadId)
Returns all the message-boards messages where threadId = ?.
|
static List<MBMessage> |
findByThreadReplies(long threadId,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ?.
|
static List<MBMessage> |
findByThreadReplies(long threadId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ?.
|
static List<MBMessage> |
findByThreadReplies(long threadId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ?.
|
static MBMessage |
findByTR_S_First(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status = ?.
|
static MBMessage |
findByTR_S_Last(long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status = ?.
|
static MBMessage[] |
findByTR_S_PrevAndNext(long messageId,
long threadId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?.
|
static List<MBMessage> |
findByTR_S(long threadId,
int status)
Returns all the message-boards messages where threadId = ? and status = ?.
|
static List<MBMessage> |
findByTR_S(long threadId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ? and status = ?.
|
static List<MBMessage> |
findByTR_S(long threadId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.
|
static List<MBMessage> |
findByTR_S(long threadId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.
|
static MBMessage |
findByU_C_C_First(long userId,
long classNameId,
long classPK,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
static MBMessage |
findByU_C_C_Last(long userId,
long classNameId,
long classPK,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
static MBMessage[] |
findByU_C_C_PrevAndNext(long messageId,
long userId,
long classNameId,
long classPK,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
static MBMessage |
findByU_C_C_S_First(long userId,
long classNameId,
long classPK,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
static MBMessage |
findByU_C_C_S_Last(long userId,
long classNameId,
long classPK,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
static MBMessage[] |
findByU_C_C_S_PrevAndNext(long messageId,
long userId,
long classNameId,
long classPK,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
static List<MBMessage> |
findByU_C_C_S(long userId,
long classNameId,
long classPK,
int status)
Returns all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
static List<MBMessage> |
findByU_C_C_S(long userId,
long classNameId,
long classPK,
int status,
int start,
int end)
Returns a range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
static List<MBMessage> |
findByU_C_C_S(long userId,
long classNameId,
long classPK,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
static List<MBMessage> |
findByU_C_C_S(long userId,
long classNameId,
long classPK,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
static List<MBMessage> |
findByU_C_C(long userId,
long classNameId,
long classPK)
Returns all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.
|
static List<MBMessage> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.
|
static List<MBMessage> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.
|
static List<MBMessage> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.
|
static MBMessage |
findByU_C_First(long userId,
long classNameId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ?.
|
static MBMessage |
findByU_C_Last(long userId,
long classNameId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ?.
|
static MBMessage[] |
findByU_C_PrevAndNext(long messageId,
long userId,
long classNameId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ? and classNameId = ?.
|
static MBMessage |
findByU_C_S_First(long userId,
long classNameId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.
|
static MBMessage |
findByU_C_S_Last(long userId,
long classNameId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.
|
static MBMessage[] |
findByU_C_S_PrevAndNext(long messageId,
long userId,
long classNameId,
int status,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.
|
static List<MBMessage> |
findByU_C_S(long userId,
long[] classNameIds,
int status)
Returns all the message-boards messages where userId = ? and classNameId = any ? and status = ?.
|
static List<MBMessage> |
findByU_C_S(long userId,
long[] classNameIds,
int status,
int start,
int end)
Returns a range of all the message-boards messages where userId = ? and classNameId = any ? and status = ?.
|
static List<MBMessage> |
findByU_C_S(long userId,
long[] classNameIds,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = any ? and status = ?.
|
static List<MBMessage> |
findByU_C_S(long userId,
long[] classNameIds,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?, optionally using the finder cache.
|
static List<MBMessage> |
findByU_C_S(long userId,
long classNameId,
int status)
Returns all the message-boards messages where userId = ? and classNameId = ? and status = ?.
|
static List<MBMessage> |
findByU_C_S(long userId,
long classNameId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where userId = ? and classNameId = ? and status = ?.
|
static List<MBMessage> |
findByU_C_S(long userId,
long classNameId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?.
|
static List<MBMessage> |
findByU_C_S(long userId,
long classNameId,
int status,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?.
|
static List<MBMessage> |
findByU_C(long userId,
long classNameId)
Returns all the message-boards messages where userId = ? and classNameId = ?.
|
static List<MBMessage> |
findByU_C(long userId,
long[] classNameIds)
Returns all the message-boards messages where userId = ? and classNameId = any ?.
|
static List<MBMessage> |
findByU_C(long userId,
long[] classNameIds,
int start,
int end)
Returns a range of all the message-boards messages where userId = ? and classNameId = any ?.
|
static List<MBMessage> |
findByU_C(long userId,
long[] classNameIds,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = any ?.
|
static List<MBMessage> |
findByU_C(long userId,
long[] classNameIds,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?, optionally using the finder cache.
|
static List<MBMessage> |
findByU_C(long userId,
long classNameId,
int start,
int end)
Returns a range of all the message-boards messages where userId = ? and classNameId = ?.
|
static List<MBMessage> |
findByU_C(long userId,
long classNameId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?.
|
static List<MBMessage> |
findByU_C(long userId,
long classNameId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?.
|
static MBMessage |
findByUserId_First(long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ?.
|
static MBMessage |
findByUserId_Last(long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ?.
|
static MBMessage[] |
findByUserId_PrevAndNext(long messageId,
long userId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ?.
|
static List<MBMessage> |
findByUserId(long userId)
Returns all the message-boards messages where userId = ?.
|
static List<MBMessage> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the message-boards messages where userId = ?.
|
static List<MBMessage> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ?.
|
static List<MBMessage> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ?.
|
static MBMessage |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where uuid = ? and companyId = ?.
|
static MBMessage |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where uuid = ? and companyId = ?.
|
static MBMessage[] |
findByUuid_C_PrevAndNext(long messageId,
String uuid,
long companyId,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where uuid = ? and companyId = ?.
|
static List<MBMessage> |
findByUuid_C(String uuid,
long companyId)
Returns all the message-boards messages where uuid = ? and companyId = ?.
|
static List<MBMessage> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the message-boards messages where uuid = ? and companyId = ?.
|
static List<MBMessage> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where uuid = ? and companyId = ?.
|
static List<MBMessage> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where uuid = ? and companyId = ?.
|
static MBMessage |
findByUuid_First(String uuid,
OrderByComparator<MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where uuid = ?.
|
static MBMessage |
findByUUID_G(String uuid,
long groupId)
Returns the message-boards message where uuid = ? and groupId = ? or throws a
NoSuchMessageException if it could not be found. |
static MBMessage |
findByUuid_Last(String uuid,
OrderByComparator<MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where uuid = ?.
|
static MBMessage[] |
findByUuid_PrevAndNext(long messageId,
String uuid,
OrderByComparator<MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where uuid = ?.
|
static List<MBMessage> |
findByUuid(String uuid)
Returns all the message-boards messages where uuid = ?.
|
static List<MBMessage> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the message-boards messages where uuid = ?.
|
static List<MBMessage> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where uuid = ?.
|
static List<MBMessage> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where uuid = ?.
|
static List<MBMessage> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<MBMessage> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<MBMessage> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator) |
static Set<String> |
getBadColumnNames() |
static MBMessagePersistence |
getPersistence() |
static MBMessage |
remove(long messageId)
Removes the message-boards message with the primary key from the database.
|
static void |
removeAll()
Removes all the message-boards messages from the database.
|
static void |
removeByC_C_S(long classNameId,
long classPK,
int status)
Removes all the message-boards messages where classNameId = ? and classPK = ? and status = ? from the database.
|
static void |
removeByC_C(long classNameId,
long classPK)
Removes all the message-boards messages where classNameId = ? and classPK = ? from the database.
|
static void |
removeByC_S(long companyId,
int status)
Removes all the message-boards messages where companyId = ? and status = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the message-boards messages where companyId = ? from the database.
|
static void |
removeByG_C_S(long groupId,
long categoryId,
int status)
Removes all the message-boards messages where groupId = ? and categoryId = ? and status = ? from the database.
|
static void |
removeByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer)
Removes all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ? from the database.
|
static void |
removeByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
Removes all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ? from the database.
|
static void |
removeByG_C_T(long groupId,
long categoryId,
long threadId)
Removes all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? from the database.
|
static void |
removeByG_C(long groupId,
long categoryId)
Removes all the message-boards messages where groupId = ? and categoryId = ? from the database.
|
static void |
removeByG_S(long groupId,
int status)
Removes all the message-boards messages where groupId = ? and status = ? from the database.
|
static void |
removeByG_U_S(long groupId,
long userId,
int status)
Removes all the message-boards messages where groupId = ? and userId = ? and status = ? from the database.
|
static void |
removeByG_U(long groupId,
long userId)
Removes all the message-boards messages where groupId = ? and userId = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the message-boards messages where groupId = ? from the database.
|
static void |
removeByT_A(long threadId,
boolean answer)
Removes all the message-boards messages where threadId = ? and answer = ? from the database.
|
static void |
removeByT_notS(long threadId,
int status)
Removes all the message-boards messages where threadId = ? and status ≠ ? from the database.
|
static void |
removeByT_P(long threadId,
long parentMessageId)
Removes all the message-boards messages where threadId = ? and parentMessageId = ? from the database.
|
static void |
removeByT_S(long threadId,
int status)
Removes all the message-boards messages where threadId = ? and status = ? from the database.
|
static void |
removeByThreadId(long threadId)
Removes all the message-boards messages where threadId = ? from the database.
|
static void |
removeByThreadReplies(long threadId)
Removes all the message-boards messages where threadId = ? from the database.
|
static void |
removeByTR_S(long threadId,
int status)
Removes all the message-boards messages where threadId = ? and status = ? from the database.
|
static void |
removeByU_C_C_S(long userId,
long classNameId,
long classPK,
int status)
Removes all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ? from the database.
|
static void |
removeByU_C_C(long userId,
long classNameId,
long classPK)
Removes all the message-boards messages where userId = ? and classNameId = ? and classPK = ? from the database.
|
static void |
removeByU_C_S(long userId,
long classNameId,
int status)
Removes all the message-boards messages where userId = ? and classNameId = ? and status = ? from the database.
|
static void |
removeByU_C(long userId,
long classNameId)
Removes all the message-boards messages where userId = ? and classNameId = ? from the database.
|
static void |
removeByUserId(long userId)
Removes all the message-boards messages where userId = ? from the database.
|
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the message-boards messages where uuid = ? and companyId = ? from the database.
|
static MBMessage |
removeByUUID_G(String uuid,
long groupId)
Removes the message-boards message where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(String uuid)
Removes all the message-boards messages where uuid = ? from the database.
|
static MBMessage |
update(MBMessage mbMessage) |
static MBMessage |
update(MBMessage mbMessage,
ServiceContext serviceContext) |
static MBMessage |
updateImpl(MBMessage mbMessage) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(MBMessage mbMessage)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<MBMessage> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<MBMessage> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static List<MBMessage> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<MBMessage> orderByComparator)
public static MBMessage update(MBMessage mbMessage, ServiceContext serviceContext)
public static List<MBMessage> findByUuid(String uuid)
uuid
- the uuidpublic static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByUuid(String uuid, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByUuid(String uuid, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByUuid_First(String uuid, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByUuid_First(String uuid, OrderByComparator<MBMessage> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByUuid_Last(String uuid, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByUuid_Last(String uuid, OrderByComparator<MBMessage> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByUuid_PrevAndNext(long messageId, String uuid, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messageuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message 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 MBMessage findByUUID_G(String uuid, long groupId) throws NoSuchMessageException
NoSuchMessageException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage 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 message could not be foundpublic static MBMessage 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 message could not be foundpublic static MBMessage removeByUUID_G(String uuid, long groupId) throws NoSuchMessageException
uuid
- the uuidgroupId
- the group IDNoSuchMessageException
public static int countByUUID_G(String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static List<MBMessage> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByUuid_C_First(String uuid, long companyId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<MBMessage> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByUuid_C_Last(String uuid, long companyId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<MBMessage> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByUuid_C_PrevAndNext(long messageId, String uuid, long companyId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messageuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message 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<MBMessage> findByGroupId(long groupId)
groupId
- the group IDpublic static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByGroupId(long groupId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByGroupId(long groupId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByGroupId_First(long groupId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByGroupId_First(long groupId, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByGroupId_Last(long groupId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByGroupId_Last(long groupId, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByGroupId_PrevAndNext(long messageId, long groupId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBMessage[] filterFindByGroupId_PrevAndNext(long messageId, long groupId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message 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 List<MBMessage> findByCompanyId(long companyId)
companyId
- the company IDpublic static List<MBMessage> findByCompanyId(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 MBMessageModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByCompanyId(long companyId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByCompanyId(long companyId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
companyId
- the company IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByCompanyId_First(long companyId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByCompanyId_First(long companyId, OrderByComparator<MBMessage> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByCompanyId_Last(long companyId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByCompanyId_Last(long companyId, OrderByComparator<MBMessage> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByCompanyId_PrevAndNext(long messageId, long companyId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static List<MBMessage> findByUserId(long userId)
userId
- the user IDpublic static List<MBMessage> findByUserId(long userId, 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 MBMessageModelImpl
. 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.
userId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByUserId(long userId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByUserId(long userId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByUserId_First(long userId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByUserId_First(long userId, OrderByComparator<MBMessage> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByUserId_Last(long userId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByUserId_Last(long userId, OrderByComparator<MBMessage> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByUserId_PrevAndNext(long messageId, long userId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messageuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByUserId(long userId)
userId
- the user IDpublic static int countByUserId(long userId)
userId
- the user IDpublic static List<MBMessage> findByThreadId(long threadId)
threadId
- the thread IDpublic static List<MBMessage> findByThreadId(long threadId, 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByThreadId(long threadId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByThreadId(long threadId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByThreadId_First(long threadId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByThreadId_First(long threadId, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByThreadId_Last(long threadId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByThreadId_Last(long threadId, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByThreadId_PrevAndNext(long messageId, long threadId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByThreadId(long threadId)
threadId
- the thread IDpublic static int countByThreadId(long threadId)
threadId
- the thread IDpublic static List<MBMessage> findByThreadReplies(long threadId)
threadId
- the thread IDpublic static List<MBMessage> findByThreadReplies(long threadId, 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByThreadReplies(long threadId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByThreadReplies(long threadId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByThreadReplies_First(long threadId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByThreadReplies_First(long threadId, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByThreadReplies_Last(long threadId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByThreadReplies_Last(long threadId, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByThreadReplies_PrevAndNext(long messageId, long threadId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByThreadReplies(long threadId)
threadId
- the thread IDpublic static int countByThreadReplies(long threadId)
threadId
- the thread IDpublic static List<MBMessage> findByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static List<MBMessage> findByG_U(long groupId, long userId, 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 MBMessageModelImpl
. 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 IDuserId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByG_U(long groupId, long userId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDuserId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByG_U(long groupId, long userId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDuserId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByG_U_First(long groupId, long userId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_U_First(long groupId, long userId, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByG_U_Last(long groupId, long userId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_U_Last(long groupId, long userId, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByG_U_PrevAndNext(long messageId, long groupId, long userId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> filterFindByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static List<MBMessage> filterFindByG_U(long groupId, long userId, 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 MBMessageModelImpl
. 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 IDuserId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDuserId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBMessage[] filterFindByG_U_PrevAndNext(long messageId, long groupId, long userId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static int countByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static int filterCountByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static List<MBMessage> findByG_C(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByG_C_First(long groupId, long categoryId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_C_First(long groupId, long categoryId, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByG_C_Last(long groupId, long categoryId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_C_Last(long groupId, long categoryId, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByG_C_PrevAndNext(long messageId, long groupId, long categoryId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> filterFindByG_C(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> filterFindByG_C(long groupId, long categoryId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBMessage[] filterFindByG_C_PrevAndNext(long messageId, long groupId, long categoryId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic 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 filterCountByG_C(long groupId, long categoryId)
groupId
- the group IDcategoryId
- the category IDpublic static List<MBMessage> findByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByG_S(long groupId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByG_S(long groupId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByG_S_First(long groupId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_S_First(long groupId, int status, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByG_S_Last(long groupId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_S_Last(long groupId, int status, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByG_S_PrevAndNext(long messageId, long groupId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> filterFindByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> filterFindByG_S(long groupId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBMessage[] filterFindByG_S_PrevAndNext(long messageId, long groupId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message 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<MBMessage> findByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static List<MBMessage> findByC_S(long companyId, 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 MBMessageModelImpl
. 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.
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByC_S(long companyId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByC_S(long companyId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByC_S_First(long companyId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByC_S_First(long companyId, int status, OrderByComparator<MBMessage> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByC_S_Last(long companyId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByC_S_Last(long companyId, int status, OrderByComparator<MBMessage> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByC_S_PrevAndNext(long messageId, long companyId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagecompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static int countByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static List<MBMessage> findByU_C(long userId, long classNameId)
userId
- the user IDclassNameId
- the class name IDpublic static List<MBMessage> findByU_C(long userId, long classNameId, 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByU_C(long userId, long classNameId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByU_C(long userId, long classNameId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByU_C_First(long userId, long classNameId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByU_C_First(long userId, long classNameId, OrderByComparator<MBMessage> orderByComparator)
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByU_C_Last(long userId, long classNameId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByU_C_Last(long userId, long classNameId, OrderByComparator<MBMessage> orderByComparator)
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByU_C_PrevAndNext(long messageId, long userId, long classNameId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messageuserId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> findByU_C(long userId, long[] classNameIds)
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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameIds
- the class name IDspublic static List<MBMessage> findByU_C(long userId, long[] classNameIds, 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameIds
- the class name IDsstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByU_C(long userId, long[] classNameIds, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameIds
- the class name IDsstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByU_C(long userId, long[] classNameIds, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeByU_C(long userId, long classNameId)
userId
- the user IDclassNameId
- the class name IDpublic static int countByU_C(long userId, long classNameId)
userId
- the user IDclassNameId
- the class name IDpublic static int countByU_C(long userId, long[] classNameIds)
userId
- the user IDclassNameIds
- the class name IDspublic static List<MBMessage> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static List<MBMessage> findByC_C(long classNameId, long classPK, 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 MBMessageModelImpl
. 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.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByC_C_First(long classNameId, long classPK, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByC_C_First(long classNameId, long classPK, OrderByComparator<MBMessage> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByC_C_Last(long classNameId, long classPK, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByC_C_Last(long classNameId, long classPK, OrderByComparator<MBMessage> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByC_C_PrevAndNext(long messageId, long classNameId, long classPK, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messageclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static int countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static List<MBMessage> findByT_P(long threadId, long parentMessageId)
threadId
- the thread IDparentMessageId
- the parent message IDpublic static List<MBMessage> findByT_P(long threadId, long parentMessageId, 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 MBMessageModelImpl
. 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.
threadId
- the thread IDparentMessageId
- the parent message IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDparentMessageId
- the parent message IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDparentMessageId
- the parent message IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByT_P_First(long threadId, long parentMessageId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByT_P_First(long threadId, long parentMessageId, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByT_P_Last(long threadId, long parentMessageId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByT_P_Last(long threadId, long parentMessageId, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByT_P_PrevAndNext(long messageId, long threadId, long parentMessageId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByT_P(long threadId, long parentMessageId)
threadId
- the thread IDparentMessageId
- the parent message IDpublic static int countByT_P(long threadId, long parentMessageId)
threadId
- the thread IDparentMessageId
- the parent message IDpublic static List<MBMessage> findByT_A(long threadId, boolean answer)
threadId
- the thread IDanswer
- the answerpublic static List<MBMessage> findByT_A(long threadId, boolean answer, 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 MBMessageModelImpl
. 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.
threadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByT_A(long threadId, boolean answer, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByT_A(long threadId, boolean answer, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByT_A_First(long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByT_A_First(long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByT_A_Last(long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByT_A_Last(long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByT_A_PrevAndNext(long messageId, long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByT_A(long threadId, boolean answer)
threadId
- the thread IDanswer
- the answerpublic static int countByT_A(long threadId, boolean answer)
threadId
- the thread IDanswer
- the answerpublic static List<MBMessage> findByT_S(long threadId, int status)
threadId
- the thread IDstatus
- the statuspublic static List<MBMessage> findByT_S(long threadId, 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByT_S(long threadId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByT_S(long threadId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByT_S_First(long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByT_S_First(long threadId, int status, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByT_S_Last(long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByT_S_Last(long threadId, int status, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByT_S_PrevAndNext(long messageId, long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByT_S(long threadId, int status)
threadId
- the thread IDstatus
- the statuspublic static int countByT_S(long threadId, int status)
threadId
- the thread IDstatus
- the statuspublic static List<MBMessage> findByT_notS(long threadId, int status)
threadId
- the thread IDstatus
- the statuspublic static List<MBMessage> findByT_notS(long threadId, 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByT_notS(long threadId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByT_notS(long threadId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByT_notS_First(long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByT_notS_First(long threadId, int status, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByT_notS_Last(long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByT_notS_Last(long threadId, int status, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByT_notS_PrevAndNext(long messageId, long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByT_notS(long threadId, int status)
threadId
- the thread IDstatus
- the statuspublic static int countByT_notS(long threadId, int status)
threadId
- the thread IDstatus
- the statuspublic static List<MBMessage> findByTR_S(long threadId, int status)
threadId
- the thread IDstatus
- the statuspublic static List<MBMessage> findByTR_S(long threadId, 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByTR_S(long threadId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByTR_S(long threadId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByTR_S_First(long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByTR_S_First(long threadId, int status, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByTR_S_Last(long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByTR_S_Last(long threadId, int status, OrderByComparator<MBMessage> orderByComparator)
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByTR_S_PrevAndNext(long messageId, long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByTR_S(long threadId, int status)
threadId
- the thread IDstatus
- the statuspublic static int countByTR_S(long threadId, int status)
threadId
- the thread IDstatus
- the statuspublic static List<MBMessage> findByG_U_S(long groupId, long userId, int status)
groupId
- the group IDuserId
- the user IDstatus
- the statuspublic static List<MBMessage> findByG_U_S(long groupId, long userId, 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 MBMessageModelImpl
. 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 IDuserId
- the user IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDuserId
- the user IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDuserId
- the user IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByG_U_S_First(long groupId, long userId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_U_S_First(long groupId, long userId, int status, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByG_U_S_Last(long groupId, long userId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_U_S_Last(long groupId, long userId, int status, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByG_U_S_PrevAndNext(long messageId, long groupId, long userId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> filterFindByG_U_S(long groupId, long userId, int status)
groupId
- the group IDuserId
- the user IDstatus
- the statuspublic static List<MBMessage> filterFindByG_U_S(long groupId, long userId, 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 MBMessageModelImpl
. 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 IDuserId
- the user IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> filterFindByG_U_S(long groupId, long userId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDuserId
- the user IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBMessage[] filterFindByG_U_S_PrevAndNext(long messageId, long groupId, long userId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByG_U_S(long groupId, long userId, int status)
groupId
- the group IDuserId
- the user IDstatus
- the statuspublic static int countByG_U_S(long groupId, long userId, int status)
groupId
- the group IDuserId
- the user IDstatus
- the statuspublic static int filterCountByG_U_S(long groupId, long userId, int status)
groupId
- the group IDuserId
- the user IDstatus
- the statuspublic static List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDpublic static List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByG_C_T_First(long groupId, long categoryId, long threadId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_C_T_First(long groupId, long categoryId, long threadId, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByG_C_T_Last(long groupId, long categoryId, long threadId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_C_T_Last(long groupId, long categoryId, long threadId, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByG_C_T_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDpublic static List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId, 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBMessage[] filterFindByG_C_T_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByG_C_T(long groupId, long categoryId, long threadId)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDpublic static int countByG_C_T(long groupId, long categoryId, long threadId)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDpublic static int filterCountByG_C_T(long groupId, long categoryId, long threadId)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDpublic static List<MBMessage> findByG_C_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator<MBMessage> 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 message could not be foundpublic static MBMessage findByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator<MBMessage> 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 message could not be foundpublic static MBMessage[] findByG_C_S_PrevAndNext(long messageId, long groupId, long categoryId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBMessage[] filterFindByG_C_S_PrevAndNext(long messageId, long groupId, long categoryId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic 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 filterCountByG_C_S(long groupId, long categoryId, int status)
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic static List<MBMessage> findByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkpublic static List<MBMessage> findByU_C_C(long userId, long classNameId, long classPK, 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByU_C_C_First(long userId, long classNameId, long classPK, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByU_C_C_First(long userId, long classNameId, long classPK, OrderByComparator<MBMessage> orderByComparator)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByU_C_C_Last(long userId, long classNameId, long classPK, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByU_C_C_Last(long userId, long classNameId, long classPK, OrderByComparator<MBMessage> orderByComparator)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByU_C_C_PrevAndNext(long messageId, long userId, long classNameId, long classPK, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messageuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkpublic static int countByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkpublic static List<MBMessage> findByU_C_S(long userId, long classNameId, int status)
userId
- the user IDclassNameId
- the class name IDstatus
- the statuspublic static List<MBMessage> findByU_C_S(long userId, long classNameId, 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByU_C_S(long userId, long classNameId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByU_C_S(long userId, long classNameId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByU_C_S_First(long userId, long classNameId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByU_C_S_First(long userId, long classNameId, int status, OrderByComparator<MBMessage> orderByComparator)
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByU_C_S_Last(long userId, long classNameId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByU_C_S_Last(long userId, long classNameId, int status, OrderByComparator<MBMessage> orderByComparator)
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByU_C_S_PrevAndNext(long messageId, long userId, long classNameId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messageuserId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> findByU_C_S(long userId, long[] classNameIds, 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameIds
- the class name IDsstatus
- the statuspublic static List<MBMessage> findByU_C_S(long userId, long[] classNameIds, 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameIds
- the class name IDsstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByU_C_S(long userId, long[] classNameIds, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameIds
- the class name IDsstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByU_C_S(long userId, long[] classNameIds, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeByU_C_S(long userId, long classNameId, int status)
userId
- the user IDclassNameId
- the class name IDstatus
- the statuspublic static int countByU_C_S(long userId, long classNameId, int status)
userId
- the user IDclassNameId
- the class name IDstatus
- the statuspublic static int countByU_C_S(long userId, long[] classNameIds, int status)
userId
- the user IDclassNameIds
- the class name IDsstatus
- the statuspublic static List<MBMessage> findByC_C_S(long classNameId, long classPK, int status)
classNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic static List<MBMessage> findByC_C_S(long classNameId, long classPK, 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 MBMessageModelImpl
. 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.
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByC_C_S_First(long classNameId, long classPK, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByC_C_S_First(long classNameId, long classPK, int status, OrderByComparator<MBMessage> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByC_C_S_Last(long classNameId, long classPK, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByC_C_S_Last(long classNameId, long classPK, int status, OrderByComparator<MBMessage> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByC_C_S_PrevAndNext(long messageId, long classNameId, long classPK, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messageclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByC_C_S(long classNameId, long classPK, int status)
classNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic static int countByC_C_S(long classNameId, long classPK, int status)
classNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic static List<MBMessage> findByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerpublic static List<MBMessage> findByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByG_C_T_A_First(long groupId, long categoryId, long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_C_T_A_First(long groupId, long categoryId, long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByG_C_T_A_Last(long groupId, long categoryId, long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_C_T_A_Last(long groupId, long categoryId, long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByG_C_T_A_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> filterFindByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerpublic static List<MBMessage> filterFindByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> filterFindByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBMessage[] filterFindByG_C_T_A_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, boolean answer, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerpublic static int countByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerpublic static int filterCountByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerpublic static List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statuspublic static List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByG_C_T_S_First(long groupId, long categoryId, long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_C_T_S_First(long groupId, long categoryId, long threadId, int status, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByG_C_T_S_Last(long groupId, long categoryId, long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByG_C_T_S_Last(long groupId, long categoryId, long threadId, int status, OrderByComparator<MBMessage> orderByComparator)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByG_C_T_S_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static List<MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statuspublic static List<MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 IDthreadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static MBMessage[] filterFindByG_C_T_S_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByG_C_T_S(long groupId, long categoryId, long threadId, int status)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statuspublic static int countByG_C_T_S(long groupId, long categoryId, long threadId, int status)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statuspublic static int filterCountByG_C_T_S(long groupId, long categoryId, long threadId, int status)
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statuspublic static List<MBMessage> findByU_C_C_S(long userId, long classNameId, long classPK, int status)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic static List<MBMessage> findByU_C_C_S(long userId, long classNameId, long classPK, 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findByU_C_C_S(long userId, long classNameId, long classPK, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findByU_C_C_S(long userId, long classNameId, long classPK, int status, int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MBMessage findByU_C_C_S_First(long userId, long classNameId, long classPK, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByU_C_C_S_First(long userId, long classNameId, long classPK, int status, OrderByComparator<MBMessage> orderByComparator)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage findByU_C_C_S_Last(long userId, long classNameId, long classPK, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a matching message-boards message could not be foundpublic static MBMessage fetchByU_C_C_S_Last(long userId, long classNameId, long classPK, int status, OrderByComparator<MBMessage> orderByComparator)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic static MBMessage[] findByU_C_C_S_PrevAndNext(long messageId, long userId, long classNameId, long classPK, int status, OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException
messageId
- the primary key of the current message-boards messageuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static void removeByU_C_C_S(long userId, long classNameId, long classPK, int status)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic static int countByU_C_C_S(long userId, long classNameId, long classPK, int status)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic static void cacheResult(MBMessage mbMessage)
mbMessage
- the message-boards messagepublic static void cacheResult(List<MBMessage> mbMessages)
mbMessages
- the message-boards messagespublic static MBMessage create(long messageId)
messageId
- the primary key for the new message-boards messagepublic static MBMessage remove(long messageId) throws NoSuchMessageException
messageId
- the primary key of the message-boards messageNoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static MBMessage findByPrimaryKey(long messageId) throws NoSuchMessageException
NoSuchMessageException
if it could not be found.messageId
- the primary key of the message-boards messageNoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic static MBMessage fetchByPrimaryKey(long messageId)
null
if it could not be found.messageId
- the primary key of the message-boards messagenull
if a message-boards message with the primary key could not be foundpublic static Map<Serializable,MBMessage> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
public static List<MBMessage> findAll()
public static List<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)public static List<MBMessage> findAll(int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<MBMessage> findAll(int start, int end, OrderByComparator<MBMessage> 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 MBMessageModelImpl
. 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 messagesend
- the upper bound of the range of message-boards messages (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 MBMessagePersistence getPersistence()