@ProviderType
public class MBMessagePersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
implements com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
Caching information and settings can be found in portal.properties
MBMessagePersistence
,
MBMessageUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C_T_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_U |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_U_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_T_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_T_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_THREADID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_THREADREPLIES |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_TR_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_U_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_U_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_U_C_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_U_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_T_NOTS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_U_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_U_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_T_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_T_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_T_NOTS |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_T_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_THREADID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_THREADREPLIES |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_TR_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_T_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_THREADID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_THREADREPLIES |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TR_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
MBMessagePersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the message-boards message persistence.
|
void |
cacheResult(List<com.liferay.message.boards.kernel.model.MBMessage> mbMessages)
Caches the message-boards messages in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
Caches the message-boards message in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(MBMessageModelImpl mbMessageModelImpl) |
void |
clearCache()
Clears the cache for all message-boards messages.
|
void |
clearCache(List<com.liferay.message.boards.kernel.model.MBMessage> mbMessages) |
void |
clearCache(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
Clears the cache for the message-boards message.
|
protected void |
clearUniqueFindersCache(MBMessageModelImpl mbMessageModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of message-boards messages.
|
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_C(long classNameId,
long classPK)
Returns the number of message-boards messages where classNameId = ? and classPK = ?.
|
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 |
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_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_C_T(long groupId,
long categoryId,
long threadId)
Returns the number of message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
|
int |
countByG_C(long groupId,
long categoryId)
Returns the number of message-boards messages where groupId = ? and categoryId = ?.
|
int |
countByG_S(long groupId,
int status)
Returns the number of message-boards messages where groupId = ? and status = ?.
|
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_U(long groupId,
long userId)
Returns the number of message-boards messages where groupId = ? and userId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of message-boards messages where groupId = ?.
|
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 |
countByThreadReplies(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_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_C(long userId,
long classNameId,
long classPK)
Returns the number of message-boards messages where userId = ? and classNameId = ? and classPK = ?.
|
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 |
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 |
countByUserId(long userId)
Returns the number of message-boards messages where userId = ?.
|
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 = ?.
|
int |
countByUuid(String uuid)
Returns the number of message-boards messages where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
create(long messageId)
Creates a new message-boards message with the primary key.
|
void |
destroy() |
com.liferay.message.boards.kernel.model.MBMessage |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByC_C_S_First(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByC_C_S_Last(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByC_S_First(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where companyId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByC_S_Last(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where companyId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_C_First(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_C_Last(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_C_S_First(long groupId,
long categoryId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_C_S_Last(long groupId,
long categoryId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_C_T_A_First(long groupId,
long categoryId,
long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_C_T_A_Last(long groupId,
long categoryId,
long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_C_T_First(long groupId,
long categoryId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_C_T_Last(long groupId,
long categoryId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_C_T_S_First(long groupId,
long categoryId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_C_T_S_Last(long groupId,
long categoryId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_U_S_First(long groupId,
long userId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByG_U_S_Last(long groupId,
long userId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByPrimaryKey(long messageId)
Returns the message-boards message with the primary key or returns
null if it could not be found. |
com.liferay.message.boards.kernel.model.MBMessage |
fetchByPrimaryKey(Serializable primaryKey)
Returns the message-boards message with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.message.boards.kernel.model.MBMessage> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.message.boards.kernel.model.MBMessage |
fetchByT_A_First(long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and answer = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByT_A_Last(long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and answer = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByT_notS_First(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status ≠ ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByT_notS_Last(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status ≠ ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByT_P_First(long threadId,
long parentMessageId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and parentMessageId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByT_P_Last(long threadId,
long parentMessageId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and parentMessageId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByT_S_First(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByT_S_Last(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByThreadId_First(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByThreadId_Last(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByThreadReplies_First(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByThreadReplies_Last(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByTR_S_First(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByTR_S_Last(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByU_C_C_First(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByU_C_C_Last(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByU_C_C_S_First(long userId,
long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByU_C_C_S_Last(long userId,
long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByU_C_First(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByU_C_Last(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByU_C_S_First(long userId,
long classNameId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByU_C_S_Last(long userId,
long classNameId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.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. |
com.liferay.message.boards.kernel.model.MBMessage |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the message-boards message where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.message.boards.kernel.model.MBMessage |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where uuid = ?.
|
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_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_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(long groupId,
long categoryId)
Returns the number of message-boards messages that the user has permission to view where groupId = ? and categoryId = ?.
|
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_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 |
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 |
filterCountByGroupId(long groupId)
Returns the number of message-boards messages that the user has permission to view where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
filterFindByG_C_PrevAndNext(long messageId,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
filterFindByG_C_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
filterFindByG_C_T_A_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
filterFindByG_C_T_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
filterFindByG_C_T_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_C(long groupId,
long categoryId)
Returns all the message-boards messages that the user has permission to view where groupId = ? and categoryId = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_C(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and categoryId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
filterFindByG_S_PrevAndNext(long messageId,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_S(long groupId,
int status)
Returns all the message-boards messages that the user has permission to view where groupId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
filterFindByG_U_PrevAndNext(long messageId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
filterFindByG_U_S_PrevAndNext(long messageId,
long groupId,
long userId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_U_S(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_U(long groupId,
long userId)
Returns all the message-boards messages that the user has permission to view where groupId = ? and userId = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ? and userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
filterFindByGroupId_PrevAndNext(long messageId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByGroupId(long groupId)
Returns all the message-boards messages that the user has permission to view where groupId = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages that the user has permissions to view where groupId = ?.
|
protected com.liferay.message.boards.kernel.model.MBMessage |
filterGetByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
filterGetByG_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long categoryId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
filterGetByG_C_T_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long categoryId,
long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
filterGetByG_C_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long categoryId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
filterGetByG_C_T_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long categoryId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
filterGetByG_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
filterGetByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
filterGetByG_U_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long userId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
List<com.liferay.message.boards.kernel.model.MBMessage> |
findAll()
Returns all the message-boards messages.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findAll(int start,
int end)
Returns a range of all the message-boards messages.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByC_C_PrevAndNext(long messageId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByC_C_S_First(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByC_C_S_Last(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByC_C_S_PrevAndNext(long messageId,
long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status)
Returns all the message-boards messages where classNameId = ? and classPK = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_C(long classNameId,
long classPK)
Returns all the message-boards messages where classNameId = ? and classPK = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the message-boards messages where classNameId = ? and classPK = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByC_S_First(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where companyId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByC_S_Last(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where companyId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByC_S_PrevAndNext(long messageId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where companyId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_S(long companyId,
int status)
Returns all the message-boards messages where companyId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_S(long companyId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where companyId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_S(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where companyId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByC_S(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where companyId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByCompanyId_PrevAndNext(long messageId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByCompanyId(long companyId)
Returns all the message-boards messages where companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the message-boards messages where companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_C_First(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_C_Last(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByG_C_PrevAndNext(long messageId,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_C_S_First(long groupId,
long categoryId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_C_S_Last(long groupId,
long categoryId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByG_C_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status)
Returns all the message-boards messages where groupId = ? and categoryId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_C_T_A_First(long groupId,
long categoryId,
long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_C_T_A_Last(long groupId,
long categoryId,
long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByG_C_T_A_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C_T_A(long groupId,
long categoryId,
long threadId,
boolean answer,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and answer = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_C_T_First(long groupId,
long categoryId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_C_T_Last(long groupId,
long categoryId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByG_C_T_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_C_T_S_First(long groupId,
long categoryId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_C_T_S_Last(long groupId,
long categoryId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByG_C_T_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId)
Returns all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C(long groupId,
long categoryId)
Returns all the message-boards messages where groupId = ? and categoryId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C(long groupId,
long categoryId,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and categoryId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and categoryId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByG_S_PrevAndNext(long messageId,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_S(long groupId,
int status)
Returns all the message-boards messages where groupId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByG_U_PrevAndNext(long messageId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_U_S_First(long groupId,
long userId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByG_U_S_Last(long groupId,
long userId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ? and userId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByG_U_S_PrevAndNext(long messageId,
long groupId,
long userId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_U_S(long groupId,
long userId,
int status)
Returns all the message-boards messages where groupId = ? and userId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_U_S(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_U_S(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_U(long groupId,
long userId)
Returns all the message-boards messages where groupId = ? and userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ? and userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ? and userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ? and userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByGroupId_PrevAndNext(long messageId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where groupId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByGroupId(long groupId)
Returns all the message-boards messages where groupId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the message-boards messages where groupId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where groupId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByPrimaryKey(long messageId)
Returns the message-boards message with the primary key or throws a
NoSuchMessageException if it could not be found. |
com.liferay.message.boards.kernel.model.MBMessage |
findByPrimaryKey(Serializable primaryKey)
Returns the message-boards message with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.message.boards.kernel.model.MBMessage |
findByT_A_First(long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and answer = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByT_A_Last(long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and answer = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByT_A_PrevAndNext(long messageId,
long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and answer = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_A(long threadId,
boolean answer)
Returns all the message-boards messages where threadId = ? and answer = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_A(long threadId,
boolean answer,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ? and answer = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_A(long threadId,
boolean answer,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ? and answer = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_A(long threadId,
boolean answer,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ? and answer = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByT_notS_First(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status ≠ ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByT_notS_Last(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status ≠ ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByT_notS_PrevAndNext(long messageId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status ≠ ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_notS(long threadId,
int status)
Returns all the message-boards messages where threadId = ? and status ≠ ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_notS(long threadId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ? and status ≠ ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_notS(long threadId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ? and status ≠ ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_notS(long threadId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ? and status ≠ ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByT_P_First(long threadId,
long parentMessageId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and parentMessageId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByT_P_Last(long threadId,
long parentMessageId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and parentMessageId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByT_P_PrevAndNext(long messageId,
long threadId,
long parentMessageId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and parentMessageId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_P(long threadId,
long parentMessageId)
Returns all the message-boards messages where threadId = ? and parentMessageId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_P(long threadId,
long parentMessageId,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ? and parentMessageId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_P(long threadId,
long parentMessageId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ? and parentMessageId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_P(long threadId,
long parentMessageId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ? and parentMessageId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByT_S_First(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByT_S_Last(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByT_S_PrevAndNext(long messageId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_S(long threadId,
int status)
Returns all the message-boards messages where threadId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_S(long threadId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_S(long threadId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByT_S(long threadId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByThreadId_First(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByThreadId_Last(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByThreadId_PrevAndNext(long messageId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByThreadId(long threadId)
Returns all the message-boards messages where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByThreadId(long threadId,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByThreadId(long threadId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByThreadId(long threadId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByThreadReplies_First(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByThreadReplies_Last(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByThreadReplies_PrevAndNext(long messageId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByThreadReplies(long threadId)
Returns all the message-boards messages where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByThreadReplies(long threadId,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByThreadReplies(long threadId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByThreadReplies(long threadId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByTR_S_First(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByTR_S_Last(long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByTR_S_PrevAndNext(long messageId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByTR_S(long threadId,
int status)
Returns all the message-boards messages where threadId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByTR_S(long threadId,
int status,
int start,
int end)
Returns a range of all the message-boards messages where threadId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByTR_S(long threadId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByTR_S(long threadId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where threadId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByU_C_C_First(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByU_C_C_Last(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByU_C_C_PrevAndNext(long messageId,
long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByU_C_C_S_First(long userId,
long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByU_C_C_S_Last(long userId,
long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByU_C_C_S_PrevAndNext(long messageId,
long userId,
long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_C_S(long userId,
long classNameId,
long classPK,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_C_S(long userId,
long classNameId,
long classPK,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_C(long userId,
long classNameId,
long classPK)
Returns all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and classPK = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByU_C_First(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByU_C_Last(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByU_C_PrevAndNext(long messageId,
long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ? and classNameId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByU_C_S_First(long userId,
long classNameId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByU_C_S_Last(long userId,
long classNameId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ? and classNameId = ? and status = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByU_C_S_PrevAndNext(long messageId,
long userId,
long classNameId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_S(long userId,
long[] classNameIds,
int status)
Returns all the message-boards messages where userId = ? and classNameId = any ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_S(long userId,
long[] classNameIds,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = any ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_S(long userId,
long[] classNameIds,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?, optionally using the finder cache.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_S(long userId,
long classNameId,
int status)
Returns all the message-boards messages where userId = ? and classNameId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.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 = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_S(long userId,
long classNameId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C_S(long userId,
long classNameId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ? and status = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C(long userId,
long classNameId)
Returns all the message-boards messages where userId = ? and classNameId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C(long userId,
long[] classNameIds)
Returns all the message-boards messages where userId = ? and classNameId = any ?.
|
List<com.liferay.message.boards.kernel.model.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 ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C(long userId,
long[] classNameIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = any ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C(long userId,
long[] classNameIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?, optionally using the finder cache.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C(long userId,
long classNameId,
int start,
int end)
Returns a range of all the message-boards messages where userId = ? and classNameId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C(long userId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByU_C(long userId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ? and classNameId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByUserId_PrevAndNext(long messageId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUserId(long userId)
Returns all the message-boards messages where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the message-boards messages where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where userId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByUuid_C_PrevAndNext(long messageId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUuid_C(String uuid,
long companyId)
Returns all the message-boards messages where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the message-boards messages where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the first message-boards message in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBMessage |
findByUUID_G(String uuid,
long groupId)
Returns the message-boards message where uuid = ? and groupId = ? or throws a
NoSuchMessageException if it could not be found. |
com.liferay.message.boards.kernel.model.MBMessage |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the last message-boards message in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBMessage[] |
findByUuid_PrevAndNext(long messageId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns the message-boards messages before and after the current message-boards message in the ordered set where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUuid(String uuid)
Returns all the message-boards messages where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the message-boards messages where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Returns an ordered range of all the message-boards messages where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBMessage> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message-boards messages where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByC_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByC_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByG_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long categoryId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByG_C_T_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long categoryId,
long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByG_C_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long categoryId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByG_C_T_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long categoryId,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByG_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByG_U_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
long userId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long threadId,
boolean answer,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByT_notS_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByT_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long threadId,
long parentMessageId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByT_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByThreadId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByThreadReplies_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByTR_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long threadId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByU_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByU_C_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long userId,
long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByU_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByU_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long userId,
long classNameId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMessage |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMessage mbMessage,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.message.boards.kernel.model.MBMessage |
remove(long messageId)
Removes the message-boards message with the primary key from the database.
|
com.liferay.message.boards.kernel.model.MBMessage |
remove(Serializable primaryKey)
Removes the message-boards message with the primary key from the database.
|
void |
removeAll()
Removes all the message-boards messages 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_C(long classNameId,
long classPK)
Removes all the message-boards messages where classNameId = ? and classPK = ? 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.
|
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_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_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(long groupId,
long categoryId)
Removes all the message-boards messages where groupId = ? and categoryId = ? 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_S(long groupId,
long userId,
int status)
Removes all the message-boards messages where groupId = ? and userId = ? 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 |
removeByGroupId(long groupId)
Removes all the message-boards messages where groupId = ? 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 |
removeByThreadReplies(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_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_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_S(long userId,
long classNameId,
int status)
Removes all the message-boards messages where userId = ? and classNameId = ? 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 |
removeByUserId(long userId)
Removes all the message-boards messages where userId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the message-boards messages where uuid = ? and companyId = ? from the database.
|
com.liferay.message.boards.kernel.model.MBMessage |
removeByUUID_G(String uuid,
long groupId)
Removes the message-boards message where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the message-boards messages where uuid = ? from the database.
|
protected com.liferay.message.boards.kernel.model.MBMessage |
removeImpl(com.liferay.message.boards.kernel.model.MBMessage mbMessage) |
com.liferay.message.boards.kernel.model.MBMessage |
updateImpl(com.liferay.message.boards.kernel.model.MBMessage mbMessage) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_THREADID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_THREADID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_THREADID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_THREADREPLIES
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_THREADREPLIES
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_THREADREPLIES
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_U_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_NOTS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_T_NOTS
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TR_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TR_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TR_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_U_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_T_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_T_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_T_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_T_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_C_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_C_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U_C_C_S
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
public List<com.liferay.message.boards.kernel.model.MBMessage> findByUuid(String uuid)
findByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByUuid_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByUuid_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByUuid_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByUuid_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByUuid_PrevAndNext(long messageId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByUuid_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messageuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByUuid(String uuid)
removeByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidpublic int countByUuid(String uuid)
countByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidpublic com.liferay.message.boards.kernel.model.MBMessage findByUUID_G(String uuid, long groupId) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
NoSuchMessageException
if it could not be found.findByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.fetchByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidgroupId
- the group IDnull
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage removeByUUID_G(String uuid, long groupId) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
removeByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.message.boards.kernel.exception.NoSuchMessageException
public int countByUUID_G(String uuid, long groupId)
countByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidgroupId
- the group IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByUuid_C(String uuid, long companyId)
findByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByUuid_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByUuid_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByUuid_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByUuid_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByUuid_C_PrevAndNext(long messageId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByUuid_C_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messageuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidcompanyId
- the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByGroupId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByGroupId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByGroupId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByGroupId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByGroupId_PrevAndNext(long messageId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByGroupId_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByGroupId(long groupId)
filterFindByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.message.boards.kernel.model.MBMessage[] filterFindByGroupId_PrevAndNext(long messageId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
filterFindByGroupId_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDpublic int filterCountByGroupId(long groupId)
filterCountByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByCompanyId(long companyId)
findByCompanyId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByCompanyId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByCompanyId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByCompanyId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByCompanyId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByCompanyId_PrevAndNext(long messageId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByCompanyId_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDpublic int countByCompanyId(long companyId)
countByCompanyId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByUserId(long userId)
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByUserId(long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByUserId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByUserId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByUserId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByUserId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByUserId_PrevAndNext(long messageId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByUserId_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messageuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByUserId(long userId)
removeByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDpublic int countByUserId(long userId)
countByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByThreadId(long threadId)
findByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByThreadId(long threadId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByThreadId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByThreadId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByThreadId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByThreadId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByThreadId_PrevAndNext(long messageId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByThreadId_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByThreadId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByThreadId(long threadId)
removeByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDpublic int countByThreadId(long threadId)
countByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByThreadReplies(long threadId)
findByThreadReplies
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByThreadReplies(long threadId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByThreadReplies
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByThreadReplies(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByThreadReplies
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByThreadReplies(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByThreadReplies
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByThreadReplies_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByThreadReplies_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByThreadReplies_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByThreadReplies_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByThreadReplies_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByThreadReplies_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByThreadReplies_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByThreadReplies_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByThreadReplies_PrevAndNext(long messageId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByThreadReplies_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByThreadReplies_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByThreadReplies(long threadId)
removeByThreadReplies
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDpublic int countByThreadReplies(long threadId)
countByThreadReplies
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_U(long groupId, long userId)
findByG_U
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_U(long groupId, long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_U_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_U_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_U_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_U_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByG_U_PrevAndNext(long messageId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_U_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_U(long groupId, long userId)
filterFindByG_U
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_U(long groupId, long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.message.boards.kernel.model.MBMessage[] filterFindByG_U_PrevAndNext(long messageId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
filterFindByG_U_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage filterGetByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByG_U(long groupId, long userId)
removeByG_U
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDpublic int countByG_U(long groupId, long userId)
countByG_U
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDpublic int filterCountByG_U(long groupId, long userId)
filterCountByG_U
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C(long groupId, long categoryId)
findByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C(long groupId, long categoryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByG_C_First(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_C_First(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByG_C_Last(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_C_Last(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByG_C_PrevAndNext(long messageId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C(long groupId, long categoryId)
filterFindByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C(long groupId, long categoryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.message.boards.kernel.model.MBMessage[] filterFindByG_C_PrevAndNext(long messageId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
filterFindByG_C_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage filterGetByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByG_C(long groupId, long categoryId)
removeByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDpublic int countByG_C(long groupId, long categoryId)
countByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDpublic int filterCountByG_C(long groupId, long categoryId)
filterCountByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_S(long groupId, int status)
findByG_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_S(long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByG_S_PrevAndNext(long messageId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByG_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_S(long groupId, int status)
filterFindByG_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_S(long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.message.boards.kernel.model.MBMessage[] filterFindByG_S_PrevAndNext(long messageId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
filterFindByG_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage filterGetByG_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByG_S(long groupId, int status)
removeByG_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statuspublic int countByG_S(long groupId, int status)
countByG_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statuspublic int filterCountByG_S(long groupId, int status)
filterCountByG_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByC_S(long companyId, int status)
findByC_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByC_S(long companyId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByC_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByC_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByC_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByC_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByC_S_PrevAndNext(long messageId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByC_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagecompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByC_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByC_S(long companyId, int status)
removeByC_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstatus
- the statuspublic int countByC_S(long companyId, int status)
countByC_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
companyId
- the company IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C(long userId, long classNameId)
findByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C(long userId, long classNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByU_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByU_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByU_C_PrevAndNext(long messageId, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messageuserId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByU_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C(long userId, long[] classNameIds)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameIds
- the class name IDspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C(long userId, long[] classNameIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameIds
- the class name IDsstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C(long userId, long[] classNameIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameIds
- the class name IDsstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C(long userId, long[] classNameIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeByU_C(long userId, long classNameId)
removeByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDpublic int countByU_C(long userId, long classNameId)
countByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDpublic int countByU_C(long userId, long[] classNameIds)
countByU_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameIds
- the class name IDspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByC_C(long classNameId, long classPK)
findByC_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByC_C(long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByC_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByC_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByC_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByC_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByC_C_PrevAndNext(long messageId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByC_C_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messageclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByC_C(long classNameId, long classPK)
removeByC_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkpublic int countByC_C(long classNameId, long classPK)
countByC_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByT_P(long threadId, long parentMessageId)
findByT_P
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDparentMessageId
- the parent message IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_P
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDparentMessageId
- the parent message IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_P
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDparentMessageId
- the parent message IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_P
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDparentMessageId
- the parent message IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByT_P_First(long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_P_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByT_P_First(long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByT_P_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByT_P_Last(long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_P_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByT_P_Last(long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByT_P_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByT_P_PrevAndNext(long messageId, long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_P_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDparentMessageId
- the parent message IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByT_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long threadId, long parentMessageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByT_P(long threadId, long parentMessageId)
removeByT_P
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDparentMessageId
- the parent message IDpublic int countByT_P(long threadId, long parentMessageId)
countByT_P
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDparentMessageId
- the parent message IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByT_A(long threadId, boolean answer)
findByT_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDanswer
- the answerpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByT_A(long threadId, boolean answer, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByT_A(long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByT_A(long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByT_A_First(long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_A_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByT_A_First(long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByT_A_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByT_A_Last(long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_A_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByT_A_Last(long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByT_A_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByT_A_PrevAndNext(long messageId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_A_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByT_A(long threadId, boolean answer)
removeByT_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDanswer
- the answerpublic int countByT_A(long threadId, boolean answer)
countByT_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDanswer
- the answerpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByT_S(long threadId, int status)
findByT_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByT_S(long threadId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByT_S(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByT_S(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByT_S_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByT_S_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByT_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByT_S_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByT_S_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByT_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByT_S_PrevAndNext(long messageId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByT_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByT_S(long threadId, int status)
removeByT_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statuspublic int countByT_S(long threadId, int status)
countByT_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByT_notS(long threadId, int status)
findByT_notS
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByT_notS(long threadId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_notS
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByT_notS(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_notS
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByT_notS(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_notS
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByT_notS_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_notS_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByT_notS_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByT_notS_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByT_notS_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_notS_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByT_notS_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByT_notS_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByT_notS_PrevAndNext(long messageId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByT_notS_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByT_notS_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByT_notS(long threadId, int status)
removeByT_notS
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statuspublic int countByT_notS(long threadId, int status)
countByT_notS
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByTR_S(long threadId, int status)
findByTR_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByTR_S(long threadId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByTR_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByTR_S(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByTR_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByTR_S(long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByTR_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByTR_S_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByTR_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByTR_S_First(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByTR_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByTR_S_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByTR_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByTR_S_Last(long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByTR_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByTR_S_PrevAndNext(long messageId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByTR_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByTR_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByTR_S(long threadId, int status)
removeByTR_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statuspublic int countByTR_S(long threadId, int status)
countByTR_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
threadId
- the thread IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_U_S(long groupId, long userId, int status)
findByG_U_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByG_U_S_First(long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_U_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_U_S_First(long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_U_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByG_U_S_Last(long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_U_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_U_S_Last(long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_U_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByG_U_S_PrevAndNext(long messageId, long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_U_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByG_U_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_U_S(long groupId, long userId, int status)
filterFindByG_U_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_U_S(long groupId, long userId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_U_S(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.message.boards.kernel.model.MBMessage[] filterFindByG_U_S_PrevAndNext(long messageId, long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
filterFindByG_U_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDuserId
- the user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage filterGetByG_U_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByG_U_S(long groupId, long userId, int status)
removeByG_U_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statuspublic int countByG_U_S(long groupId, long userId, int status)
countByG_U_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statuspublic int filterCountByG_U_S(long groupId, long userId, int status)
filterCountByG_U_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDuserId
- the user IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T(long groupId, long categoryId, long threadId)
findByG_C_T
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_T
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_T
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_T
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByG_C_T_First(long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_T_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_C_T_First(long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_C_T_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByG_C_T_Last(long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_T_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_C_T_Last(long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_C_T_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByG_C_T_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_T_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByG_C_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId)
filterFindByG_C_T
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_T
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_T
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.message.boards.kernel.model.MBMessage[] filterFindByG_C_T_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
filterFindByG_C_T_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage filterGetByG_C_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long categoryId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByG_C_T(long groupId, long categoryId, long threadId)
removeByG_C_T
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDpublic int countByG_C_T(long groupId, long categoryId, long threadId)
countByG_C_T
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDpublic int filterCountByG_C_T(long groupId, long categoryId, long threadId)
filterCountByG_C_T
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_S(long groupId, long categoryId, int status)
findByG_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByG_C_S_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_C_S_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_C_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByG_C_S_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_C_S_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_C_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByG_C_S_PrevAndNext(long messageId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByG_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status)
filterFindByG_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.message.boards.kernel.model.MBMessage[] filterFindByG_C_S_PrevAndNext(long messageId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
filterFindByG_C_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage filterGetByG_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByG_C_S(long groupId, long categoryId, int status)
removeByG_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic int countByG_C_S(long groupId, long categoryId, int status)
countByG_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic int filterCountByG_C_S(long groupId, long categoryId, int status)
filterCountByG_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_C(long userId, long classNameId, long classPK)
findByU_C_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_C(long userId, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByU_C_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByU_C_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByU_C_C_PrevAndNext(long messageId, long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_C_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messageuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByU_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByU_C_C(long userId, long classNameId, long classPK)
removeByU_C_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkpublic int countByU_C_C(long userId, long classNameId, long classPK)
countByU_C_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_S(long userId, long classNameId, int status)
findByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_S(long userId, long classNameId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_S(long userId, long classNameId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_S(long userId, long classNameId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByU_C_S_First(long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByU_C_S_First(long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByU_C_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByU_C_S_Last(long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByU_C_S_Last(long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByU_C_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByU_C_S_PrevAndNext(long messageId, long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messageuserId
- the user IDclassNameId
- the class name IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByU_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long userId, long classNameId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_S(long userId, long[] classNameIds, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameIds
- the class name IDsstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_S(long userId, long[] classNameIds, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameIds
- the class name IDsstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_S(long userId, long[] classNameIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameIds
- the class name IDsstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_S(long userId, long[] classNameIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeByU_C_S(long userId, long classNameId, int status)
removeByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statuspublic int countByU_C_S(long userId, long classNameId, int status)
countByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDstatus
- the statuspublic int countByU_C_S(long userId, long[] classNameIds, int status)
countByU_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameIds
- the class name IDsstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByC_C_S(long classNameId, long classPK, int status)
findByC_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByC_C_S_First(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByC_C_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByC_C_S_First(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByC_C_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByC_C_S_Last(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByC_C_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByC_C_S_Last(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByC_C_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByC_C_S_PrevAndNext(long messageId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByC_C_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messageclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByC_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByC_C_S(long classNameId, long classPK, int status)
removeByC_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic int countByC_C_S(long classNameId, long classPK, int status)
countByC_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
classNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer)
findByG_C_T_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_T_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_T_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_T_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByG_C_T_A_First(long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_T_A_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_C_T_A_First(long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_C_T_A_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByG_C_T_A_Last(long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_T_A_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_C_T_A_Last(long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_C_T_A_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByG_C_T_A_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_T_A_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByG_C_T_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer)
filterFindByG_C_T_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerpublic List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_T_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_T_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.message.boards.kernel.model.MBMessage[] filterFindByG_C_T_A_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
filterFindByG_C_T_A_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage filterGetByG_C_T_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long categoryId, long threadId, boolean answer, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer)
removeByG_C_T_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerpublic int countByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer)
countByG_C_T_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerpublic int filterCountByG_C_T_A(long groupId, long categoryId, long threadId, boolean answer)
filterCountByG_C_T_A
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDanswer
- the answerpublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status)
findByG_C_T_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_T_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_T_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_T_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByG_C_T_S_First(long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_T_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_C_T_S_First(long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_C_T_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByG_C_T_S_Last(long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_T_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByG_C_T_S_Last(long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByG_C_T_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByG_C_T_S_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByG_C_T_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByG_C_T_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status)
filterFindByG_C_T_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_T_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_T_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.message.boards.kernel.model.MBMessage[] filterFindByG_C_T_S_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
filterFindByG_C_T_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage filterGetByG_C_T_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long groupId, long categoryId, long threadId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByG_C_T_S(long groupId, long categoryId, long threadId, int status)
removeByG_C_T_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statuspublic int countByG_C_T_S(long groupId, long categoryId, long threadId, int status)
countByG_C_T_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statuspublic int filterCountByG_C_T_S(long groupId, long categoryId, long threadId, int status)
filterCountByG_C_T_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
groupId
- the group IDcategoryId
- the category IDthreadId
- the thread IDstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_C_S(long userId, long classNameId, long classPK, int status)
findByU_C_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_C_S(long userId, long classNameId, long classPK, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_C_S(long userId, long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findByU_C_C_S(long userId, long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_C_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBMessage findByU_C_C_S_First(long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_C_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByU_C_C_S_First(long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByU_C_C_S_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByU_C_C_S_Last(long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_C_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByU_C_C_S_Last(long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
fetchByU_C_C_S_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message-boards message could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage[] findByU_C_C_S_PrevAndNext(long messageId, long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
findByU_C_C_S_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the current message-boards messageuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage getByU_C_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMessage mbMessage, long userId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean previous)
public void removeByU_C_C_S(long userId, long classNameId, long classPK, int status)
removeByU_C_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic int countByU_C_C_S(long userId, long classNameId, long classPK, int status)
countByU_C_C_S
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstatus
- the statuspublic void cacheResult(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
cacheResult
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
mbMessage
- the message-boards messagepublic void cacheResult(List<com.liferay.message.boards.kernel.model.MBMessage> mbMessages)
cacheResult
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
mbMessages
- the message-boards messagespublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMessage>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
public void clearCache(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMessage>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
public void clearCache(List<com.liferay.message.boards.kernel.model.MBMessage> mbMessages)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMessage>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
protected void cacheUniqueFindersCache(MBMessageModelImpl mbMessageModelImpl)
protected void clearUniqueFindersCache(MBMessageModelImpl mbMessageModelImpl, boolean clearCurrent)
public com.liferay.message.boards.kernel.model.MBMessage create(long messageId)
create
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key for the new message-boards messagepublic com.liferay.message.boards.kernel.model.MBMessage remove(long messageId) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
remove
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the message-boards messagecom.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage remove(Serializable primaryKey) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMessage>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
primaryKey
- the primary key of the message-boards messagecom.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMessage removeImpl(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
public com.liferay.message.boards.kernel.model.MBMessage updateImpl(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
updateImpl
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
public com.liferay.message.boards.kernel.model.MBMessage findByPrimaryKey(Serializable primaryKey) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMessage>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
primaryKey
- the primary key of the message-boards messagecom.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage findByPrimaryKey(long messageId) throws com.liferay.message.boards.kernel.exception.NoSuchMessageException
NoSuchMessageException
if it could not be found.findByPrimaryKey
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the message-boards messagecom.liferay.message.boards.kernel.exception.NoSuchMessageException
- if a message-boards message with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMessage>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
primaryKey
- the primary key of the message-boards messagenull
if a message-boards message with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBMessage fetchByPrimaryKey(long messageId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
messageId
- the primary key of the message-boards messagenull
if a message-boards message with the primary key could not be foundpublic Map<Serializable,com.liferay.message.boards.kernel.model.MBMessage> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMessage>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
public List<com.liferay.message.boards.kernel.model.MBMessage> findAll()
findAll
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
public List<com.liferay.message.boards.kernel.model.MBMessage> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
start
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
start
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMessage> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBMessageModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
start
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
public int countAll()
countAll
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMessage>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMessage>
public void afterPropertiesSet()
public void destroy()