Class MBMessageUtil
com.liferay.message.boards.service.persistence.impl.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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(MBMessage mbMessage) Caches the message-boards message in the entity cache if it is enabled.static void
cacheResult
(List<MBMessage> mbMessages) Caches the message-boards messages in the entity cache if it is enabled.static void
static void
clearCache
(MBMessage mbMessage) static int
countAll()
Returns the number of message-boards messages.static int
countByC_C
(long classNameId, long classPK) Returns the number of message-boards messages where classNameId = ? and classPK = ?.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_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
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of message-boards messages where externalReferenceCode = ? and groupId = ?.static int
countByG_C
(long groupId, long categoryId) Returns the number of message-boards messages where groupId = ? and categoryId = ?.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
(long groupId, long categoryId, long threadId) Returns the number of message-boards messages where groupId = ? and categoryId = ? and threadId = ?.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_S
(long groupId, int status) Returns the number of message-boards messages where groupId = ? and status = ?.static int
countByG_U
(long groupId, long userId) Returns the number of message-boards messages where groupId = ? and userId = ?.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_US
(long groupId, String urlSubject) Returns the number of message-boards messages where groupId = ? and urlSubject = ?.static int
countByGroupId
(long groupId) Returns the number of message-boards messages where groupId = ?.static int
countByP_S
(long parentMessageId, int status) Returns the number of message-boards messages where parentMessageId = ? and status = ?.static int
countByParentMessageId
(long parentMessageId) Returns the number of message-boards messages where parentMessageId = ?.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
countByThreadIdReplies
(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
(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
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_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_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
countByUserId
(long userId) Returns the number of message-boards messages where userId = ?.static int
countByUuid
(String uuid) Returns the number of message-boards messages where uuid = ?.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 long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where companyId = ? and status = ?.static MBMessage
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where companyId = ?.static MBMessage
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where companyId = ?.static MBMessage
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the message-boards message where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.static MBMessage
fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the message-boards message where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static MBMessage
fetchByG_C_First
(long groupId, long categoryId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.static MBMessage
fetchByG_US
(long groupId, String urlSubject) Returns the message-boards message where groupId = ? and urlSubject = ? or returnsnull
if it could not be found.static MBMessage
fetchByG_US
(long groupId, String urlSubject, boolean useFinderCache) Returns the message-boards message where groupId = ? and urlSubject = ? or returnsnull
if it could not be found, optionally using the finder cache.static MBMessage
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ?.static MBMessage
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ?.static MBMessage
fetchByP_S_First
(long parentMessageId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where parentMessageId = ? and status = ?.static MBMessage
fetchByP_S_Last
(long parentMessageId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where parentMessageId = ? and status = ?.static MBMessage
fetchByParentMessageId_First
(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where parentMessageId = ?.static MBMessage
fetchByParentMessageId_Last
(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where parentMessageId = ?.static MBMessage
fetchByPrimaryKey
(long messageId) Returns the message-boards message with the primary key or returnsnull
if it could not be found.static Map<Serializable,
MBMessage> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static MBMessage
fetchByT_A_First
(long threadId, boolean answer, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ? and status = ?.static MBMessage
fetchByThreadId_First
(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ?.static MBMessage
fetchByThreadId_Last
(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ?.static MBMessage
fetchByThreadIdReplies_First
(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ?.static MBMessage
fetchByThreadIdReplies_Last
(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ?.static MBMessage
fetchByTR_S_First
(long threadId, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where userId = ?.static MBMessage
fetchByUserId_Last
(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where userId = ?.static MBMessage
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where uuid = ? and companyId = ?.static MBMessage
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.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 returnsnull
if it could not be found.static MBMessage
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the message-boards message where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static MBMessage
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where uuid = ?.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_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
(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_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_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
(long groupId, long userId) Returns the number of message-boards messages that the user has permission to view where groupId = ? and userId = ?.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
filterCountByGroupId
(long groupId) Returns the number of message-boards messages that the user has permission to view where groupId = ?.filterFindByG_C
(long groupId, long categoryId) Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ?.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 = ?.filterFindByG_C
(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.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_C_PrevAndNext
(long messageId, long groupId, long categoryId, com.liferay.portal.kernel.util.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 = ?.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 = ?.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 = ?.filterFindByG_C_S
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.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_S_PrevAndNext
(long messageId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.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 = ?.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 = ?.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 = ?.filterFindByG_C_T
(long groupId, long categoryId, long threadId, int start, int end, com.liferay.portal.kernel.util.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 = ?.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 = ?.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 = ?.filterFindByG_C_T_A
(long groupId, long categoryId, long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.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_A_PrevAndNext
(long messageId, long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.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 MBMessage[]
filterFindByG_C_T_PrevAndNext
(long messageId, long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.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 = ?.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 = ?.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 = ?.filterFindByG_C_T_S
(long groupId, long categoryId, long threadId, int status, int start, int end, com.liferay.portal.kernel.util.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 MBMessage[]
filterFindByG_C_T_S_PrevAndNext
(long messageId, long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.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 = ?.filterFindByG_S
(long groupId, int status) Returns all the message-boards messages that the user has permission to view where groupId = ? and status = ?.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 = ?.filterFindByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.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_S_PrevAndNext
(long messageId, long groupId, int status, com.liferay.portal.kernel.util.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 = ?.filterFindByG_U
(long groupId, long userId) Returns all the message-boards messages that the user has permission to view where groupId = ? and userId = ?.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 = ?.filterFindByG_U
(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.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[]
filterFindByG_U_PrevAndNext
(long messageId, long groupId, long userId, com.liferay.portal.kernel.util.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 = ?.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 = ?.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 = ?.filterFindByG_U_S
(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.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 MBMessage[]
filterFindByG_U_S_PrevAndNext
(long messageId, long groupId, long userId, int status, com.liferay.portal.kernel.util.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 = ?.filterFindByGroupId
(long groupId) Returns all the message-boards messages that the user has permission to view where groupId = ?.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 = ?.filterFindByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ?.static MBMessage[]
filterFindByGroupId_PrevAndNext
(long messageId, long groupId, com.liferay.portal.kernel.util.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 = ?.findAll()
Returns all the message-boards messages.findAll
(int start, int end) Returns a range of all the message-boards messages.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages.findByC_C
(long classNameId, long classPK) Returns all the message-boards messages where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end) Returns a range of all the message-boards messages where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ?.static MBMessage
findByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where classNameId = ? and classPK = ?.findByC_C_S
(long classNameId, long classPK, int status) Returns all the message-boards messages where classNameId = ? and classPK = ? and status = ?.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 = ?.findByC_C_S
(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?.findByC_C_S
(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?.static MBMessage
findByC_C_S_First
(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 = ?.findByC_S
(long companyId, int status) Returns all the message-boards messages where companyId = ? and status = ?.findByC_S
(long companyId, int status, int start, int end) Returns a range of all the message-boards messages where companyId = ? and status = ?.findByC_S
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where companyId = ? and status = ?.findByC_S
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where companyId = ? and status = ?.static MBMessage
findByC_S_First
(long companyId, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where companyId = ? and status = ?.findByCompanyId
(long companyId) Returns all the message-boards messages where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the message-boards messages where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where companyId = ?.static MBMessage
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where companyId = ?.static MBMessage
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where companyId = ?.static MBMessage[]
findByCompanyId_PrevAndNext
(long messageId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where companyId = ?.static MBMessage
findByERC_G
(String externalReferenceCode, long groupId) Returns the message-boards message where externalReferenceCode = ? and groupId = ? or throws aNoSuchMessageException
if it could not be found.findByG_C
(long groupId, long categoryId) Returns all the message-boards messages where groupId = ? and categoryId = ?.findByG_C
(long groupId, long categoryId, int start, int end) Returns a range of all the message-boards messages where groupId = ? and categoryId = ?.findByG_C
(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ?.findByG_C
(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ?.static MBMessage
findByG_C_First
(long groupId, long categoryId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ?.findByG_C_S
(long groupId, long categoryId, int status) Returns all the message-boards messages where groupId = ? and categoryId = ? and status = ?.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 = ?.findByG_C_S
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?.findByG_C_S
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?.static MBMessage
findByG_C_S_First
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 = ?.findByG_C_T
(long groupId, long categoryId, long threadId) Returns all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.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 = ?.findByG_C_T
(long groupId, long categoryId, long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.findByG_C_T
(long groupId, long categoryId, long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.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 = ?.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 = ?.findByG_C_T_A
(long groupId, long categoryId, long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.findByG_C_T_A
(long groupId, long categoryId, long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.static MBMessage
findByG_C_T_A_First
(long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 MBMessage
findByG_C_T_First
(long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 = ?.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 = ?.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 = ?.findByG_C_T_S
(long groupId, long categoryId, long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.findByG_C_T_S
(long groupId, long categoryId, long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.static MBMessage
findByG_C_T_S_First
(long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 = ?.findByG_S
(long groupId, int status) Returns all the message-boards messages where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end) Returns a range of all the message-boards messages where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and status = ?.static MBMessage
findByG_S_First
(long groupId, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and status = ?.findByG_U
(long groupId, long userId) Returns all the message-boards messages where groupId = ? and userId = ?.findByG_U
(long groupId, long userId, int start, int end) Returns a range of all the message-boards messages where groupId = ? and userId = ?.findByG_U
(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and userId = ?.findByG_U
(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and userId = ?.static MBMessage
findByG_U_First
(long groupId, long userId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and userId = ?.findByG_U_S
(long groupId, long userId, int status) Returns all the message-boards messages where groupId = ? and userId = ? and status = ?.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 = ?.findByG_U_S
(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?.findByG_U_S
(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?.static MBMessage
findByG_U_S_First
(long groupId, long userId, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 MBMessage
findByG_US
(long groupId, String urlSubject) Returns the message-boards message where groupId = ? and urlSubject = ? or throws aNoSuchMessageException
if it could not be found.findByGroupId
(long groupId) Returns all the message-boards messages where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the message-boards messages where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ?.static MBMessage
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ?.static MBMessage
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ?.static MBMessage[]
findByGroupId_PrevAndNext
(long messageId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ?.findByP_S
(long parentMessageId, int status) Returns all the message-boards messages where parentMessageId = ? and status = ?.findByP_S
(long parentMessageId, int status, int start, int end) Returns a range of all the message-boards messages where parentMessageId = ? and status = ?.findByP_S
(long parentMessageId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where parentMessageId = ? and status = ?.findByP_S
(long parentMessageId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where parentMessageId = ? and status = ?.static MBMessage
findByP_S_First
(long parentMessageId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where parentMessageId = ? and status = ?.static MBMessage
findByP_S_Last
(long parentMessageId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where parentMessageId = ? and status = ?.static MBMessage[]
findByP_S_PrevAndNext
(long messageId, long parentMessageId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where parentMessageId = ? and status = ?.findByParentMessageId
(long parentMessageId) Returns all the message-boards messages where parentMessageId = ?.findByParentMessageId
(long parentMessageId, int start, int end) Returns a range of all the message-boards messages where parentMessageId = ?.findByParentMessageId
(long parentMessageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where parentMessageId = ?.findByParentMessageId
(long parentMessageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where parentMessageId = ?.static MBMessage
findByParentMessageId_First
(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where parentMessageId = ?.static MBMessage
findByParentMessageId_Last
(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where parentMessageId = ?.static MBMessage[]
findByParentMessageId_PrevAndNext
(long messageId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where parentMessageId = ?.static MBMessage
findByPrimaryKey
(long messageId) Returns the message-boards message with the primary key or throws aNoSuchMessageException
if it could not be found.findByT_A
(long threadId, boolean answer) Returns all the message-boards messages where threadId = ? and answer = ?.findByT_A
(long threadId, boolean answer, int start, int end) Returns a range of all the message-boards messages where threadId = ? and answer = ?.findByT_A
(long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ? and answer = ?.findByT_A
(long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ? and answer = ?.static MBMessage
findByT_A_First
(long threadId, boolean answer, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and answer = ?.findByT_NotS
(long threadId, int status) Returns all the message-boards messages where threadId = ? and status ≠ ?.findByT_NotS
(long threadId, int status, int start, int end) Returns a range of all the message-boards messages where threadId = ? and status ≠ ?.findByT_NotS
(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ? and status ≠ ?.findByT_NotS
(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ? and status ≠ ?.static MBMessage
findByT_NotS_First
(long threadId, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status ≠ ?.findByT_P
(long threadId, long parentMessageId) Returns all the message-boards messages where threadId = ? and parentMessageId = ?.findByT_P
(long threadId, long parentMessageId, int start, int end) Returns a range of all the message-boards messages where threadId = ? and parentMessageId = ?.findByT_P
(long threadId, long parentMessageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ? and parentMessageId = ?.findByT_P
(long threadId, long parentMessageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ? and parentMessageId = ?.static MBMessage
findByT_P_First
(long threadId, long parentMessageId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and parentMessageId = ?.findByT_S
(long threadId, int status) Returns all the message-boards messages where threadId = ? and status = ?.findByT_S
(long threadId, int status, int start, int end) Returns a range of all the message-boards messages where threadId = ? and status = ?.findByT_S
(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.findByT_S
(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.static MBMessage
findByT_S_First
(long threadId, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?.findByThreadId
(long threadId) Returns all the message-boards messages where threadId = ?.findByThreadId
(long threadId, int start, int end) Returns a range of all the message-boards messages where threadId = ?.findByThreadId
(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ?.findByThreadId
(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ?.static MBMessage
findByThreadId_First
(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ?.static MBMessage
findByThreadId_Last
(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ?.static MBMessage[]
findByThreadId_PrevAndNext
(long messageId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ?.findByThreadIdReplies
(long threadId) Returns all the message-boards messages where threadId = ?.findByThreadIdReplies
(long threadId, int start, int end) Returns a range of all the message-boards messages where threadId = ?.findByThreadIdReplies
(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ?.findByThreadIdReplies
(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ?.static MBMessage
findByThreadIdReplies_First
(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ?.static MBMessage
findByThreadIdReplies_Last
(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ?.static MBMessage[]
findByThreadIdReplies_PrevAndNext
(long messageId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ?.findByTR_S
(long threadId, int status) Returns all the message-boards messages where threadId = ? and status = ?.findByTR_S
(long threadId, int status, int start, int end) Returns a range of all the message-boards messages where threadId = ? and status = ?.findByTR_S
(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.findByTR_S
(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.static MBMessage
findByTR_S_First
(long threadId, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?.findByU_C
(long userId, long classNameId) Returns all the message-boards messages where userId = ? and classNameId = ?.findByU_C
(long userId, long[] classNameIds) Returns all the message-boards messages where userId = ? and classNameId = any ?.findByU_C
(long userId, long[] classNameIds, int start, int end) Returns a range of all the message-boards messages where userId = ? and classNameId = any ?.findByU_C
(long userId, long[] classNameIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = any ?.findByU_C
(long userId, long[] classNameIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?, optionally using the finder cache.findByU_C
(long userId, long classNameId, int start, int end) Returns a range of all the message-boards messages where userId = ? and classNameId = ?.findByU_C
(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?.findByU_C
(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?.findByU_C_C
(long userId, long classNameId, long classPK) Returns all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.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 = ?.findByU_C_C
(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.findByU_C_C
(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.static MBMessage
findByU_C_C_First
(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 = ?.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 = ?.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 = ?.findByU_C_C_S
(long userId, long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.findByU_C_C_S
(long userId, long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.static MBMessage
findByU_C_C_S_First
(long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 MBMessage
findByU_C_First
(long userId, long classNameId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ? and classNameId = ?.findByU_C_S
(long userId, long[] classNameIds, int status) Returns all the message-boards messages where userId = ? and classNameId = any ? and status = ?.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 = ?.findByU_C_S
(long userId, long[] classNameIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = any ? and status = ?.findByU_C_S
(long userId, long[] classNameIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?, optionally using the finder cache.findByU_C_S
(long userId, long classNameId, int status) Returns all the message-boards messages where userId = ? and classNameId = ? and status = ?.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 = ?.findByU_C_S
(long userId, long classNameId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?.findByU_C_S
(long userId, long classNameId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?.static MBMessage
findByU_C_S_First
(long userId, long classNameId, int status, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 = ?.findByUserId
(long userId) Returns all the message-boards messages where userId = ?.findByUserId
(long userId, int start, int end) Returns a range of all the message-boards messages where userId = ?.findByUserId
(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ?.findByUserId
(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ?.static MBMessage
findByUserId_First
(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where userId = ?.static MBMessage
findByUserId_Last
(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where userId = ?.static MBMessage[]
findByUserId_PrevAndNext
(long messageId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ?.findByUuid
(String uuid) Returns all the message-boards messages where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the message-boards messages where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the message-boards messages where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the message-boards messages where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where uuid = ? and companyId = ?.static MBMessage
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.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 MBMessage
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.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 aNoSuchMessageException
if it could not be found.static MBMessage
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where uuid = ?.static MBMessage[]
findByUuid_PrevAndNext
(long messageId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the message-boards messages before and after the current message-boards message in the ordered set where uuid = ?.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) static MBMessagePersistence
static MBMessage
remove
(long messageId) Removes the message-boards message with the primary key from the database.static void
Removes all the message-boards messages 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_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_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 MBMessage
removeByERC_G
(String externalReferenceCode, long groupId) Removes the message-boards message where externalReferenceCode = ? and groupId = ? 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_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
(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_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_S
(long groupId, int status) Removes all the message-boards messages where groupId = ? 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
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 MBMessage
removeByG_US
(long groupId, String urlSubject) Removes the message-boards message where groupId = ? and urlSubject = ? from the database.static void
removeByGroupId
(long groupId) Removes all the message-boards messages where groupId = ? from the database.static void
removeByP_S
(long parentMessageId, int status) Removes all the message-boards messages where parentMessageId = ? and status = ? from the database.static void
removeByParentMessageId
(long parentMessageId) Removes all the message-boards messages where parentMessageId = ? 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
removeByThreadIdReplies
(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
(long userId, long classNameId) Removes all the message-boards messages where userId = ? and classNameId = ? 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_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_S
(long userId, long classNameId, int status) Removes all the message-boards messages where userId = ? and classNameId = ? and status = ? from the database.static void
removeByUserId
(long userId) Removes all the message-boards messages where userId = ? from the database.static void
removeByUuid
(String uuid) Removes all the message-boards messages where uuid = ? 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
setPersistence
(MBMessagePersistence persistence) static MBMessage
static MBMessage
static MBMessage
updateImpl
(MBMessage mbMessage)
-
Constructor Details
-
MBMessageUtil
public MBMessageUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<MBMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<MBMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<MBMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static MBMessage update(MBMessage mbMessage, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the message-boards messages where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching message-boards messages
-
findByUuid
Returns a range of all the message-boards messages where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByUuid
public static List<MBMessage> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByUuid
public static List<MBMessage> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByUuid_First
public static MBMessage findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByUuid_First
public static MBMessage fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByUuid_Last
public static MBMessage findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByUuid_Last
public static MBMessage fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByUuid_PrevAndNext
public static MBMessage[] findByUuid_PrevAndNext(long messageId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where uuid = ?.- Parameters:
messageId
- the primary key of the current message-boards messageuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByUuid
Removes all the message-boards messages where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of message-boards messages where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching message-boards messages
-
findByUUID_G
Returns the message-boards message where uuid = ? and groupId = ? or throws aNoSuchMessageException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByUUID_G
Returns the message-boards message where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching message-boards message, or
null
if a matching message-boards message could not be found
-
fetchByUUID_G
Returns the message-boards message where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching message-boards message, or
null
if a matching message-boards message could not be found
-
removeByUUID_G
Removes the message-boards message where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the message-boards message that was removed
- Throws:
NoSuchMessageException
-
countByUUID_G
Returns the number of message-boards messages where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching message-boards messages
-
findByUuid_C
Returns all the message-boards messages where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching message-boards messages
-
findByUuid_C
Returns a range of all the message-boards messages where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByUuid_C
public static List<MBMessage> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByUuid_C
public static List<MBMessage> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByUuid_C_First
public static MBMessage findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByUuid_C_First
public static MBMessage fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByUuid_C_Last
public static MBMessage findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByUuid_C_Last
public static MBMessage fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByUuid_C_PrevAndNext
public static MBMessage[] findByUuid_C_PrevAndNext(long messageId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where uuid = ? and companyId = ?.- Parameters:
messageId
- the primary key of the current message-boards messageuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByUuid_C
Removes all the message-boards messages where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of message-boards messages where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching message-boards messages
-
findByGroupId
Returns all the message-boards messages where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching message-boards messages
-
findByGroupId
Returns a range of all the message-boards messages where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByGroupId
public static List<MBMessage> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByGroupId
public static List<MBMessage> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByGroupId_First
public static MBMessage findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByGroupId_First
public static MBMessage fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByGroupId_Last
public static MBMessage findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByGroupId_Last
public static MBMessage fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByGroupId_PrevAndNext
public static MBMessage[] findByGroupId_PrevAndNext(long messageId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ?.- Parameters:
messageId
- the primary key of the current message-boards messagegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
filterFindByGroupId
Returns all the message-boards messages that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching message-boards messages that the user has permission to view
-
filterFindByGroupId
Returns a range of all the message-boards messages that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages that the user has permission to view
-
filterFindByGroupId
public static List<MBMessage> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public static MBMessage[] filterFindByGroupId_PrevAndNext(long messageId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
messageId
- the primary key of the current message-boards messagegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the message-boards messages where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of message-boards messages where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching message-boards messages
-
filterCountByGroupId
public static int filterCountByGroupId(long groupId) Returns the number of message-boards messages that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching message-boards messages that the user has permission to view
-
findByCompanyId
Returns all the message-boards messages where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching message-boards messages
-
findByCompanyId
Returns a range of all the message-boards messages where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByCompanyId
public static List<MBMessage> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByCompanyId
public static List<MBMessage> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByCompanyId_First
public static MBMessage findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByCompanyId_First
public static MBMessage fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByCompanyId_Last
public static MBMessage findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByCompanyId_Last
public static MBMessage fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByCompanyId_PrevAndNext
public static MBMessage[] findByCompanyId_PrevAndNext(long messageId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where companyId = ?.- Parameters:
messageId
- the primary key of the current message-boards messagecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the message-boards messages where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of message-boards messages where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching message-boards messages
-
findByUserId
Returns all the message-boards messages where userId = ?.- Parameters:
userId
- the user ID- Returns:
- the matching message-boards messages
-
findByUserId
Returns a range of all the message-boards messages where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByUserId
public static List<MBMessage> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByUserId
public static List<MBMessage> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByUserId_First
public static MBMessage findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByUserId_First
public static MBMessage fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByUserId_Last
public static MBMessage findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByUserId_Last
public static MBMessage fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByUserId_PrevAndNext
public static MBMessage[] findByUserId_PrevAndNext(long messageId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ?.- Parameters:
messageId
- the primary key of the current message-boards messageuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByUserId
public static void removeByUserId(long userId) Removes all the message-boards messages where userId = ? from the database.- Parameters:
userId
- the user ID
-
countByUserId
public static int countByUserId(long userId) Returns the number of message-boards messages where userId = ?.- Parameters:
userId
- the user ID- Returns:
- the number of matching message-boards messages
-
findByThreadId
Returns all the message-boards messages where threadId = ?.- Parameters:
threadId
- the thread ID- Returns:
- the matching message-boards messages
-
findByThreadId
Returns a range of all the message-boards messages where threadId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByThreadId
public static List<MBMessage> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByThreadId
public static List<MBMessage> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByThreadId_First
public static MBMessage findByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where threadId = ?.- Parameters:
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByThreadId_First
public static MBMessage fetchByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ?.- Parameters:
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByThreadId_Last
public static MBMessage findByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where threadId = ?.- Parameters:
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByThreadId_Last
public static MBMessage fetchByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ?.- Parameters:
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByThreadId_PrevAndNext
public static MBMessage[] findByThreadId_PrevAndNext(long messageId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ?.- Parameters:
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByThreadId
public static void removeByThreadId(long threadId) Removes all the message-boards messages where threadId = ? from the database.- Parameters:
threadId
- the thread ID
-
countByThreadId
public static int countByThreadId(long threadId) Returns the number of message-boards messages where threadId = ?.- Parameters:
threadId
- the thread ID- Returns:
- the number of matching message-boards messages
-
findByThreadIdReplies
Returns all the message-boards messages where threadId = ?.- Parameters:
threadId
- the thread ID- Returns:
- the matching message-boards messages
-
findByThreadIdReplies
Returns a range of all the message-boards messages where threadId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByThreadIdReplies
public static List<MBMessage> findByThreadIdReplies(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByThreadIdReplies
public static List<MBMessage> findByThreadIdReplies(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByThreadIdReplies_First
public static MBMessage findByThreadIdReplies_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where threadId = ?.- Parameters:
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByThreadIdReplies_First
public static MBMessage fetchByThreadIdReplies_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ?.- Parameters:
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByThreadIdReplies_Last
public static MBMessage findByThreadIdReplies_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where threadId = ?.- Parameters:
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByThreadIdReplies_Last
public static MBMessage fetchByThreadIdReplies_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ?.- Parameters:
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByThreadIdReplies_PrevAndNext
public static MBMessage[] findByThreadIdReplies_PrevAndNext(long messageId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ?.- Parameters:
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByThreadIdReplies
public static void removeByThreadIdReplies(long threadId) Removes all the message-boards messages where threadId = ? from the database.- Parameters:
threadId
- the thread ID
-
countByThreadIdReplies
public static int countByThreadIdReplies(long threadId) Returns the number of message-boards messages where threadId = ?.- Parameters:
threadId
- the thread ID- Returns:
- the number of matching message-boards messages
-
findByParentMessageId
Returns all the message-boards messages where parentMessageId = ?.- Parameters:
parentMessageId
- the parent message ID- Returns:
- the matching message-boards messages
-
findByParentMessageId
Returns a range of all the message-boards messages where parentMessageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
parentMessageId
- 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)- Returns:
- the range of matching message-boards messages
-
findByParentMessageId
public static List<MBMessage> findByParentMessageId(long parentMessageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where parentMessageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
parentMessageId
- 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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByParentMessageId
public static List<MBMessage> findByParentMessageId(long parentMessageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where parentMessageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
parentMessageId
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByParentMessageId_First
public static MBMessage findByParentMessageId_First(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where parentMessageId = ?.- Parameters:
parentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByParentMessageId_First
public static MBMessage fetchByParentMessageId_First(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where parentMessageId = ?.- Parameters:
parentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByParentMessageId_Last
public static MBMessage findByParentMessageId_Last(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where parentMessageId = ?.- Parameters:
parentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByParentMessageId_Last
public static MBMessage fetchByParentMessageId_Last(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where parentMessageId = ?.- Parameters:
parentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByParentMessageId_PrevAndNext
public static MBMessage[] findByParentMessageId_PrevAndNext(long messageId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where parentMessageId = ?.- Parameters:
messageId
- the primary key of the current message-boards messageparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByParentMessageId
public static void removeByParentMessageId(long parentMessageId) Removes all the message-boards messages where parentMessageId = ? from the database.- Parameters:
parentMessageId
- the parent message ID
-
countByParentMessageId
public static int countByParentMessageId(long parentMessageId) Returns the number of message-boards messages where parentMessageId = ?.- Parameters:
parentMessageId
- the parent message ID- Returns:
- the number of matching message-boards messages
-
findByG_U
Returns all the message-boards messages where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the matching message-boards messages
-
findByG_U
Returns a range of all the message-boards messages where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByG_U
public static List<MBMessage> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByG_U
public static List<MBMessage> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByG_U_First
public static MBMessage findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_U_First
public static MBMessage fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_U_Last
public static MBMessage findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_U_Last
public static MBMessage fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_U_PrevAndNext
public static MBMessage[] findByG_U_PrevAndNext(long messageId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and userId = ?.- Parameters:
messageId
- the primary key of the current message-boards messagegroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
filterFindByG_U
Returns all the message-boards messages that the user has permission to view where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the matching message-boards messages that the user has permission to view
-
filterFindByG_U
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages that the user has permission to view
-
filterFindByG_U
public static List<MBMessage> filterFindByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages that the user has permission to view
-
filterFindByG_U_PrevAndNext
public static MBMessage[] filterFindByG_U_PrevAndNext(long messageId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
messageId
- the primary key of the current message-boards messagegroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByG_U
public static void removeByG_U(long groupId, long userId) Removes all the message-boards messages where groupId = ? and userId = ? from the database.- Parameters:
groupId
- the group IDuserId
- the user ID
-
countByG_U
public static int countByG_U(long groupId, long userId) Returns the number of message-boards messages where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the number of matching message-boards messages
-
filterCountByG_U
public 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 = ?.- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the number of matching message-boards messages that the user has permission to view
-
findByG_C
Returns all the message-boards messages where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the matching message-boards messages
-
findByG_C
Returns a range of all the message-boards messages where groupId = ? and categoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByG_C
public static List<MBMessage> findByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByG_C
public static List<MBMessage> findByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByG_C_First
public static MBMessage findByG_C_First(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_C_First
public static MBMessage fetchByG_C_First(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_C_Last
public static MBMessage findByG_C_Last(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_C_Last
public static MBMessage fetchByG_C_Last(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_C_PrevAndNext
public static MBMessage[] findByG_C_PrevAndNext(long messageId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ?.- Parameters:
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
filterFindByG_C
Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the matching message-boards messages that the user has permission to view
-
filterFindByG_C
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages that the user has permission to view
-
filterFindByG_C
public static List<MBMessage> filterFindByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and categoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages that the user has permission to view
-
filterFindByG_C_PrevAndNext
public static MBMessage[] filterFindByG_C_PrevAndNext(long messageId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByG_C
public static void removeByG_C(long groupId, long categoryId) Removes all the message-boards messages where groupId = ? and categoryId = ? from the database.- Parameters:
groupId
- the group IDcategoryId
- the category ID
-
countByG_C
public static int countByG_C(long groupId, long categoryId) Returns the number of message-boards messages where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the number of matching message-boards messages
-
filterCountByG_C
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the number of matching message-boards messages that the user has permission to view
-
findByG_US
Returns the message-boards message where groupId = ? and urlSubject = ? or throws aNoSuchMessageException
if it could not be found.- Parameters:
groupId
- the group IDurlSubject
- the url subject- Returns:
- the matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_US
Returns the message-boards message where groupId = ? and urlSubject = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDurlSubject
- the url subject- Returns:
- the matching message-boards message, or
null
if a matching message-boards message could not be found
-
fetchByG_US
Returns the message-boards message where groupId = ? and urlSubject = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDurlSubject
- the url subjectuseFinderCache
- whether to use the finder cache- Returns:
- the matching message-boards message, or
null
if a matching message-boards message could not be found
-
removeByG_US
Removes the message-boards message where groupId = ? and urlSubject = ? from the database.- Parameters:
groupId
- the group IDurlSubject
- the url subject- Returns:
- the message-boards message that was removed
- Throws:
NoSuchMessageException
-
countByG_US
Returns the number of message-boards messages where groupId = ? and urlSubject = ?.- Parameters:
groupId
- the group IDurlSubject
- the url subject- Returns:
- the number of matching message-boards messages
-
findByG_S
Returns all the message-boards messages where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the matching message-boards messages
-
findByG_S
Returns a range of all the message-boards messages where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByG_S
public static List<MBMessage> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByG_S
public static List<MBMessage> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByG_S_First
public static MBMessage findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_S_First
public static MBMessage fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_S_Last
public static MBMessage findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_S_Last
public static MBMessage fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_S_PrevAndNext
public static MBMessage[] findByG_S_PrevAndNext(long messageId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and status = ?.- Parameters:
messageId
- the primary key of the current message-boards messagegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
filterFindByG_S
Returns all the message-boards messages that the user has permission to view where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the matching message-boards messages that the user has permission to view
-
filterFindByG_S
Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages that the user has permission to view
-
filterFindByG_S
public static List<MBMessage> filterFindByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages that the user has permission to view
-
filterFindByG_S_PrevAndNext
public static MBMessage[] filterFindByG_S_PrevAndNext(long messageId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
messageId
- the primary key of the current message-boards messagegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByG_S
public static void removeByG_S(long groupId, int status) Removes all the message-boards messages where groupId = ? and status = ? from the database.- Parameters:
groupId
- the group IDstatus
- the status
-
countByG_S
public static int countByG_S(long groupId, int status) Returns the number of message-boards messages where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the number of matching message-boards messages
-
filterCountByG_S
public 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 = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the number of matching message-boards messages that the user has permission to view
-
findByC_S
Returns all the message-boards messages where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching message-boards messages
-
findByC_S
Returns a range of all the message-boards messages where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByC_S
public static List<MBMessage> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByC_S
public static List<MBMessage> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByC_S_First
public static MBMessage findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByC_S_First
public static MBMessage fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByC_S_Last
public static MBMessage findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByC_S_Last
public static MBMessage fetchByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByC_S_PrevAndNext
public static MBMessage[] findByC_S_PrevAndNext(long messageId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where companyId = ? and status = ?.- Parameters:
messageId
- the primary key of the current message-boards messagecompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByC_S
public static void removeByC_S(long companyId, int status) Removes all the message-boards messages where companyId = ? and status = ? from the database.- Parameters:
companyId
- the company IDstatus
- the status
-
countByC_S
public static int countByC_S(long companyId, int status) Returns the number of message-boards messages where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching message-boards messages
-
findByU_C
Returns all the message-boards messages where userId = ? and classNameId = ?.- Parameters:
userId
- the user IDclassNameId
- the class name ID- Returns:
- the matching message-boards messages
-
findByU_C
Returns a range of all the message-boards messages where userId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByU_C
public static List<MBMessage> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByU_C
public static List<MBMessage> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByU_C_First
public static MBMessage findByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where userId = ? and classNameId = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByU_C_First
public static MBMessage fetchByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where userId = ? and classNameId = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByU_C_Last
public static MBMessage findByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where userId = ? and classNameId = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByU_C_Last
public static MBMessage fetchByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where userId = ? and classNameId = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByU_C_PrevAndNext
public static MBMessage[] findByU_C_PrevAndNext(long messageId, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ? and classNameId = ?.- Parameters:
messageId
- the primary key of the current message-boards messageuserId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
findByU_C
Returns all the message-boards messages where userId = ? and classNameId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
userId
- the user IDclassNameIds
- the class name IDs- Returns:
- the matching message-boards messages
-
findByU_C
Returns a range of all the message-boards messages where userId = ? and classNameId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByU_C
public static List<MBMessage> findByU_C(long userId, long[] classNameIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByU_C
public static List<MBMessage> findByU_C(long userId, long[] classNameIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
removeByU_C
public static void removeByU_C(long userId, long classNameId) Removes all the message-boards messages where userId = ? and classNameId = ? from the database.- Parameters:
userId
- the user IDclassNameId
- the class name ID
-
countByU_C
public static int countByU_C(long userId, long classNameId) Returns the number of message-boards messages where userId = ? and classNameId = ?.- Parameters:
userId
- the user IDclassNameId
- the class name ID- Returns:
- the number of matching message-boards messages
-
countByU_C
public static int countByU_C(long userId, long[] classNameIds) Returns the number of message-boards messages where userId = ? and classNameId = any ?.- Parameters:
userId
- the user IDclassNameIds
- the class name IDs- Returns:
- the number of matching message-boards messages
-
findByC_C
Returns all the message-boards messages where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching message-boards messages
-
findByC_C
Returns a range of all the message-boards messages where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByC_C
public static List<MBMessage> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByC_C
public static List<MBMessage> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByC_C_First
public static MBMessage findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByC_C_First
public static MBMessage fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByC_C_Last
public static MBMessage findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByC_C_Last
public static MBMessage fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByC_C_PrevAndNext
public static MBMessage[] findByC_C_PrevAndNext(long messageId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where classNameId = ? and classPK = ?.- Parameters:
messageId
- the primary key of the current message-boards messageclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByC_C
public static void removeByC_C(long classNameId, long classPK) Removes all the message-boards messages where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk
-
countByC_C
public static int countByC_C(long classNameId, long classPK) Returns the number of message-boards messages where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching message-boards messages
-
findByT_P
Returns all the message-boards messages where threadId = ? and parentMessageId = ?.- Parameters:
threadId
- the thread IDparentMessageId
- the parent message ID- Returns:
- the matching message-boards messages
-
findByT_P
Returns a range of all the message-boards messages where threadId = ? and parentMessageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByT_P
public static List<MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ? and parentMessageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByT_P
public static List<MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ? and parentMessageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByT_P_First
public static MBMessage findByT_P_First(long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where threadId = ? and parentMessageId = ?.- Parameters:
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByT_P_First
public static MBMessage fetchByT_P_First(long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ? and parentMessageId = ?.- Parameters:
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByT_P_Last
public static MBMessage findByT_P_Last(long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where threadId = ? and parentMessageId = ?.- Parameters:
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByT_P_Last
public static MBMessage fetchByT_P_Last(long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ? and parentMessageId = ?.- Parameters:
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByT_P_PrevAndNext
public static MBMessage[] findByT_P_PrevAndNext(long messageId, long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and parentMessageId = ?.- Parameters:
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByT_P
public static void removeByT_P(long threadId, long parentMessageId) Removes all the message-boards messages where threadId = ? and parentMessageId = ? from the database.- Parameters:
threadId
- the thread IDparentMessageId
- the parent message ID
-
countByT_P
public static int countByT_P(long threadId, long parentMessageId) Returns the number of message-boards messages where threadId = ? and parentMessageId = ?.- Parameters:
threadId
- the thread IDparentMessageId
- the parent message ID- Returns:
- the number of matching message-boards messages
-
findByT_A
Returns all the message-boards messages where threadId = ? and answer = ?.- Parameters:
threadId
- the thread IDanswer
- the answer- Returns:
- the matching message-boards messages
-
findByT_A
Returns a range of all the message-boards messages where threadId = ? and answer = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByT_A
public static List<MBMessage> findByT_A(long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ? and answer = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByT_A
public static List<MBMessage> findByT_A(long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ? and answer = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByT_A_First
public static MBMessage findByT_A_First(long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where threadId = ? and answer = ?.- Parameters:
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByT_A_First
public static MBMessage fetchByT_A_First(long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ? and answer = ?.- Parameters:
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByT_A_Last
public static MBMessage findByT_A_Last(long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where threadId = ? and answer = ?.- Parameters:
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByT_A_Last
public static MBMessage fetchByT_A_Last(long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ? and answer = ?.- Parameters:
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByT_A_PrevAndNext
public static MBMessage[] findByT_A_PrevAndNext(long messageId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and answer = ?.- Parameters:
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByT_A
public static void removeByT_A(long threadId, boolean answer) Removes all the message-boards messages where threadId = ? and answer = ? from the database.- Parameters:
threadId
- the thread IDanswer
- the answer
-
countByT_A
public static int countByT_A(long threadId, boolean answer) Returns the number of message-boards messages where threadId = ? and answer = ?.- Parameters:
threadId
- the thread IDanswer
- the answer- Returns:
- the number of matching message-boards messages
-
findByT_S
Returns all the message-boards messages where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the status- Returns:
- the matching message-boards messages
-
findByT_S
Returns a range of all the message-boards messages where threadId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByT_S
public static List<MBMessage> findByT_S(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByT_S
public static List<MBMessage> findByT_S(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByT_S_First
public static MBMessage findByT_S_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByT_S_First
public static MBMessage fetchByT_S_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByT_S_Last
public static MBMessage findByT_S_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByT_S_Last
public static MBMessage fetchByT_S_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByT_S_PrevAndNext
public static MBMessage[] findByT_S_PrevAndNext(long messageId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?.- Parameters:
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByT_S
public static void removeByT_S(long threadId, int status) Removes all the message-boards messages where threadId = ? and status = ? from the database.- Parameters:
threadId
- the thread IDstatus
- the status
-
countByT_S
public static int countByT_S(long threadId, int status) Returns the number of message-boards messages where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the status- Returns:
- the number of matching message-boards messages
-
findByT_NotS
Returns all the message-boards messages where threadId = ? and status ≠ ?.- Parameters:
threadId
- the thread IDstatus
- the status- Returns:
- the matching message-boards messages
-
findByT_NotS
Returns a range of all the message-boards messages where threadId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByT_NotS
public static List<MBMessage> findByT_NotS(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByT_NotS
public static List<MBMessage> findByT_NotS(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByT_NotS_First
public static MBMessage findByT_NotS_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where threadId = ? and status ≠ ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByT_NotS_First
public static MBMessage fetchByT_NotS_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ? and status ≠ ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByT_NotS_Last
public static MBMessage findByT_NotS_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where threadId = ? and status ≠ ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByT_NotS_Last
public static MBMessage fetchByT_NotS_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ? and status ≠ ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByT_NotS_PrevAndNext
public static MBMessage[] findByT_NotS_PrevAndNext(long messageId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status ≠ ?.- Parameters:
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByT_NotS
public static void removeByT_NotS(long threadId, int status) Removes all the message-boards messages where threadId = ? and status ≠ ? from the database.- Parameters:
threadId
- the thread IDstatus
- the status
-
countByT_NotS
public static int countByT_NotS(long threadId, int status) Returns the number of message-boards messages where threadId = ? and status ≠ ?.- Parameters:
threadId
- the thread IDstatus
- the status- Returns:
- the number of matching message-boards messages
-
findByTR_S
Returns all the message-boards messages where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the status- Returns:
- the matching message-boards messages
-
findByTR_S
Returns a range of all the message-boards messages where threadId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByTR_S
public static List<MBMessage> findByTR_S(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByTR_S
public static List<MBMessage> findByTR_S(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByTR_S_First
public static MBMessage findByTR_S_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByTR_S_First
public static MBMessage fetchByTR_S_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByTR_S_Last
public static MBMessage findByTR_S_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByTR_S_Last
public static MBMessage fetchByTR_S_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByTR_S_PrevAndNext
public static MBMessage[] findByTR_S_PrevAndNext(long messageId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?.- Parameters:
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByTR_S
public static void removeByTR_S(long threadId, int status) Removes all the message-boards messages where threadId = ? and status = ? from the database.- Parameters:
threadId
- the thread IDstatus
- the status
-
countByTR_S
public static int countByTR_S(long threadId, int status) Returns the number of message-boards messages where threadId = ? and status = ?.- Parameters:
threadId
- the thread IDstatus
- the status- Returns:
- the number of matching message-boards messages
-
findByP_S
Returns all the message-boards messages where parentMessageId = ? and status = ?.- Parameters:
parentMessageId
- the parent message IDstatus
- the status- Returns:
- the matching message-boards messages
-
findByP_S
Returns a range of all the message-boards messages where parentMessageId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
parentMessageId
- the parent message 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)- Returns:
- the range of matching message-boards messages
-
findByP_S
public static List<MBMessage> findByP_S(long parentMessageId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where parentMessageId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
parentMessageId
- the parent message 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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByP_S
public static List<MBMessage> findByP_S(long parentMessageId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where parentMessageId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
parentMessageId
- the parent message 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByP_S_First
public static MBMessage findByP_S_First(long parentMessageId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where parentMessageId = ? and status = ?.- Parameters:
parentMessageId
- the parent message IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByP_S_First
public static MBMessage fetchByP_S_First(long parentMessageId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where parentMessageId = ? and status = ?.- Parameters:
parentMessageId
- the parent message IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByP_S_Last
public static MBMessage findByP_S_Last(long parentMessageId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where parentMessageId = ? and status = ?.- Parameters:
parentMessageId
- the parent message IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByP_S_Last
public static MBMessage fetchByP_S_Last(long parentMessageId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where parentMessageId = ? and status = ?.- Parameters:
parentMessageId
- the parent message IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByP_S_PrevAndNext
public static MBMessage[] findByP_S_PrevAndNext(long messageId, long parentMessageId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where parentMessageId = ? and status = ?.- Parameters:
messageId
- the primary key of the current message-boards messageparentMessageId
- the parent message IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByP_S
public static void removeByP_S(long parentMessageId, int status) Removes all the message-boards messages where parentMessageId = ? and status = ? from the database.- Parameters:
parentMessageId
- the parent message IDstatus
- the status
-
countByP_S
public static int countByP_S(long parentMessageId, int status) Returns the number of message-boards messages where parentMessageId = ? and status = ?.- Parameters:
parentMessageId
- the parent message IDstatus
- the status- Returns:
- the number of matching message-boards messages
-
findByG_U_S
Returns all the message-boards messages where groupId = ? and userId = ? and status = ?.- Parameters:
groupId
- the group IDuserId
- the user IDstatus
- the status- Returns:
- the matching message-boards messages
-
findByG_U_S
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByG_U_S
public static List<MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByG_U_S
public static List<MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByG_U_S_First
public static MBMessage findByG_U_S_First(long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.- Parameters:
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_U_S_First
public static MBMessage fetchByG_U_S_First(long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.- Parameters:
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_U_S_Last
public static MBMessage findByG_U_S_Last(long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.- Parameters:
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_U_S_Last
public static MBMessage fetchByG_U_S_Last(long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.- Parameters:
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_U_S_PrevAndNext
public static MBMessage[] findByG_U_S_PrevAndNext(long messageId, long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
filterFindByG_U_S
Returns all the message-boards messages that the user has permission to view where groupId = ? and userId = ? and status = ?.- Parameters:
groupId
- the group IDuserId
- the user IDstatus
- the status- Returns:
- the matching message-boards messages that the user has permission to view
-
filterFindByG_U_S
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages that the user has permission to view
-
filterFindByG_U_S
public static List<MBMessage> filterFindByG_U_S(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages that the user has permission to view
-
filterFindByG_U_S_PrevAndNext
public static MBMessage[] filterFindByG_U_S_PrevAndNext(long messageId, long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByG_U_S
public 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.- Parameters:
groupId
- the group IDuserId
- the user IDstatus
- the status
-
countByG_U_S
public static int countByG_U_S(long groupId, long userId, int status) Returns the number of message-boards messages where groupId = ? and userId = ? and status = ?.- Parameters:
groupId
- the group IDuserId
- the user IDstatus
- the status- Returns:
- the number of matching message-boards messages
-
filterCountByG_U_S
public 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 = ?.- Parameters:
groupId
- the group IDuserId
- the user IDstatus
- the status- Returns:
- the number of matching message-boards messages that the user has permission to view
-
findByG_C_T
Returns all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread ID- Returns:
- the matching message-boards messages
-
findByG_C_T
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByG_C_T
public static List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByG_C_T
public static List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByG_C_T_First
public static MBMessage findByG_C_T_First(long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_C_T_First
public static MBMessage fetchByG_C_T_First(long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_C_T_Last
public static MBMessage findByG_C_T_Last(long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_C_T_Last
public static MBMessage fetchByG_C_T_Last(long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_C_T_PrevAndNext
public static MBMessage[] findByG_C_T_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
filterFindByG_C_T
Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread ID- Returns:
- the matching message-boards messages that the user has permission to view
-
filterFindByG_C_T
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages that the user has permission to view
-
filterFindByG_C_T
public static List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId, int start, int end, com.liferay.portal.kernel.util.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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages that the user has permission to view
-
filterFindByG_C_T_PrevAndNext
public static MBMessage[] filterFindByG_C_T_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByG_C_T
public 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.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread ID
-
countByG_C_T
public static int countByG_C_T(long groupId, long categoryId, long threadId) Returns the number of message-boards messages where groupId = ? and categoryId = ? and threadId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread ID- Returns:
- the number of matching message-boards messages
-
filterCountByG_C_T
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread ID- Returns:
- the number of matching message-boards messages that the user has permission to view
-
findByG_C_S
Returns all the message-boards messages where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the matching message-boards messages
-
findByG_C_S
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByG_C_S
public static List<MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByG_C_S
public static List<MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByG_C_S_First
public static MBMessage findByG_C_S_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_C_S_First
public static MBMessage fetchByG_C_S_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_C_S_Last
public static MBMessage findByG_C_S_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_C_S_Last
public static MBMessage fetchByG_C_S_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_C_S_PrevAndNext
public static MBMessage[] findByG_C_S_PrevAndNext(long messageId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
filterFindByG_C_S
Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the matching message-boards messages that the user has permission to view
-
filterFindByG_C_S
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages that the user has permission to view
-
filterFindByG_C_S
public static List<MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages that the user has permission to view
-
filterFindByG_C_S_PrevAndNext
public static MBMessage[] filterFindByG_C_S_PrevAndNext(long messageId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByG_C_S
public 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.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status
-
countByG_C_S
public static int countByG_C_S(long groupId, long categoryId, int status) Returns the number of message-boards messages where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the number of matching message-boards messages
-
filterCountByG_C_S
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the number of matching message-boards messages that the user has permission to view
-
findByU_C_C
Returns all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching message-boards messages
-
findByU_C_C
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByU_C_C
public static List<MBMessage> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByU_C_C
public static List<MBMessage> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByU_C_C_First
public static MBMessage findByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByU_C_C_First
public static MBMessage fetchByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByU_C_C_Last
public static MBMessage findByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByU_C_C_Last
public static MBMessage fetchByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByU_C_C_PrevAndNext
public static MBMessage[] findByU_C_C_PrevAndNext(long messageId, long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByU_C_C
public 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.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pk
-
countByU_C_C
public static int countByU_C_C(long userId, long classNameId, long classPK) Returns the number of message-boards messages where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching message-boards messages
-
findByU_C_S
Returns all the message-boards messages where userId = ? and classNameId = ? and status = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDstatus
- the status- Returns:
- the matching message-boards messages
-
findByU_C_S
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByU_C_S
public static List<MBMessage> findByU_C_S(long userId, long classNameId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByU_C_S
public static List<MBMessage> findByU_C_S(long userId, long classNameId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByU_C_S_First
public static MBMessage findByU_C_S_First(long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByU_C_S_First
public static MBMessage fetchByU_C_S_First(long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByU_C_S_Last
public static MBMessage findByU_C_S_Last(long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByU_C_S_Last
public static MBMessage fetchByU_C_S_Last(long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByU_C_S_PrevAndNext
public static MBMessage[] findByU_C_S_PrevAndNext(long messageId, long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
findByU_C_S
Returns all the message-boards messages where userId = ? and classNameId = any ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
userId
- the user IDclassNameIds
- the class name IDsstatus
- the status- Returns:
- the matching message-boards messages
-
findByU_C_S
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByU_C_S
public static List<MBMessage> findByU_C_S(long userId, long[] classNameIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = any ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByU_C_S
public static List<MBMessage> findByU_C_S(long userId, long[] classNameIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
removeByU_C_S
public 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.- Parameters:
userId
- the user IDclassNameId
- the class name IDstatus
- the status
-
countByU_C_S
public static int countByU_C_S(long userId, long classNameId, int status) Returns the number of message-boards messages where userId = ? and classNameId = ? and status = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDstatus
- the status- Returns:
- the number of matching message-boards messages
-
countByU_C_S
public 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 = ?.- Parameters:
userId
- the user IDclassNameIds
- the class name IDsstatus
- the status- Returns:
- the number of matching message-boards messages
-
findByC_C_S
Returns all the message-boards messages where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the status- Returns:
- the matching message-boards messages
-
findByC_C_S
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByC_C_S
public static List<MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByC_C_S
public static List<MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByC_C_S_First
public static MBMessage findByC_C_S_First(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByC_C_S_First
public static MBMessage fetchByC_C_S_First(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByC_C_S_Last
public static MBMessage findByC_C_S_Last(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByC_C_S_Last
public static MBMessage fetchByC_C_S_Last(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByC_C_S_PrevAndNext
public static MBMessage[] findByC_C_S_PrevAndNext(long messageId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the message-boards messages before and after the current message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByC_C_S
public 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.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the status
-
countByC_C_S
public static int countByC_C_S(long classNameId, long classPK, int status) Returns the number of message-boards messages where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the status- Returns:
- the number of matching message-boards messages
-
findByG_C_T_A
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answer- Returns:
- the matching message-boards messages
-
findByG_C_T_A
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByG_C_T_A
public static List<MBMessage> findByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByG_C_T_A
public static List<MBMessage> findByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByG_C_T_A_First
public static MBMessage findByG_C_T_A_First(long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_C_T_A_First
public static MBMessage fetchByG_C_T_A_First(long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_C_T_A_Last
public static MBMessage findByG_C_T_A_Last(long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_C_T_A_Last
public static MBMessage fetchByG_C_T_A_Last(long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_C_T_A_PrevAndNext
public static MBMessage[] findByG_C_T_A_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
filterFindByG_C_T_A
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answer- Returns:
- the matching message-boards messages that the user has permission to view
-
filterFindByG_C_T_A
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages that the user has permission to view
-
filterFindByG_C_T_A
public static List<MBMessage> filterFindByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages that the user has permission to view
-
filterFindByG_C_T_A_PrevAndNext
public static MBMessage[] filterFindByG_C_T_A_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByG_C_T_A
public 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.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answer
-
countByG_C_T_A
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answer- Returns:
- the number of matching message-boards messages
-
filterCountByG_C_T_A
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answer- Returns:
- the number of matching message-boards messages that the user has permission to view
-
findByG_C_T_S
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the status- Returns:
- the matching message-boards messages
-
findByG_C_T_S
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByG_C_T_S
public static List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByG_C_T_S
public static List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByG_C_T_S_First
public static MBMessage findByG_C_T_S_First(long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_C_T_S_First
public static MBMessage fetchByG_C_T_S_First(long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_C_T_S_Last
public static MBMessage findByG_C_T_S_Last(long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByG_C_T_S_Last
public static MBMessage fetchByG_C_T_S_Last(long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByG_C_T_S_PrevAndNext
public static MBMessage[] findByG_C_T_S_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
filterFindByG_C_T_S
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the status- Returns:
- the matching message-boards messages that the user has permission to view
-
filterFindByG_C_T_S
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages that the user has permission to view
-
filterFindByG_C_T_S
public static List<MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, com.liferay.portal.kernel.util.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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages that the user has permission to view
-
filterFindByG_C_T_S_PrevAndNext
public static MBMessage[] filterFindByG_C_T_S_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByG_C_T_S
public 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.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the status
-
countByG_C_T_S
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the status- Returns:
- the number of matching message-boards messages
-
filterCountByG_C_T_S
public 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the status- Returns:
- the number of matching message-boards messages that the user has permission to view
-
findByU_C_C_S
public 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 = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the status- Returns:
- the matching message-boards messages
-
findByU_C_C_S
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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)- Returns:
- the range of matching message-boards messages
-
findByU_C_C_S
public static List<MBMessage> findByU_C_C_S(long userId, long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching message-boards messages
-
findByU_C_C_S
public static List<MBMessage> findByU_C_C_S(long userId, long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message-boards messages
-
findByU_C_C_S_First
public static MBMessage findByU_C_C_S_First(long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByU_C_C_S_First
public static MBMessage fetchByU_C_C_S_First(long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByU_C_C_S_Last
public static MBMessage findByU_C_C_S_Last(long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByU_C_C_S_Last
public static MBMessage fetchByU_C_C_S_Last(long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message-boards message, or
null
if a matching message-boards message could not be found
-
findByU_C_C_S_PrevAndNext
public static MBMessage[] findByU_C_C_S_PrevAndNext(long messageId, long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) throws NoSuchMessageException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
removeByU_C_C_S
public 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.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the status
-
countByU_C_C_S
public 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 = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the status- Returns:
- the number of matching message-boards messages
-
findByERC_G
public static MBMessage findByERC_G(String externalReferenceCode, long groupId) throws NoSuchMessageException Returns the message-boards message where externalReferenceCode = ? and groupId = ? or throws aNoSuchMessageException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching message-boards message
- Throws:
NoSuchMessageException
- if a matching message-boards message could not be foundNoSuchMessageException
-
fetchByERC_G
Returns the message-boards message where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching message-boards message, or
null
if a matching message-boards message could not be found
-
fetchByERC_G
public static MBMessage fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the message-boards message where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching message-boards message, or
null
if a matching message-boards message could not be found
-
removeByERC_G
public static MBMessage removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchMessageException Removes the message-boards message where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the message-boards message that was removed
- Throws:
NoSuchMessageException
-
countByERC_G
Returns the number of message-boards messages where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching message-boards messages
-
cacheResult
Caches the message-boards message in the entity cache if it is enabled.- Parameters:
mbMessage
- the message-boards message
-
cacheResult
Caches the message-boards messages in the entity cache if it is enabled.- Parameters:
mbMessages
- the message-boards messages
-
create
Creates a new message-boards message with the primary key. Does not add the message-boards message to the database.- Parameters:
messageId
- the primary key for the new message-boards message- Returns:
- the new message-boards message
-
remove
Removes the message-boards message with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
messageId
- the primary key of the message-boards message- Returns:
- the message-boards message that was removed
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
updateImpl
-
findByPrimaryKey
Returns the message-boards message with the primary key or throws aNoSuchMessageException
if it could not be found.- Parameters:
messageId
- the primary key of the message-boards message- Returns:
- the message-boards message
- Throws:
NoSuchMessageException
- if a message-boards message with the primary key could not be foundNoSuchMessageException
-
fetchByPrimaryKey
Returns the message-boards message with the primary key or returnsnull
if it could not be found.- Parameters:
messageId
- the primary key of the message-boards message- Returns:
- the message-boards message, or
null
if a message-boards message with the primary key could not be found
-
findAll
Returns all the message-boards messages.- Returns:
- the message-boards messages
-
findAll
Returns a range of all the message-boards messages.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
start
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)- Returns:
- the range of message-boards messages
-
findAll
public static List<MBMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns an ordered range of all the message-boards messages.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of message-boards messages
-
findAll
public static List<MBMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message-boards messages.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBMessageModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of message-boards messages
-
removeAll
public static void removeAll()Removes all the message-boards messages from the database. -
countAll
public static int countAll()Returns the number of message-boards messages.- Returns:
- the number of message-boards messages
-
getPersistence
-
setPersistence
-