Interface MBMessagePersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<MBMessage>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBMessage>

@ProviderType public interface MBMessagePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<MBMessage>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBMessage>
The persistence interface for the message-boards message service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Caches the message-boards message in the entity cache if it is enabled.
    void
    cacheResult(List<MBMessage> mbMessages)
    Caches the message-boards messages in the entity cache if it is enabled.
    int
    Returns the number of message-boards messages.
    int
    countByC_C(long classNameId, long classPK)
    Returns the number of message-boards messages where classNameId = ? and classPK = ?.
    int
    countByC_C_S(long classNameId, long classPK, int status)
    Returns the number of message-boards messages where classNameId = ? and classPK = ? and status = ?.
    int
    countByC_S(long companyId, int status)
    Returns the number of message-boards messages where companyId = ? and status = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of message-boards messages where companyId = ?.
    int
    countByERC_G(String externalReferenceCode, long groupId)
    Returns the number of message-boards messages where externalReferenceCode = ? and groupId = ?.
    int
    countByG_C(long groupId, long categoryId)
    Returns the number of message-boards messages where groupId = ? and categoryId = ?.
    int
    countByG_C_S(long groupId, long categoryId, int status)
    Returns the number of message-boards messages where groupId = ? and categoryId = ? and status = ?.
    int
    countByG_C_T(long groupId, long categoryId, long threadId)
    Returns the number of message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
    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 = ?.
    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 = ?.
    int
    countByG_S(long groupId, int status)
    Returns the number of message-boards messages where groupId = ? and status = ?.
    int
    countByG_U(long groupId, long userId)
    Returns the number of message-boards messages where groupId = ? and userId = ?.
    int
    countByG_U_S(long groupId, long userId, int status)
    Returns the number of message-boards messages where groupId = ? and userId = ? and status = ?.
    int
    countByG_US(long groupId, String urlSubject)
    Returns the number of message-boards messages where groupId = ? and urlSubject = ?.
    int
    countByGroupId(long groupId)
    Returns the number of message-boards messages where groupId = ?.
    int
    countByP_S(long parentMessageId, int status)
    Returns the number of message-boards messages where parentMessageId = ? and status = ?.
    int
    countByParentMessageId(long parentMessageId)
    Returns the number of message-boards messages where parentMessageId = ?.
    int
    countByT_A(long threadId, boolean answer)
    Returns the number of message-boards messages where threadId = ? and answer = ?.
    int
    countByT_NotS(long threadId, int status)
    Returns the number of message-boards messages where threadId = ? and status ≠ ?.
    int
    countByT_P(long threadId, long parentMessageId)
    Returns the number of message-boards messages where threadId = ? and parentMessageId = ?.
    int
    countByT_S(long threadId, int status)
    Returns the number of message-boards messages where threadId = ? and status = ?.
    int
    countByThreadId(long threadId)
    Returns the number of message-boards messages where threadId = ?.
    int
    countByThreadIdReplies(long threadId)
    Returns the number of message-boards messages where threadId = ?.
    int
    countByTR_S(long threadId, int status)
    Returns the number of message-boards messages where threadId = ? and status = ?.
    int
    countByU_C(long userId, long classNameId)
    Returns the number of message-boards messages where userId = ? and classNameId = ?.
    int
    countByU_C(long userId, long[] classNameIds)
    Returns the number of message-boards messages where userId = ? and classNameId = any ?.
    int
    countByU_C_C(long userId, long classNameId, long classPK)
    Returns the number of message-boards messages where userId = ? and classNameId = ? and classPK = ?.
    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 = ?.
    int
    countByU_C_S(long userId, long[] classNameIds, int status)
    Returns the number of message-boards messages where userId = ? and classNameId = any ? and status = ?.
    int
    countByU_C_S(long userId, long classNameId, int status)
    Returns the number of message-boards messages where userId = ? and classNameId = ? and status = ?.
    int
    countByUserId(long userId)
    Returns the number of message-boards messages where userId = ?.
    int
    Returns the number of message-boards messages where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of message-boards messages where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of message-boards messages where uuid = ? and groupId = ?.
    create(long messageId)
    Creates a new message-boards message with the primary key.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where companyId = ?.
    fetchByERC_G(String externalReferenceCode, long groupId)
    Returns the message-boards message where externalReferenceCode = ? and groupId = ? or returns null if it could not be found.
    fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
    Returns the message-boards message where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByG_US(long groupId, String urlSubject)
    Returns the message-boards message where groupId = ? and urlSubject = ? or returns null if it could not be found.
    fetchByG_US(long groupId, String urlSubject, boolean useFinderCache)
    Returns the message-boards message where groupId = ? and urlSubject = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where groupId = ?.
    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 = ?.
    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 = ?.
    fetchByParentMessageId_First(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where parentMessageId = ?.
    fetchByParentMessageId_Last(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where parentMessageId = ?.
    fetchByPrimaryKey(long messageId)
    Returns the message-boards message with the primary key or returns null if it could not be found.
    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 = ?.
    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 = ?.
    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 ≠ ?.
    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 ≠ ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where threadId = ?.
    fetchByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where threadId = ?.
    fetchByThreadIdReplies_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where threadId = ?.
    fetchByThreadIdReplies_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where threadId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where userId = ?.
    fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where userId = ?.
    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 = ?.
    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 = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the message-boards message where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the message-boards message where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where uuid = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where companyId = ?.
    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 = ?.
    findByERC_G(String externalReferenceCode, long groupId)
    Returns the message-boards message where externalReferenceCode = ? and groupId = ? or throws a NoSuchMessageException 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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByG_US(long groupId, String urlSubject)
    Returns the message-boards message where groupId = ? and urlSubject = ? or throws a NoSuchMessageException 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 = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where groupId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByParentMessageId_First(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where parentMessageId = ?.
    findByParentMessageId_Last(long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where parentMessageId = ?.
    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 = ?.
    findByPrimaryKey(long messageId)
    Returns the message-boards message with the primary key or throws a NoSuchMessageException 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 = ?.
    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 = ?.
    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 = ?.
    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 ≠ ?.
    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 ≠ ?.
    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 ≠ ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where threadId = ?.
    findByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where threadId = ?.
    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 = ?.
    findByThreadIdReplies_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where threadId = ?.
    findByThreadIdReplies_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where threadId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where userId = ?.
    findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where userId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the first message-boards message in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the message-boards message where uuid = ? and groupId = ? or throws a NoSuchMessageException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator)
    Returns the last message-boards message in the ordered set where uuid = ?.
    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 = ?.
    remove(long messageId)
    Removes the message-boards message with the primary key from the database.
    void
    Removes all the message-boards messages from the database.
    void
    removeByC_C(long classNameId, long classPK)
    Removes all the message-boards messages where classNameId = ? and classPK = ? from the database.
    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.
    void
    removeByC_S(long companyId, int status)
    Removes all the message-boards messages where companyId = ? and status = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the message-boards messages where companyId = ? from the database.
    removeByERC_G(String externalReferenceCode, long groupId)
    Removes the message-boards message where externalReferenceCode = ? and groupId = ? from the database.
    void
    removeByG_C(long groupId, long categoryId)
    Removes all the message-boards messages where groupId = ? and categoryId = ? from the database.
    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.
    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.
    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.
    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.
    void
    removeByG_S(long groupId, int status)
    Removes all the message-boards messages where groupId = ? and status = ? from the database.
    void
    removeByG_U(long groupId, long userId)
    Removes all the message-boards messages where groupId = ? and userId = ? from the database.
    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.
    removeByG_US(long groupId, String urlSubject)
    Removes the message-boards message where groupId = ? and urlSubject = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the message-boards messages where groupId = ? from the database.
    void
    removeByP_S(long parentMessageId, int status)
    Removes all the message-boards messages where parentMessageId = ? and status = ? from the database.
    void
    removeByParentMessageId(long parentMessageId)
    Removes all the message-boards messages where parentMessageId = ? from the database.
    void
    removeByT_A(long threadId, boolean answer)
    Removes all the message-boards messages where threadId = ? and answer = ? from the database.
    void
    removeByT_NotS(long threadId, int status)
    Removes all the message-boards messages where threadId = ? and status ≠ ? from the database.
    void
    removeByT_P(long threadId, long parentMessageId)
    Removes all the message-boards messages where threadId = ? and parentMessageId = ? from the database.
    void
    removeByT_S(long threadId, int status)
    Removes all the message-boards messages where threadId = ? and status = ? from the database.
    void
    removeByThreadId(long threadId)
    Removes all the message-boards messages where threadId = ? from the database.
    void
    removeByThreadIdReplies(long threadId)
    Removes all the message-boards messages where threadId = ? from the database.
    void
    removeByTR_S(long threadId, int status)
    Removes all the message-boards messages where threadId = ? and status = ? from the database.
    void
    removeByU_C(long userId, long classNameId)
    Removes all the message-boards messages where userId = ? and classNameId = ? from the database.
    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.
    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.
    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.
    void
    removeByUserId(long userId)
    Removes all the message-boards messages where userId = ? from the database.
    void
    Removes all the message-boards messages where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the message-boards messages where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the message-boards message where uuid = ? and groupId = ? from the database.
    updateImpl(MBMessage mbMessage)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByUuid

      List<MBMessage> findByUuid(String uuid)
      Returns all the message-boards messages where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching message-boards messages
    • findByUuid

      List<MBMessage> findByUuid(String uuid, int start, int end)
      Returns a range of all the message-boards messages where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByUuid

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByUuid

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByUuid_First

      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByUuid_First

      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByUuid_Last

      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByUuid_Last

      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByUuid_PrevAndNext

      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 message
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the message-boards messages where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of message-boards messages where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching message-boards messages
    • findByUUID_G

      MBMessage findByUUID_G(String uuid, long groupId) throws NoSuchMessageException
      Returns the message-boards message where uuid = ? and groupId = ? or throws a NoSuchMessageException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByUUID_G

      MBMessage fetchByUUID_G(String uuid, long groupId)
      Returns the message-boards message where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching message-boards message, or null if a matching message-boards message could not be found
    • fetchByUUID_G

      MBMessage fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the message-boards message where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - 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

      MBMessage removeByUUID_G(String uuid, long groupId) throws NoSuchMessageException
      Removes the message-boards message where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the message-boards message that was removed
      Throws:
      NoSuchMessageException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of message-boards messages where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching message-boards messages
    • findByUuid_C

      List<MBMessage> findByUuid_C(String uuid, long companyId)
      Returns all the message-boards messages where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching message-boards messages
    • findByUuid_C

      List<MBMessage> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the message-boards messages where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByUuid_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByUuid_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByUuid_C_First

      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByUuid_C_First

      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByUuid_C_Last

      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByUuid_C_Last

      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByUuid_C_PrevAndNext

      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 message
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the message-boards messages where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of message-boards messages where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching message-boards messages
    • findByGroupId

      List<MBMessage> findByGroupId(long groupId)
      Returns all the message-boards messages where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching message-boards messages
    • findByGroupId

      List<MBMessage> findByGroupId(long groupId, int start, int end)
      Returns a range of all the message-boards messages where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByGroupId

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByGroupId

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByGroupId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByGroupId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByGroupId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByGroupId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByGroupId_PrevAndNext

      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 message
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • filterFindByGroupId

      List<MBMessage> filterFindByGroupId(long groupId)
      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

      List<MBMessage> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the message-boards messages that the user has permission to view where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of message-boards messages
      end - 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

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages that the user has permission to view
    • filterFindByGroupId_PrevAndNext

      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 message
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByGroupId

      void removeByGroupId(long groupId)
      Removes all the message-boards messages where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      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

      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

      List<MBMessage> findByCompanyId(long companyId)
      Returns all the message-boards messages where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching message-boards messages
    • findByCompanyId

      List<MBMessage> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the message-boards messages where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByCompanyId

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByCompanyId

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByCompanyId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByCompanyId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByCompanyId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByCompanyId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByCompanyId_PrevAndNext

      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 message
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the message-boards messages where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      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

      List<MBMessage> findByUserId(long userId)
      Returns all the message-boards messages where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching message-boards messages
    • findByUserId

      List<MBMessage> findByUserId(long userId, int start, int end)
      Returns a range of all the message-boards messages where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByUserId

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByUserId

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByUserId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByUserId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByUserId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByUserId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByUserId_PrevAndNext

      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 message
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByUserId

      void removeByUserId(long userId)
      Removes all the message-boards messages where userId = ? from the database.
      Parameters:
      userId - the user ID
    • countByUserId

      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

      List<MBMessage> findByThreadId(long threadId)
      Returns all the message-boards messages where threadId = ?.
      Parameters:
      threadId - the thread ID
      Returns:
      the matching message-boards messages
    • findByThreadId

      List<MBMessage> findByThreadId(long threadId, int start, int end)
      Returns a range of all the message-boards messages where threadId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByThreadId

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByThreadId

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByThreadId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByThreadId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByThreadId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByThreadId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByThreadId_PrevAndNext

      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 message
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByThreadId

      void removeByThreadId(long threadId)
      Removes all the message-boards messages where threadId = ? from the database.
      Parameters:
      threadId - the thread ID
    • countByThreadId

      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

      List<MBMessage> findByThreadIdReplies(long threadId)
      Returns all the message-boards messages where threadId = ?.
      Parameters:
      threadId - the thread ID
      Returns:
      the matching message-boards messages
    • findByThreadIdReplies

      List<MBMessage> findByThreadIdReplies(long threadId, int start, int end)
      Returns a range of all the message-boards messages where threadId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByThreadIdReplies

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByThreadIdReplies

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByThreadIdReplies_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByThreadIdReplies_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByThreadIdReplies_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByThreadIdReplies_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByThreadIdReplies_PrevAndNext

      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 message
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByThreadIdReplies

      void removeByThreadIdReplies(long threadId)
      Removes all the message-boards messages where threadId = ? from the database.
      Parameters:
      threadId - the thread ID
    • countByThreadIdReplies

      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

      List<MBMessage> findByParentMessageId(long parentMessageId)
      Returns all the message-boards messages where parentMessageId = ?.
      Parameters:
      parentMessageId - the parent message ID
      Returns:
      the matching message-boards messages
    • findByParentMessageId

      List<MBMessage> findByParentMessageId(long parentMessageId, int start, int end)
      Returns a range of all the message-boards messages where parentMessageId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      parentMessageId - the parent message ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByParentMessageId

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      parentMessageId - the parent message ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByParentMessageId

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      parentMessageId - the parent message ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByParentMessageId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByParentMessageId_First

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByParentMessageId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByParentMessageId_Last

      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByParentMessageId_PrevAndNext

      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 message
      parentMessageId - the parent message ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByParentMessageId

      void removeByParentMessageId(long parentMessageId)
      Removes all the message-boards messages where parentMessageId = ? from the database.
      Parameters:
      parentMessageId - the parent message ID
    • countByParentMessageId

      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

      List<MBMessage> findByG_U(long groupId, long userId)
      Returns all the message-boards messages where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the matching message-boards messages
    • findByG_U

      List<MBMessage> findByG_U(long groupId, long userId, int start, int end)
      Returns a range of all the message-boards messages where groupId = ? and userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByG_U

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByG_U

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByG_U_First

      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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_U_First

      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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_U_Last

      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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_U_Last

      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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_U_PrevAndNext

      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 message
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • filterFindByG_U

      List<MBMessage> filterFindByG_U(long groupId, long userId)
      Returns all the message-boards messages that the user has permission to view where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the matching message-boards messages that the user has permission to view
    • filterFindByG_U

      List<MBMessage> filterFindByG_U(long groupId, long userId, int start, int end)
      Returns a range of all the message-boards messages that the user has permission to view where groupId = ? and userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of message-boards messages
      end - 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

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages that the user has permission to view
    • filterFindByG_U_PrevAndNext

      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 message
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByG_U

      void removeByG_U(long groupId, long userId)
      Removes all the message-boards messages where groupId = ? and userId = ? from the database.
      Parameters:
      groupId - the group ID
      userId - the user ID
    • countByG_U

      int countByG_U(long groupId, long userId)
      Returns the number of message-boards messages where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the number of matching message-boards messages
    • filterCountByG_U

      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 ID
      userId - the user ID
      Returns:
      the number of matching message-boards messages that the user has permission to view
    • findByG_C

      List<MBMessage> findByG_C(long groupId, long categoryId)
      Returns all the message-boards messages where groupId = ? and categoryId = ?.
      Parameters:
      groupId - the group ID
      categoryId - the category ID
      Returns:
      the matching message-boards messages
    • findByG_C

      List<MBMessage> findByG_C(long groupId, long categoryId, int start, int end)
      Returns a range of all the message-boards messages where groupId = ? and categoryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByG_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByG_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByG_C_First

      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 ID
      categoryId - the category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_C_First

      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 ID
      categoryId - the category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_C_Last

      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 ID
      categoryId - the category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_C_Last

      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 ID
      categoryId - the category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_C_PrevAndNext

      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 message
      groupId - the group ID
      categoryId - the category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • filterFindByG_C

      List<MBMessage> filterFindByG_C(long groupId, long categoryId)
      Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ?.
      Parameters:
      groupId - the group ID
      categoryId - the category ID
      Returns:
      the matching message-boards messages that the user has permission to view
    • filterFindByG_C

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

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      start - the lower bound of the range of message-boards messages
      end - 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

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages that the user has permission to view
    • filterFindByG_C_PrevAndNext

      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 message
      groupId - the group ID
      categoryId - the category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByG_C

      void removeByG_C(long groupId, long categoryId)
      Removes all the message-boards messages where groupId = ? and categoryId = ? from the database.
      Parameters:
      groupId - the group ID
      categoryId - the category ID
    • countByG_C

      int countByG_C(long groupId, long categoryId)
      Returns the number of message-boards messages where groupId = ? and categoryId = ?.
      Parameters:
      groupId - the group ID
      categoryId - the category ID
      Returns:
      the number of matching message-boards messages
    • filterCountByG_C

      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 ID
      categoryId - the category ID
      Returns:
      the number of matching message-boards messages that the user has permission to view
    • findByG_US

      MBMessage findByG_US(long groupId, String urlSubject) throws NoSuchMessageException
      Returns the message-boards message where groupId = ? and urlSubject = ? or throws a NoSuchMessageException if it could not be found.
      Parameters:
      groupId - the group ID
      urlSubject - the url subject
      Returns:
      the matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_US

      MBMessage fetchByG_US(long groupId, String urlSubject)
      Returns the message-boards message where groupId = ? and urlSubject = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      urlSubject - the url subject
      Returns:
      the matching message-boards message, or null if a matching message-boards message could not be found
    • fetchByG_US

      MBMessage fetchByG_US(long groupId, String urlSubject, boolean useFinderCache)
      Returns the message-boards message where groupId = ? and urlSubject = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      urlSubject - the url subject
      useFinderCache - 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

      MBMessage removeByG_US(long groupId, String urlSubject) throws NoSuchMessageException
      Removes the message-boards message where groupId = ? and urlSubject = ? from the database.
      Parameters:
      groupId - the group ID
      urlSubject - the url subject
      Returns:
      the message-boards message that was removed
      Throws:
      NoSuchMessageException
    • countByG_US

      int countByG_US(long groupId, String urlSubject)
      Returns the number of message-boards messages where groupId = ? and urlSubject = ?.
      Parameters:
      groupId - the group ID
      urlSubject - the url subject
      Returns:
      the number of matching message-boards messages
    • findByG_S

      List<MBMessage> findByG_S(long groupId, int status)
      Returns all the message-boards messages where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the matching message-boards messages
    • findByG_S

      List<MBMessage> findByG_S(long groupId, int status, int start, int end)
      Returns a range of all the message-boards messages where groupId = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByG_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByG_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByG_S_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_S_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_S_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_S_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_S_PrevAndNext

      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 message
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • filterFindByG_S

      List<MBMessage> filterFindByG_S(long groupId, int status)
      Returns all the message-boards messages that the user has permission to view where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the matching message-boards messages that the user has permission to view
    • filterFindByG_S

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

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - 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

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages that the user has permission to view
    • filterFindByG_S_PrevAndNext

      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 message
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByG_S

      void removeByG_S(long groupId, int status)
      Removes all the message-boards messages where groupId = ? and status = ? from the database.
      Parameters:
      groupId - the group ID
      status - the status
    • countByG_S

      int countByG_S(long groupId, int status)
      Returns the number of message-boards messages where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the number of matching message-boards messages
    • filterCountByG_S

      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 ID
      status - the status
      Returns:
      the number of matching message-boards messages that the user has permission to view
    • findByC_S

      List<MBMessage> findByC_S(long companyId, int status)
      Returns all the message-boards messages where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the matching message-boards messages
    • findByC_S

      List<MBMessage> findByC_S(long companyId, int status, int start, int end)
      Returns a range of all the message-boards messages where companyId = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByC_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByC_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByC_S_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByC_S_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByC_S_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByC_S_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByC_S_PrevAndNext

      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 message
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByC_S

      void removeByC_S(long companyId, int status)
      Removes all the message-boards messages where companyId = ? and status = ? from the database.
      Parameters:
      companyId - the company ID
      status - the status
    • countByC_S

      int countByC_S(long companyId, int status)
      Returns the number of message-boards messages where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the number of matching message-boards messages
    • findByU_C

      List<MBMessage> findByU_C(long userId, long classNameId)
      Returns all the message-boards messages where userId = ? and classNameId = ?.
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      Returns:
      the matching message-boards messages
    • findByU_C

      List<MBMessage> findByU_C(long userId, long classNameId, int start, int end)
      Returns a range of all the message-boards messages where userId = ? and classNameId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByU_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByU_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByU_C_First

      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 ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByU_C_First

      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 ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByU_C_Last

      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 ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByU_C_Last

      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 ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByU_C_PrevAndNext

      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 message
      userId - the user ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • findByU_C

      List<MBMessage> findByU_C(long userId, long[] classNameIds)
      Returns all the message-boards messages where userId = ? and classNameId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameIds - the class name IDs
      Returns:
      the matching message-boards messages
    • findByU_C

      List<MBMessage> findByU_C(long userId, long[] classNameIds, int start, int end)
      Returns a range of all the message-boards messages where userId = ? and classNameId = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameIds - the class name IDs
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByU_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameIds - the class name IDs
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByU_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameIds - the class name IDs
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • removeByU_C

      void removeByU_C(long userId, long classNameId)
      Removes all the message-boards messages where userId = ? and classNameId = ? from the database.
      Parameters:
      userId - the user ID
      classNameId - the class name ID
    • countByU_C

      int countByU_C(long userId, long classNameId)
      Returns the number of message-boards messages where userId = ? and classNameId = ?.
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      Returns:
      the number of matching message-boards messages
    • countByU_C

      int countByU_C(long userId, long[] classNameIds)
      Returns the number of message-boards messages where userId = ? and classNameId = any ?.
      Parameters:
      userId - the user ID
      classNameIds - the class name IDs
      Returns:
      the number of matching message-boards messages
    • findByC_C

      List<MBMessage> findByC_C(long classNameId, long classPK)
      Returns all the message-boards messages where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching message-boards messages
    • findByC_C

      List<MBMessage> findByC_C(long classNameId, long classPK, int start, int end)
      Returns a range of all the message-boards messages where classNameId = ? and classPK = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByC_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByC_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByC_C_First

      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 ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByC_C_First

      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 ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByC_C_Last

      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 ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByC_C_Last

      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 ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByC_C_PrevAndNext

      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 message
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByC_C

      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 ID
      classPK - the class pk
    • countByC_C

      int countByC_C(long classNameId, long classPK)
      Returns the number of message-boards messages where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching message-boards messages
    • findByT_P

      List<MBMessage> findByT_P(long threadId, long parentMessageId)
      Returns all the message-boards messages where threadId = ? and parentMessageId = ?.
      Parameters:
      threadId - the thread ID
      parentMessageId - the parent message ID
      Returns:
      the matching message-boards messages
    • findByT_P

      List<MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end)
      Returns a range of all the message-boards messages where threadId = ? and parentMessageId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      parentMessageId - the parent message ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByT_P

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      parentMessageId - the parent message ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByT_P

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      parentMessageId - the parent message ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByT_P_First

      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 ID
      parentMessageId - the parent message ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByT_P_First

      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 ID
      parentMessageId - the parent message ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByT_P_Last

      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 ID
      parentMessageId - the parent message ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByT_P_Last

      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 ID
      parentMessageId - the parent message ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByT_P_PrevAndNext

      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 message
      threadId - the thread ID
      parentMessageId - the parent message ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByT_P

      void removeByT_P(long threadId, long parentMessageId)
      Removes all the message-boards messages where threadId = ? and parentMessageId = ? from the database.
      Parameters:
      threadId - the thread ID
      parentMessageId - the parent message ID
    • countByT_P

      int countByT_P(long threadId, long parentMessageId)
      Returns the number of message-boards messages where threadId = ? and parentMessageId = ?.
      Parameters:
      threadId - the thread ID
      parentMessageId - the parent message ID
      Returns:
      the number of matching message-boards messages
    • findByT_A

      List<MBMessage> findByT_A(long threadId, boolean answer)
      Returns all the message-boards messages where threadId = ? and answer = ?.
      Parameters:
      threadId - the thread ID
      answer - the answer
      Returns:
      the matching message-boards messages
    • findByT_A

      List<MBMessage> findByT_A(long threadId, boolean answer, int start, int end)
      Returns a range of all the message-boards messages where threadId = ? and answer = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      answer - the answer
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByT_A

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      answer - the answer
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByT_A

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      answer - the answer
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByT_A_First

      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 ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByT_A_First

      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 ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByT_A_Last

      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 ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByT_A_Last

      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 ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByT_A_PrevAndNext

      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 message
      threadId - the thread ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByT_A

      void removeByT_A(long threadId, boolean answer)
      Removes all the message-boards messages where threadId = ? and answer = ? from the database.
      Parameters:
      threadId - the thread ID
      answer - the answer
    • countByT_A

      int countByT_A(long threadId, boolean answer)
      Returns the number of message-boards messages where threadId = ? and answer = ?.
      Parameters:
      threadId - the thread ID
      answer - the answer
      Returns:
      the number of matching message-boards messages
    • findByT_S

      List<MBMessage> findByT_S(long threadId, int status)
      Returns all the message-boards messages where threadId = ? and status = ?.
      Parameters:
      threadId - the thread ID
      status - the status
      Returns:
      the matching message-boards messages
    • findByT_S

      List<MBMessage> findByT_S(long threadId, int status, int start, int end)
      Returns a range of all the message-boards messages where threadId = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByT_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByT_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByT_S_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByT_S_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByT_S_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByT_S_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByT_S_PrevAndNext

      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 message
      threadId - the thread ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByT_S

      void removeByT_S(long threadId, int status)
      Removes all the message-boards messages where threadId = ? and status = ? from the database.
      Parameters:
      threadId - the thread ID
      status - the status
    • countByT_S

      int countByT_S(long threadId, int status)
      Returns the number of message-boards messages where threadId = ? and status = ?.
      Parameters:
      threadId - the thread ID
      status - the status
      Returns:
      the number of matching message-boards messages
    • findByT_NotS

      List<MBMessage> findByT_NotS(long threadId, int status)
      Returns all the message-boards messages where threadId = ? and status ≠ ?.
      Parameters:
      threadId - the thread ID
      status - the status
      Returns:
      the matching message-boards messages
    • findByT_NotS

      List<MBMessage> findByT_NotS(long threadId, int status, int start, int end)
      Returns a range of all the message-boards messages where threadId = ? and status ≠ ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByT_NotS

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByT_NotS

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByT_NotS_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByT_NotS_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByT_NotS_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByT_NotS_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByT_NotS_PrevAndNext

      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 message
      threadId - the thread ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByT_NotS

      void removeByT_NotS(long threadId, int status)
      Removes all the message-boards messages where threadId = ? and status ≠ ? from the database.
      Parameters:
      threadId - the thread ID
      status - the status
    • countByT_NotS

      int countByT_NotS(long threadId, int status)
      Returns the number of message-boards messages where threadId = ? and status ≠ ?.
      Parameters:
      threadId - the thread ID
      status - the status
      Returns:
      the number of matching message-boards messages
    • findByTR_S

      List<MBMessage> findByTR_S(long threadId, int status)
      Returns all the message-boards messages where threadId = ? and status = ?.
      Parameters:
      threadId - the thread ID
      status - the status
      Returns:
      the matching message-boards messages
    • findByTR_S

      List<MBMessage> findByTR_S(long threadId, int status, int start, int end)
      Returns a range of all the message-boards messages where threadId = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByTR_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByTR_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByTR_S_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByTR_S_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByTR_S_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByTR_S_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByTR_S_PrevAndNext

      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 message
      threadId - the thread ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByTR_S

      void removeByTR_S(long threadId, int status)
      Removes all the message-boards messages where threadId = ? and status = ? from the database.
      Parameters:
      threadId - the thread ID
      status - the status
    • countByTR_S

      int countByTR_S(long threadId, int status)
      Returns the number of message-boards messages where threadId = ? and status = ?.
      Parameters:
      threadId - the thread ID
      status - the status
      Returns:
      the number of matching message-boards messages
    • findByP_S

      List<MBMessage> findByP_S(long parentMessageId, int status)
      Returns all the message-boards messages where parentMessageId = ? and status = ?.
      Parameters:
      parentMessageId - the parent message ID
      status - the status
      Returns:
      the matching message-boards messages
    • findByP_S

      List<MBMessage> findByP_S(long parentMessageId, int status, int start, int end)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      parentMessageId - the parent message ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByP_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      parentMessageId - the parent message ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByP_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      parentMessageId - the parent message ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByP_S_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByP_S_First

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByP_S_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByP_S_Last

      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByP_S_PrevAndNext

      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 message
      parentMessageId - the parent message ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByP_S

      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 ID
      status - the status
    • countByP_S

      int countByP_S(long parentMessageId, int status)
      Returns the number of message-boards messages where parentMessageId = ? and status = ?.
      Parameters:
      parentMessageId - the parent message ID
      status - the status
      Returns:
      the number of matching message-boards messages
    • findByG_U_S

      List<MBMessage> findByG_U_S(long groupId, long userId, int status)
      Returns all the message-boards messages where groupId = ? and userId = ? and status = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      status - the status
      Returns:
      the matching message-boards messages
    • findByG_U_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByG_U_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByG_U_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByG_U_S_First

      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 ID
      userId - the user ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_U_S_First

      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 ID
      userId - the user ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_U_S_Last

      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 ID
      userId - the user ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_U_S_Last

      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 ID
      userId - the user ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_U_S_PrevAndNext

      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 message
      groupId - the group ID
      userId - the user ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • filterFindByG_U_S

      List<MBMessage> filterFindByG_U_S(long groupId, long userId, int status)
      Returns all the message-boards messages that the user has permission to view where groupId = ? and userId = ? and status = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      status - the status
      Returns:
      the matching message-boards messages that the user has permission to view
    • filterFindByG_U_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - 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

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages that the user has permission to view
    • filterFindByG_U_S_PrevAndNext

      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 message
      groupId - the group ID
      userId - the user ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByG_U_S

      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 ID
      userId - the user ID
      status - the status
    • countByG_U_S

      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 ID
      userId - the user ID
      status - the status
      Returns:
      the number of matching message-boards messages
    • filterCountByG_U_S

      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 ID
      userId - the user ID
      status - the status
      Returns:
      the number of matching message-boards messages that the user has permission to view
    • findByG_C_T

      List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId)
      Returns all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      Returns:
      the matching message-boards messages
    • findByG_C_T

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByG_C_T

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByG_C_T

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByG_C_T_First

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_C_T_First

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_C_T_Last

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_C_T_Last

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_C_T_PrevAndNext

      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 message
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • filterFindByG_C_T

      List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId)
      Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and threadId = ?.
      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      Returns:
      the matching message-boards messages that the user has permission to view
    • filterFindByG_C_T

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - 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

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages that the user has permission to view
    • filterFindByG_C_T_PrevAndNext

      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 message
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByG_C_T

      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 ID
      categoryId - the category ID
      threadId - the thread ID
    • countByG_C_T

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      Returns:
      the number of matching message-boards messages
    • filterCountByG_C_T

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      Returns:
      the number of matching message-boards messages that the user has permission to view
    • findByG_C_S

      List<MBMessage> findByG_C_S(long groupId, long categoryId, int status)
      Returns all the message-boards messages where groupId = ? and categoryId = ? and status = ?.
      Parameters:
      groupId - the group ID
      categoryId - the category ID
      status - the status
      Returns:
      the matching message-boards messages
    • findByG_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByG_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByG_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByG_C_S_First

      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 ID
      categoryId - the category ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_C_S_First

      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 ID
      categoryId - the category ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_C_S_Last

      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 ID
      categoryId - the category ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_C_S_Last

      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 ID
      categoryId - the category ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_C_S_PrevAndNext

      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 message
      groupId - the group ID
      categoryId - the category ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • filterFindByG_C_S

      List<MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status)
      Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ? and status = ?.
      Parameters:
      groupId - the group ID
      categoryId - the category ID
      status - the status
      Returns:
      the matching message-boards messages that the user has permission to view
    • filterFindByG_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - 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

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages that the user has permission to view
    • filterFindByG_C_S_PrevAndNext

      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 message
      groupId - the group ID
      categoryId - the category ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByG_C_S

      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 ID
      categoryId - the category ID
      status - the status
    • countByG_C_S

      int countByG_C_S(long groupId, long categoryId, int status)
      Returns the number of message-boards messages where groupId = ? and categoryId = ? and status = ?.
      Parameters:
      groupId - the group ID
      categoryId - the category ID
      status - the status
      Returns:
      the number of matching message-boards messages
    • filterCountByG_C_S

      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 ID
      categoryId - the category ID
      status - the status
      Returns:
      the number of matching message-boards messages that the user has permission to view
    • findByU_C_C

      List<MBMessage> findByU_C_C(long userId, long classNameId, long classPK)
      Returns all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching message-boards messages
    • findByU_C_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByU_C_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByU_C_C

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByU_C_C_First

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByU_C_C_First

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByU_C_C_Last

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByU_C_C_Last

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByU_C_C_PrevAndNext

      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 message
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByU_C_C

      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 ID
      classNameId - the class name ID
      classPK - the class pk
    • countByU_C_C

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching message-boards messages
    • findByU_C_S

      List<MBMessage> findByU_C_S(long userId, long classNameId, int status)
      Returns all the message-boards messages where userId = ? and classNameId = ? and status = ?.
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      status - the status
      Returns:
      the matching message-boards messages
    • findByU_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByU_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByU_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByU_C_S_First

      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 ID
      classNameId - the class name ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByU_C_S_First

      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 ID
      classNameId - the class name ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByU_C_S_Last

      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 ID
      classNameId - the class name ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByU_C_S_Last

      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 ID
      classNameId - the class name ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByU_C_S_PrevAndNext

      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 message
      userId - the user ID
      classNameId - the class name ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • findByU_C_S

      List<MBMessage> findByU_C_S(long userId, long[] classNameIds, int status)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameIds - the class name IDs
      status - the status
      Returns:
      the matching message-boards messages
    • findByU_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameIds - the class name IDs
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByU_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameIds - the class name IDs
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByU_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameIds - the class name IDs
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • removeByU_C_S

      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 ID
      classNameId - the class name ID
      status - the status
    • countByU_C_S

      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 ID
      classNameId - the class name ID
      status - the status
      Returns:
      the number of matching message-boards messages
    • countByU_C_S

      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 ID
      classNameIds - the class name IDs
      status - the status
      Returns:
      the number of matching message-boards messages
    • findByC_C_S

      List<MBMessage> findByC_C_S(long classNameId, long classPK, int status)
      Returns all the message-boards messages where classNameId = ? and classPK = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      Returns:
      the matching message-boards messages
    • findByC_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByC_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByC_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByC_C_S_First

      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 ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByC_C_S_First

      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 ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByC_C_S_Last

      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 ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByC_C_S_Last

      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 ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByC_C_S_PrevAndNext

      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 message
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByC_C_S

      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 ID
      classPK - the class pk
      status - the status
    • countByC_C_S

      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 ID
      classPK - the class pk
      status - the status
      Returns:
      the number of matching message-boards messages
    • findByG_C_T_A

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      Returns:
      the matching message-boards messages
    • findByG_C_T_A

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByG_C_T_A

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByG_C_T_A

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByG_C_T_A_First

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_C_T_A_First

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_C_T_A_Last

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_C_T_A_Last

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_C_T_A_PrevAndNext

      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 message
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • filterFindByG_C_T_A

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      Returns:
      the matching message-boards messages that the user has permission to view
    • filterFindByG_C_T_A

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      start - the lower bound of the range of message-boards messages
      end - 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

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages that the user has permission to view
    • filterFindByG_C_T_A_PrevAndNext

      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 message
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByG_C_T_A

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
    • countByG_C_T_A

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      Returns:
      the number of matching message-boards messages
    • filterCountByG_C_T_A

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      answer - the answer
      Returns:
      the number of matching message-boards messages that the user has permission to view
    • findByG_C_T_S

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      Returns:
      the matching message-boards messages
    • findByG_C_T_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByG_C_T_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByG_C_T_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByG_C_T_S_First

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_C_T_S_First

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_C_T_S_Last

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByG_C_T_S_Last

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByG_C_T_S_PrevAndNext

      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 message
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • filterFindByG_C_T_S

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      Returns:
      the matching message-boards messages that the user has permission to view
    • filterFindByG_C_T_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - 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

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages that the user has permission to view
    • filterFindByG_C_T_S_PrevAndNext

      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 message
      groupId - the group ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByG_C_T_S

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
    • countByG_C_T_S

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      Returns:
      the number of matching message-boards messages
    • filterCountByG_C_T_S

      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 ID
      categoryId - the category ID
      threadId - the thread ID
      status - the status
      Returns:
      the number of matching message-boards messages that the user has permission to view
    • findByU_C_C_S

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      Returns:
      the matching message-boards messages
    • findByU_C_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of matching message-boards messages
    • findByU_C_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message-boards messages
    • findByU_C_C_S

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching message-boards messages
    • findByU_C_C_S_First

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByU_C_C_S_First

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message-boards message, or null if a matching message-boards message could not be found
    • findByU_C_C_S_Last

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByU_C_C_S_Last

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message-boards message, or null if a matching message-boards message could not be found
    • findByU_C_C_S_PrevAndNext

      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 message
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next message-boards message
      Throws:
      NoSuchMessageException - if a message-boards message with the primary key could not be found
    • removeByU_C_C_S

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
    • countByU_C_C_S

      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 ID
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      Returns:
      the number of matching message-boards messages
    • findByERC_G

      MBMessage findByERC_G(String externalReferenceCode, long groupId) throws NoSuchMessageException
      Returns the message-boards message where externalReferenceCode = ? and groupId = ? or throws a NoSuchMessageException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching message-boards message
      Throws:
      NoSuchMessageException - if a matching message-boards message could not be found
    • fetchByERC_G

      MBMessage fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the message-boards message where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching message-boards message, or null if a matching message-boards message could not be found
    • fetchByERC_G

      MBMessage fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the message-boards message where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - 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

      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 code
      groupId - the group ID
      Returns:
      the message-boards message that was removed
      Throws:
      NoSuchMessageException
    • countByERC_G

      int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of message-boards messages where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching message-boards messages
    • cacheResult

      void cacheResult(MBMessage mbMessage)
      Caches the message-boards message in the entity cache if it is enabled.
      Parameters:
      mbMessage - the message-boards message
    • cacheResult

      void cacheResult(List<MBMessage> mbMessages)
      Caches the message-boards messages in the entity cache if it is enabled.
      Parameters:
      mbMessages - the message-boards messages
    • create

      MBMessage create(long messageId)
      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

      MBMessage remove(long messageId) throws NoSuchMessageException
      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 found
    • updateImpl

      MBMessage updateImpl(MBMessage mbMessage)
    • findByPrimaryKey

      MBMessage findByPrimaryKey(long messageId) throws NoSuchMessageException
      Returns the message-boards message with the primary key or throws a NoSuchMessageException 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 found
    • fetchByPrimaryKey

      MBMessage fetchByPrimaryKey(long messageId)
      Returns the message-boards message with the primary key or returns null 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

      List<MBMessage> findAll()
      Returns all the message-boards messages.
      Returns:
      the message-boards messages
    • findAll

      List<MBMessage> findAll(int start, int end)
      Returns a range of all the message-boards messages.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      Returns:
      the range of message-boards messages
    • findAll

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of message-boards messages
    • findAll

      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from MBMessageModelImpl.

      Parameters:
      start - the lower bound of the range of message-boards messages
      end - the upper bound of the range of message-boards messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of message-boards messages
    • removeAll

      void removeAll()
      Removes all the message-boards messages from the database.
    • countAll

      int countAll()
      Returns the number of message-boards messages.
      Returns:
      the number of message-boards messages