|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<MBMessage> com.liferay.portlet.messageboards.service.persistence.MBMessagePersistenceImpl
public class MBMessagePersistenceImpl
The persistence implementation for the message-boards message service.
Never modify or reference this class directly. Always use MBMessageUtil
to access the message-boards message persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
MBMessagePersistence
,
MBMessageUtil
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
COUNT_COLUMN_NAME, listeners, 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 Summary | |
---|---|
MBMessagePersistenceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the message-boards message persistence. |
void |
cacheResult(List<MBMessage> mbMessages)
Caches the message-boards messages in the entity cache if it is enabled. |
void |
cacheResult(MBMessage mbMessage)
Caches the message-boards message in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all message-boards messages. |
void |
clearCache(MBMessage mbMessage)
Clears the cache for the message-boards message. |
int |
countAll()
Counts all the message-boards messages. |
int |
countByC_C_S(long classNameId,
long classPK,
int status)
Counts all the message-boards messages where classNameId = ? and classPK = ? and status = ?. |
int |
countByC_C(long classNameId,
long classPK)
Counts all the message-boards messages where classNameId = ? and classPK = ?. |
int |
countByC_S(long companyId,
int status)
Counts all the message-boards messages where companyId = ? and status = ?. |
int |
countByCompanyId(long companyId)
Counts all the message-boards messages where companyId = ?. |
int |
countByG_C_S(long groupId,
long categoryId,
int status)
Counts all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
int |
countByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
Counts all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?. |
int |
countByG_C_T(long groupId,
long categoryId,
long threadId)
Counts all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
int |
countByG_C(long groupId,
long categoryId)
Counts all the message-boards messages where groupId = ? and categoryId = ?. |
int |
countByG_S(long groupId,
int status)
Counts all the message-boards messages where groupId = ? and status = ?. |
int |
countByG_U_S(long groupId,
long userId,
int status)
Counts all the message-boards messages where groupId = ? and userId = ? and status = ?. |
int |
countByG_U(long groupId,
long userId)
Counts all the message-boards messages where groupId = ? and userId = ?. |
int |
countByGroupId(long groupId)
Counts all the message-boards messages where groupId = ?. |
int |
countByT_P(long threadId,
long parentMessageId)
Counts all the message-boards messages where threadId = ? and parentMessageId = ?. |
int |
countByT_S(long threadId,
int status)
Counts all the message-boards messages where threadId = ? and status = ?. |
int |
countByThreadId(long threadId)
Counts all the message-boards messages where threadId = ?. |
int |
countByThreadReplies(long threadId)
Counts all the message-boards messages where threadId = ?. |
int |
countByTR_S(long threadId,
int status)
Counts all the message-boards messages where threadId = ? and status = ?. |
int |
countByUserId(long userId)
Counts all the message-boards messages where userId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Counts all the message-boards messages where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Counts all the message-boards messages where uuid = ?. |
MBMessage |
create(long messageId)
Creates a new message-boards message with the primary key. |
MBMessage |
fetchByPrimaryKey(long messageId)
Finds the message-boards message with the primary key or returns null if it could not be found. |
MBMessage |
fetchByPrimaryKey(Serializable primaryKey)
Finds the message-boards message with the primary key or returns null if it could not be found. |
MBMessage |
fetchByUUID_G(String uuid,
long groupId)
Finds the message-boards message where uuid = ? and groupId = ? or returns null if it could not be found. |
MBMessage |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Finds the message-boards message where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
int |
filterCountByG_C_S(long groupId,
long categoryId,
int status)
Filters by the user's permissions and counts all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
int |
filterCountByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
Filters by the user's permissions and counts all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?. |
int |
filterCountByG_C_T(long groupId,
long categoryId,
long threadId)
Filters by the user's permissions and counts all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
int |
filterCountByG_C(long groupId,
long categoryId)
Filters by the user's permissions and counts all the message-boards messages where groupId = ? and categoryId = ?. |
int |
filterCountByG_S(long groupId,
int status)
Filters by the user's permissions and counts all the message-boards messages where groupId = ? and status = ?. |
int |
filterCountByG_U_S(long groupId,
long userId,
int status)
Filters by the user's permissions and counts all the message-boards messages where groupId = ? and userId = ? and status = ?. |
int |
filterCountByG_U(long groupId,
long userId)
Filters by the user's permissions and counts all the message-boards messages where groupId = ? and userId = ?. |
int |
filterCountByGroupId(long groupId)
Filters by the user's permissions and counts all the message-boards messages where groupId = ?. |
List<MBMessage> |
filterFindByG_C_S(long groupId,
long categoryId,
int status)
Filters by the user's permissions and finds all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
List<MBMessage> |
filterFindByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
Filters by the user's permissions and finds a range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
List<MBMessage> |
filterFindByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
List<MBMessage> |
filterFindByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
Filters by the user's permissions and finds all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?. |
List<MBMessage> |
filterFindByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end)
Filters by the user's permissions and finds a range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?. |
List<MBMessage> |
filterFindByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?. |
List<MBMessage> |
filterFindByG_C_T(long groupId,
long categoryId,
long threadId)
Filters by the user's permissions and finds all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
List<MBMessage> |
filterFindByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end)
Filters by the user's permissions and finds a range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
List<MBMessage> |
filterFindByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
List<MBMessage> |
filterFindByG_C(long groupId,
long categoryId)
Filters by the user's permissions and finds all the message-boards messages where groupId = ? and categoryId = ?. |
List<MBMessage> |
filterFindByG_C(long groupId,
long categoryId,
int start,
int end)
Filters by the user's permissions and finds a range of all the message-boards messages where groupId = ? and categoryId = ?. |
List<MBMessage> |
filterFindByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the message-boards messages where groupId = ? and categoryId = ?. |
List<MBMessage> |
filterFindByG_S(long groupId,
int status)
Filters by the user's permissions and finds all the message-boards messages where groupId = ? and status = ?. |
List<MBMessage> |
filterFindByG_S(long groupId,
int status,
int start,
int end)
Filters by the user's permissions and finds a range of all the message-boards messages where groupId = ? and status = ?. |
List<MBMessage> |
filterFindByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the message-boards messages where groupId = ? and status = ?. |
List<MBMessage> |
filterFindByG_U_S(long groupId,
long userId,
int status)
Filters by the user's permissions and finds all the message-boards messages where groupId = ? and userId = ? and status = ?. |
List<MBMessage> |
filterFindByG_U_S(long groupId,
long userId,
int status,
int start,
int end)
Filters by the user's permissions and finds a range of all the message-boards messages where groupId = ? and userId = ? and status = ?. |
List<MBMessage> |
filterFindByG_U_S(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?. |
List<MBMessage> |
filterFindByG_U(long groupId,
long userId)
Filters by the user's permissions and finds all the message-boards messages where groupId = ? and userId = ?. |
List<MBMessage> |
filterFindByG_U(long groupId,
long userId,
int start,
int end)
Filters by the user's permissions and finds a range of all the message-boards messages where groupId = ? and userId = ?. |
List<MBMessage> |
filterFindByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the message-boards messages where groupId = ? and userId = ?. |
List<MBMessage> |
filterFindByGroupId(long groupId)
Filters by the user's permissions and finds all the message-boards messages where groupId = ?. |
List<MBMessage> |
filterFindByGroupId(long groupId,
int start,
int end)
Filters by the user's permissions and finds a range of all the message-boards messages where groupId = ?. |
List<MBMessage> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the message-boards messages where groupId = ?. |
List<MBMessage> |
findAll()
Finds all the message-boards messages. |
List<MBMessage> |
findAll(int start,
int end)
Finds a range of all the message-boards messages. |
List<MBMessage> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages. |
MBMessage |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where classNameId = ? and classPK = ?. |
MBMessage |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where classNameId = ? and classPK = ?. |
MBMessage[] |
findByC_C_PrevAndNext(long messageId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where classNameId = ? and classPK = ?. |
MBMessage |
findByC_C_S_First(long classNameId,
long classPK,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?. |
MBMessage |
findByC_C_S_Last(long classNameId,
long classPK,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?. |
MBMessage[] |
findByC_C_S_PrevAndNext(long messageId,
long classNameId,
long classPK,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?. |
List<MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status)
Finds all the message-boards messages where classNameId = ? and classPK = ? and status = ?. |
List<MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end)
Finds a range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?. |
List<MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?. |
List<MBMessage> |
findByC_C(long classNameId,
long classPK)
Finds all the message-boards messages where classNameId = ? and classPK = ?. |
List<MBMessage> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Finds a range of all the message-boards messages where classNameId = ? and classPK = ?. |
List<MBMessage> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where classNameId = ? and classPK = ?. |
MBMessage |
findByC_S_First(long companyId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where companyId = ? and status = ?. |
MBMessage |
findByC_S_Last(long companyId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where companyId = ? and status = ?. |
MBMessage[] |
findByC_S_PrevAndNext(long messageId,
long companyId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where companyId = ? and status = ?. |
List<MBMessage> |
findByC_S(long companyId,
int status)
Finds all the message-boards messages where companyId = ? and status = ?. |
List<MBMessage> |
findByC_S(long companyId,
int status,
int start,
int end)
Finds a range of all the message-boards messages where companyId = ? and status = ?. |
List<MBMessage> |
findByC_S(long companyId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where companyId = ? and status = ?. |
MBMessage |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where companyId = ?. |
MBMessage |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where companyId = ?. |
MBMessage[] |
findByCompanyId_PrevAndNext(long messageId,
long companyId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where companyId = ?. |
List<MBMessage> |
findByCompanyId(long companyId)
Finds all the message-boards messages where companyId = ?. |
List<MBMessage> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the message-boards messages where companyId = ?. |
List<MBMessage> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where companyId = ?. |
MBMessage |
findByG_C_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and categoryId = ?. |
MBMessage |
findByG_C_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and categoryId = ?. |
MBMessage[] |
findByG_C_PrevAndNext(long messageId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ?. |
MBMessage |
findByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?. |
MBMessage |
findByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?. |
MBMessage[] |
findByG_C_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?. |
List<MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status)
Finds all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
List<MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
List<MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
MBMessage |
findByG_C_T_First(long groupId,
long categoryId,
long threadId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?. |
MBMessage |
findByG_C_T_Last(long groupId,
long categoryId,
long threadId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?. |
MBMessage[] |
findByG_C_T_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ?. |
MBMessage |
findByG_C_T_S_First(long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?. |
MBMessage |
findByG_C_T_S_Last(long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and categoryId = ? and threadId = ? and status = ?. |
MBMessage[] |
findByG_C_T_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator orderByComparator)
Finds 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<MBMessage> |
findByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
Finds all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?. |
List<MBMessage> |
findByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?. |
List<MBMessage> |
findByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ?. |
List<MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId)
Finds all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
List<MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
List<MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
List<MBMessage> |
findByG_C(long groupId,
long categoryId)
Finds all the message-boards messages where groupId = ? and categoryId = ?. |
List<MBMessage> |
findByG_C(long groupId,
long categoryId,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ? and categoryId = ?. |
List<MBMessage> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ? and categoryId = ?. |
MBMessage |
findByG_S_First(long groupId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and status = ?. |
MBMessage |
findByG_S_Last(long groupId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and status = ?. |
MBMessage[] |
findByG_S_PrevAndNext(long messageId,
long groupId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and status = ?. |
List<MBMessage> |
findByG_S(long groupId,
int status)
Finds all the message-boards messages where groupId = ? and status = ?. |
List<MBMessage> |
findByG_S(long groupId,
int status,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ? and status = ?. |
List<MBMessage> |
findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ? and status = ?. |
MBMessage |
findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and userId = ?. |
MBMessage |
findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and userId = ?. |
MBMessage[] |
findByG_U_PrevAndNext(long messageId,
long groupId,
long userId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and userId = ?. |
MBMessage |
findByG_U_S_First(long groupId,
long userId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and userId = ? and status = ?. |
MBMessage |
findByG_U_S_Last(long groupId,
long userId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and userId = ? and status = ?. |
MBMessage[] |
findByG_U_S_PrevAndNext(long messageId,
long groupId,
long userId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and userId = ? and status = ?. |
List<MBMessage> |
findByG_U_S(long groupId,
long userId,
int status)
Finds all the message-boards messages where groupId = ? and userId = ? and status = ?. |
List<MBMessage> |
findByG_U_S(long groupId,
long userId,
int status,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ? and userId = ? and status = ?. |
List<MBMessage> |
findByG_U_S(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?. |
List<MBMessage> |
findByG_U(long groupId,
long userId)
Finds all the message-boards messages where groupId = ? and userId = ?. |
List<MBMessage> |
findByG_U(long groupId,
long userId,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ? and userId = ?. |
List<MBMessage> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ? and userId = ?. |
MBMessage |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ?. |
MBMessage |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ?. |
MBMessage[] |
findByGroupId_PrevAndNext(long messageId,
long groupId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ?. |
List<MBMessage> |
findByGroupId(long groupId)
Finds all the message-boards messages where groupId = ?. |
List<MBMessage> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ?. |
List<MBMessage> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ?. |
MBMessage |
findByPrimaryKey(long messageId)
Finds the message-boards message with the primary key or throws a NoSuchMessageException if it could not be found. |
MBMessage |
findByPrimaryKey(Serializable primaryKey)
Finds the message-boards message with the primary key or throws a NoSuchModelException if it could not be found. |
MBMessage |
findByT_P_First(long threadId,
long parentMessageId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where threadId = ? and parentMessageId = ?. |
MBMessage |
findByT_P_Last(long threadId,
long parentMessageId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where threadId = ? and parentMessageId = ?. |
MBMessage[] |
findByT_P_PrevAndNext(long messageId,
long threadId,
long parentMessageId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and parentMessageId = ?. |
List<MBMessage> |
findByT_P(long threadId,
long parentMessageId)
Finds all the message-boards messages where threadId = ? and parentMessageId = ?. |
List<MBMessage> |
findByT_P(long threadId,
long parentMessageId,
int start,
int end)
Finds a range of all the message-boards messages where threadId = ? and parentMessageId = ?. |
List<MBMessage> |
findByT_P(long threadId,
long parentMessageId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where threadId = ? and parentMessageId = ?. |
MBMessage |
findByT_S_First(long threadId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where threadId = ? and status = ?. |
MBMessage |
findByT_S_Last(long threadId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where threadId = ? and status = ?. |
MBMessage[] |
findByT_S_PrevAndNext(long messageId,
long threadId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?. |
List<MBMessage> |
findByT_S(long threadId,
int status)
Finds all the message-boards messages where threadId = ? and status = ?. |
List<MBMessage> |
findByT_S(long threadId,
int status,
int start,
int end)
Finds a range of all the message-boards messages where threadId = ? and status = ?. |
List<MBMessage> |
findByT_S(long threadId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where threadId = ? and status = ?. |
MBMessage |
findByThreadId_First(long threadId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where threadId = ?. |
MBMessage |
findByThreadId_Last(long threadId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where threadId = ?. |
MBMessage[] |
findByThreadId_PrevAndNext(long messageId,
long threadId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where threadId = ?. |
List<MBMessage> |
findByThreadId(long threadId)
Finds all the message-boards messages where threadId = ?. |
List<MBMessage> |
findByThreadId(long threadId,
int start,
int end)
Finds a range of all the message-boards messages where threadId = ?. |
List<MBMessage> |
findByThreadId(long threadId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where threadId = ?. |
MBMessage |
findByThreadReplies_First(long threadId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where threadId = ?. |
MBMessage |
findByThreadReplies_Last(long threadId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where threadId = ?. |
MBMessage[] |
findByThreadReplies_PrevAndNext(long messageId,
long threadId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where threadId = ?. |
List<MBMessage> |
findByThreadReplies(long threadId)
Finds all the message-boards messages where threadId = ?. |
List<MBMessage> |
findByThreadReplies(long threadId,
int start,
int end)
Finds a range of all the message-boards messages where threadId = ?. |
List<MBMessage> |
findByThreadReplies(long threadId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where threadId = ?. |
MBMessage |
findByTR_S_First(long threadId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where threadId = ? and status = ?. |
MBMessage |
findByTR_S_Last(long threadId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where threadId = ? and status = ?. |
MBMessage[] |
findByTR_S_PrevAndNext(long messageId,
long threadId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?. |
List<MBMessage> |
findByTR_S(long threadId,
int status)
Finds all the message-boards messages where threadId = ? and status = ?. |
List<MBMessage> |
findByTR_S(long threadId,
int status,
int start,
int end)
Finds a range of all the message-boards messages where threadId = ? and status = ?. |
List<MBMessage> |
findByTR_S(long threadId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where threadId = ? and status = ?. |
MBMessage |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where userId = ?. |
MBMessage |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where userId = ?. |
MBMessage[] |
findByUserId_PrevAndNext(long messageId,
long userId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where userId = ?. |
List<MBMessage> |
findByUserId(long userId)
Finds all the message-boards messages where userId = ?. |
List<MBMessage> |
findByUserId(long userId,
int start,
int end)
Finds a range of all the message-boards messages where userId = ?. |
List<MBMessage> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where userId = ?. |
MBMessage |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where uuid = ?. |
MBMessage |
findByUUID_G(String uuid,
long groupId)
Finds the message-boards message where uuid = ? and groupId = ? or throws a NoSuchMessageException if it could not be found. |
MBMessage |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where uuid = ?. |
MBMessage[] |
findByUuid_PrevAndNext(long messageId,
String uuid,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where uuid = ?. |
List<MBMessage> |
findByUuid(String uuid)
Finds all the message-boards messages where uuid = ?. |
List<MBMessage> |
findByUuid(String uuid,
int start,
int end)
Finds a range of all the message-boards messages where uuid = ?. |
List<MBMessage> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where uuid = ?. |
protected MBMessage |
getByC_C_PrevAndNext(Session session,
MBMessage mbMessage,
long classNameId,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByC_C_S_PrevAndNext(Session session,
MBMessage mbMessage,
long classNameId,
long classPK,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByC_S_PrevAndNext(Session session,
MBMessage mbMessage,
long companyId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByCompanyId_PrevAndNext(Session session,
MBMessage mbMessage,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByG_C_PrevAndNext(Session session,
MBMessage mbMessage,
long groupId,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByG_C_S_PrevAndNext(Session session,
MBMessage mbMessage,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByG_C_T_PrevAndNext(Session session,
MBMessage mbMessage,
long groupId,
long categoryId,
long threadId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByG_C_T_S_PrevAndNext(Session session,
MBMessage mbMessage,
long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByG_S_PrevAndNext(Session session,
MBMessage mbMessage,
long groupId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByG_U_PrevAndNext(Session session,
MBMessage mbMessage,
long groupId,
long userId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByG_U_S_PrevAndNext(Session session,
MBMessage mbMessage,
long groupId,
long userId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByGroupId_PrevAndNext(Session session,
MBMessage mbMessage,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByT_P_PrevAndNext(Session session,
MBMessage mbMessage,
long threadId,
long parentMessageId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByT_S_PrevAndNext(Session session,
MBMessage mbMessage,
long threadId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByThreadId_PrevAndNext(Session session,
MBMessage mbMessage,
long threadId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByThreadReplies_PrevAndNext(Session session,
MBMessage mbMessage,
long threadId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByTR_S_PrevAndNext(Session session,
MBMessage mbMessage,
long threadId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByUserId_PrevAndNext(Session session,
MBMessage mbMessage,
long userId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessage |
getByUuid_PrevAndNext(Session session,
MBMessage mbMessage,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
MBMessage |
remove(long messageId)
Removes the message-boards message with the primary key from the database. |
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_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_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 |
removeByUserId(long userId)
Removes all the message-boards messages where userId = ? from the database. |
void |
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 MBMessage |
removeImpl(MBMessage mbMessage)
Removes the model instance from the database. |
protected MBMessage |
toUnwrappedModel(MBMessage mbMessage)
|
MBMessage |
updateImpl(MBMessage mbMessage,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
Field Detail |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_FIND_BY_THREADID
public static final FinderPath FINDER_PATH_COUNT_BY_THREADID
public static final FinderPath FINDER_PATH_FIND_BY_THREADREPLIES
public static final FinderPath FINDER_PATH_COUNT_BY_THREADREPLIES
public static final FinderPath FINDER_PATH_FIND_BY_USERID
public static final FinderPath FINDER_PATH_COUNT_BY_USERID
public static final FinderPath FINDER_PATH_FIND_BY_G_U
public static final FinderPath FINDER_PATH_COUNT_BY_G_U
public static final FinderPath FINDER_PATH_FIND_BY_G_C
public static final FinderPath FINDER_PATH_COUNT_BY_G_C
public static final FinderPath FINDER_PATH_FIND_BY_G_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_S
public static final FinderPath FINDER_PATH_FIND_BY_C_S
public static final FinderPath FINDER_PATH_COUNT_BY_C_S
public static final FinderPath FINDER_PATH_FIND_BY_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_C_C
public static final FinderPath FINDER_PATH_FIND_BY_T_P
public static final FinderPath FINDER_PATH_COUNT_BY_T_P
public static final FinderPath FINDER_PATH_FIND_BY_T_S
public static final FinderPath FINDER_PATH_COUNT_BY_T_S
public static final FinderPath FINDER_PATH_FIND_BY_TR_S
public static final FinderPath FINDER_PATH_COUNT_BY_TR_S
public static final FinderPath FINDER_PATH_FIND_BY_G_U_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_U_S
public static final FinderPath FINDER_PATH_FIND_BY_G_C_T
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_T
public static final FinderPath FINDER_PATH_FIND_BY_G_C_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_S
public static final FinderPath FINDER_PATH_FIND_BY_C_C_S
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_S
public static final FinderPath FINDER_PATH_FIND_BY_G_C_T_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_T_S
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=MBBanPersistence.class) protected MBBanPersistence mbBanPersistence
@BeanReference(type=MBCategoryPersistence.class) protected MBCategoryPersistence mbCategoryPersistence
@BeanReference(type=MBDiscussionPersistence.class) protected MBDiscussionPersistence mbDiscussionPersistence
@BeanReference(type=MBMailingListPersistence.class) protected MBMailingListPersistence mbMailingListPersistence
@BeanReference(type=MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence
@BeanReference(type=MBMessageFlagPersistence.class) protected MBMessageFlagPersistence mbMessageFlagPersistence
@BeanReference(type=MBStatsUserPersistence.class) protected MBStatsUserPersistence mbStatsUserPersistence
@BeanReference(type=MBThreadPersistence.class) protected MBThreadPersistence mbThreadPersistence
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=LockPersistence.class) protected LockPersistence lockPersistence
@BeanReference(type=PortletPreferencesPersistence.class) protected PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=SubscriptionPersistence.class) protected SubscriptionPersistence subscriptionPersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=BlogsEntryPersistence.class) protected BlogsEntryPersistence blogsEntryPersistence
@BeanReference(type=ExpandoValuePersistence.class) protected ExpandoValuePersistence expandoValuePersistence
@BeanReference(type=RatingsStatsPersistence.class) protected RatingsStatsPersistence ratingsStatsPersistence
@BeanReference(type=SocialActivityPersistence.class) protected SocialActivityPersistence socialActivityPersistence
@BeanReference(type=SocialEquityLogPersistence.class) protected SocialEquityLogPersistence socialEquityLogPersistence
Constructor Detail |
---|
public MBMessagePersistenceImpl()
Method Detail |
---|
public void cacheResult(MBMessage mbMessage)
cacheResult
in interface MBMessagePersistence
mbMessage
- the message-boards message to cachepublic void cacheResult(List<MBMessage> mbMessages)
cacheResult
in interface MBMessagePersistence
mbMessages
- the message-boards messages to cachepublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<MBMessage>
clearCache
in class BasePersistenceImpl<MBMessage>
public void clearCache(MBMessage mbMessage)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<MBMessage>
clearCache
in class BasePersistenceImpl<MBMessage>
mbMessage
- the instance of this model to clear the cache forpublic MBMessage create(long messageId)
create
in interface MBMessagePersistence
messageId
- the primary key for the new message-boards message
public MBMessage remove(Serializable primaryKey) throws NoSuchModelException, SystemException
remove
in interface BasePersistence<MBMessage>
remove
in class BasePersistenceImpl<MBMessage>
primaryKey
- the primary key of the message-boards message to remove
NoSuchModelException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredpublic MBMessage remove(long messageId) throws NoSuchMessageException, SystemException
remove
in interface MBMessagePersistence
messageId
- the primary key of the message-boards message to remove
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage removeImpl(MBMessage mbMessage) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<MBMessage>
mbMessage
- the model instance to remove
SystemException
- if a system exception occurredpublic MBMessage updateImpl(MBMessage mbMessage, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface MBMessagePersistence
updateImpl
in class BasePersistenceImpl<MBMessage>
mbMessage
- the model instance to updatemerge
- whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredprotected MBMessage toUnwrappedModel(MBMessage mbMessage)
public MBMessage findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<MBMessage>
findByPrimaryKey
in class BasePersistenceImpl<MBMessage>
primaryKey
- the primary key of the message-boards message to find
NoSuchModelException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredpublic MBMessage findByPrimaryKey(long messageId) throws NoSuchMessageException, SystemException
NoSuchMessageException
if it could not be found.
findByPrimaryKey
in interface MBMessagePersistence
messageId
- the primary key of the message-boards message to find
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredpublic MBMessage fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<MBMessage>
fetchByPrimaryKey
in class BasePersistenceImpl<MBMessage>
primaryKey
- the primary key of the message-boards message to find
null
if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredpublic MBMessage fetchByPrimaryKey(long messageId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface MBMessagePersistence
messageId
- the primary key of the message-boards message to find
null
if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredpublic List<MBMessage> findByUuid(String uuid) throws SystemException
findByUuid
in interface MBMessagePersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid
in interface MBMessagePersistence
uuid
- the uuid to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid
in interface MBMessagePersistence
uuid
- the uuid to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid_First
in interface MBMessagePersistence
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid_Last
in interface MBMessagePersistence
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByUuid_PrevAndNext(long messageId, String uuid, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messageuuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByUuid_PrevAndNext(Session session, MBMessage mbMessage, String uuid, OrderByComparator orderByComparator, boolean previous)
public MBMessage findByUUID_G(String uuid, long groupId) throws NoSuchMessageException, SystemException
NoSuchMessageException
if it could not be found.
findByUUID_G
in interface MBMessagePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByUUID_G
in interface MBMessagePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByUUID_G
in interface MBMessagePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic List<MBMessage> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface MBMessagePersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId
in interface MBMessagePersistence
groupId
- the group id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId
in interface MBMessagePersistence
groupId
- the group id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId_First
in interface MBMessagePersistence
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId_Last
in interface MBMessagePersistence
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByGroupId_PrevAndNext(long messageId, long groupId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByGroupId_PrevAndNext(Session session, MBMessage mbMessage, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> filterFindByGroupId(long groupId) throws SystemException
filterFindByGroupId
in interface MBMessagePersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByGroupId
in interface MBMessagePersistence
groupId
- the group id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByGroupId
in interface MBMessagePersistence
groupId
- the group id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<MBMessage> findByCompanyId(long companyId) throws SystemException
findByCompanyId
in interface MBMessagePersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByCompanyId
in interface MBMessagePersistence
companyId
- the company id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByCompanyId
in interface MBMessagePersistence
companyId
- the company id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByCompanyId_First
in interface MBMessagePersistence
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByCompanyId_Last
in interface MBMessagePersistence
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByCompanyId_PrevAndNext(long messageId, long companyId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByCompanyId_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagecompanyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByCompanyId_PrevAndNext(Session session, MBMessage mbMessage, long companyId, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> findByThreadId(long threadId) throws SystemException
findByThreadId
in interface MBMessagePersistence
threadId
- the thread id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByThreadId(long threadId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByThreadId
in interface MBMessagePersistence
threadId
- the thread id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByThreadId(long threadId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByThreadId
in interface MBMessagePersistence
threadId
- the thread id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByThreadId_First(long threadId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByThreadId_First
in interface MBMessagePersistence
threadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByThreadId_Last(long threadId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByThreadId_Last
in interface MBMessagePersistence
threadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByThreadId_PrevAndNext(long messageId, long threadId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByThreadId_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByThreadId_PrevAndNext(Session session, MBMessage mbMessage, long threadId, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> findByThreadReplies(long threadId) throws SystemException
findByThreadReplies
in interface MBMessagePersistence
threadId
- the thread id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByThreadReplies(long threadId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByThreadReplies
in interface MBMessagePersistence
threadId
- the thread id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByThreadReplies(long threadId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByThreadReplies
in interface MBMessagePersistence
threadId
- the thread id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByThreadReplies_First(long threadId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByThreadReplies_First
in interface MBMessagePersistence
threadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByThreadReplies_Last(long threadId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByThreadReplies_Last
in interface MBMessagePersistence
threadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByThreadReplies_PrevAndNext(long messageId, long threadId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByThreadReplies_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByThreadReplies_PrevAndNext(Session session, MBMessage mbMessage, long threadId, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> findByUserId(long userId) throws SystemException
findByUserId
in interface MBMessagePersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByUserId(long userId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUserId
in interface MBMessagePersistence
userId
- the user id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUserId
in interface MBMessagePersistence
userId
- the user id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByUserId_First(long userId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUserId_First
in interface MBMessagePersistence
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByUserId_Last(long userId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUserId_Last
in interface MBMessagePersistence
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByUserId_PrevAndNext(long messageId, long userId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUserId_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messageuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByUserId_PrevAndNext(Session session, MBMessage mbMessage, long userId, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> findByG_U(long groupId, long userId) throws SystemException
findByG_U
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_U(long groupId, long userId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_U
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_U
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_U_First
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_U_Last
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByG_U_PrevAndNext(long messageId, long groupId, long userId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_U_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group id to search withuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByG_U_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long userId, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> filterFindByG_U(long groupId, long userId) throws SystemException
filterFindByG_U
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_U(long groupId, long userId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_U
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_U
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C(long groupId, long categoryId) throws SystemException
findByG_C
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C(long groupId, long categoryId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByG_C_First(long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_First
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByG_C_Last(long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_Last
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByG_C_PrevAndNext(long messageId, long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group id to search withcategoryId
- the category id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByG_C_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> filterFindByG_C(long groupId, long categoryId) throws SystemException
filterFindByG_C
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_C(long groupId, long categoryId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_C
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_C
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_S(long groupId, int status) throws SystemException
findByG_S
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_S(long groupId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_S
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_S
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByG_S_First(long groupId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_S_First
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByG_S_Last(long groupId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_S_Last
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByG_S_PrevAndNext(long messageId, long groupId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_S_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByG_S_PrevAndNext(Session session, MBMessage mbMessage, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> filterFindByG_S(long groupId, int status) throws SystemException
filterFindByG_S
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_S(long groupId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_S
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_S
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<MBMessage> findByC_S(long companyId, int status) throws SystemException
findByC_S
in interface MBMessagePersistence
companyId
- the company id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByC_S(long companyId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_S
in interface MBMessagePersistence
companyId
- the company id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByC_S(long companyId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_S
in interface MBMessagePersistence
companyId
- the company id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByC_S_First(long companyId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_S_First
in interface MBMessagePersistence
companyId
- the company id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByC_S_Last(long companyId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_S_Last
in interface MBMessagePersistence
companyId
- the company id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByC_S_PrevAndNext(long messageId, long companyId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_S_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagecompanyId
- the company id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByC_S_PrevAndNext(Session session, MBMessage mbMessage, long companyId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> findByC_C(long classNameId, long classPK) throws SystemException
findByC_C
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByC_C(long classNameId, long classPK, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_C
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_C
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_C_First
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_C_Last
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByC_C_PrevAndNext(long messageId, long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_C_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messageclassNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByC_C_PrevAndNext(Session session, MBMessage mbMessage, long classNameId, long classPK, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> findByT_P(long threadId, long parentMessageId) throws SystemException
findByT_P
in interface MBMessagePersistence
threadId
- the thread id to search withparentMessageId
- the parent message id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByT_P
in interface MBMessagePersistence
threadId
- the thread id to search withparentMessageId
- the parent message id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByT_P(long threadId, long parentMessageId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByT_P
in interface MBMessagePersistence
threadId
- the thread id to search withparentMessageId
- the parent message id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByT_P_First(long threadId, long parentMessageId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByT_P_First
in interface MBMessagePersistence
threadId
- the thread id to search withparentMessageId
- the parent message id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByT_P_Last(long threadId, long parentMessageId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByT_P_Last
in interface MBMessagePersistence
threadId
- the thread id to search withparentMessageId
- the parent message id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByT_P_PrevAndNext(long messageId, long threadId, long parentMessageId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByT_P_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread id to search withparentMessageId
- the parent message id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByT_P_PrevAndNext(Session session, MBMessage mbMessage, long threadId, long parentMessageId, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> findByT_S(long threadId, int status) throws SystemException
findByT_S
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByT_S(long threadId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByT_S
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByT_S(long threadId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByT_S
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByT_S_First(long threadId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByT_S_First
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByT_S_Last(long threadId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByT_S_Last
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByT_S_PrevAndNext(long messageId, long threadId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByT_S_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByT_S_PrevAndNext(Session session, MBMessage mbMessage, long threadId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> findByTR_S(long threadId, int status) throws SystemException
findByTR_S
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByTR_S(long threadId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByTR_S
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByTR_S(long threadId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByTR_S
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByTR_S_First(long threadId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByTR_S_First
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByTR_S_Last(long threadId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByTR_S_Last
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByTR_S_PrevAndNext(long messageId, long threadId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByTR_S_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagethreadId
- the thread id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByTR_S_PrevAndNext(Session session, MBMessage mbMessage, long threadId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> findByG_U_S(long groupId, long userId, int status) throws SystemException
findByG_U_S
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_U_S
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_U_S(long groupId, long userId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_U_S
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByG_U_S_First(long groupId, long userId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_U_S_First
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByG_U_S_Last(long groupId, long userId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_U_S_Last
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByG_U_S_PrevAndNext(long messageId, long groupId, long userId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_U_S_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByG_U_S_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long userId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> filterFindByG_U_S(long groupId, long userId, int status) throws SystemException
filterFindByG_U_S
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_U_S(long groupId, long userId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_U_S
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_U_S(long groupId, long userId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_U_S
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId) throws SystemException
findByG_C_T
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_T
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C_T(long groupId, long categoryId, long threadId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_T
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByG_C_T_First(long groupId, long categoryId, long threadId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_T_First
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByG_C_T_Last(long groupId, long categoryId, long threadId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_T_Last
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByG_C_T_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_T_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByG_C_T_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long categoryId, long threadId, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId) throws SystemException
filterFindByG_C_T
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search with
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_C_T
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_C_T(long groupId, long categoryId, long threadId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_C_T
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C_S(long groupId, long categoryId, int status) throws SystemException
findByG_C_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_S_First
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_S_Last
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByG_C_S_PrevAndNext(long messageId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_S_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByG_C_S_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status) throws SystemException
filterFindByG_C_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_C_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_C_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<MBMessage> findByC_C_S(long classNameId, long classPK, int status) throws SystemException
findByC_C_S
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_C_S
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByC_C_S(long classNameId, long classPK, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_C_S
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByC_C_S_First(long classNameId, long classPK, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_C_S_First
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByC_C_S_Last(long classNameId, long classPK, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_C_S_Last
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByC_C_S_PrevAndNext(long messageId, long classNameId, long classPK, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_C_S_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messageclassNameId
- the class name id to search withclassPK
- the class p k to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByC_C_S_PrevAndNext(Session session, MBMessage mbMessage, long classNameId, long classPK, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status) throws SystemException
findByG_C_T_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_T_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_T_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic MBMessage findByG_C_T_S_First(long groupId, long categoryId, long threadId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_T_S_First
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage findByG_C_T_S_Last(long groupId, long categoryId, long threadId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_T_S_Last
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage[] findByG_C_T_S_PrevAndNext(long messageId, long groupId, long categoryId, long threadId, int status, OrderByComparator orderByComparator) throws NoSuchMessageException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_C_T_S_PrevAndNext
in interface MBMessagePersistence
messageId
- the primary key of the current message-boards messagegroupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchMessageException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredprotected MBMessage getByG_C_T_S_PrevAndNext(Session session, MBMessage mbMessage, long groupId, long categoryId, long threadId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status) throws SystemException
filterFindByG_C_T_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_C_T_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> filterFindByG_C_T_S(long groupId, long categoryId, long threadId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_C_T_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search withstart
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<MBMessage> findAll() throws SystemException
findAll
in interface MBMessagePersistence
SystemException
- if a system exception occurredpublic List<MBMessage> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface MBMessagePersistence
start
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)
SystemException
- if a system exception occurredpublic List<MBMessage> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface MBMessagePersistence
start
- the lower bound of the range of message-boards messages to returnend
- the upper bound of the range of message-boards messages to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface MBMessagePersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic void removeByUUID_G(String uuid, long groupId) throws NoSuchMessageException, SystemException
removeByUUID_G
in interface MBMessagePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurred
NoSuchMessageException
public void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface MBMessagePersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic void removeByCompanyId(long companyId) throws SystemException
removeByCompanyId
in interface MBMessagePersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic void removeByThreadId(long threadId) throws SystemException
removeByThreadId
in interface MBMessagePersistence
threadId
- the thread id to search with
SystemException
- if a system exception occurredpublic void removeByThreadReplies(long threadId) throws SystemException
removeByThreadReplies
in interface MBMessagePersistence
threadId
- the thread id to search with
SystemException
- if a system exception occurredpublic void removeByUserId(long userId) throws SystemException
removeByUserId
in interface MBMessagePersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic void removeByG_U(long groupId, long userId) throws SystemException
removeByG_U
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search with
SystemException
- if a system exception occurredpublic void removeByG_C(long groupId, long categoryId) throws SystemException
removeByG_C
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic void removeByG_S(long groupId, int status) throws SystemException
removeByG_S
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByC_S(long companyId, int status) throws SystemException
removeByC_S
in interface MBMessagePersistence
companyId
- the company id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByC_C(long classNameId, long classPK) throws SystemException
removeByC_C
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic void removeByT_P(long threadId, long parentMessageId) throws SystemException
removeByT_P
in interface MBMessagePersistence
threadId
- the thread id to search withparentMessageId
- the parent message id to search with
SystemException
- if a system exception occurredpublic void removeByT_S(long threadId, int status) throws SystemException
removeByT_S
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByTR_S(long threadId, int status) throws SystemException
removeByTR_S
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByG_U_S(long groupId, long userId, int status) throws SystemException
removeByG_U_S
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByG_C_T(long groupId, long categoryId, long threadId) throws SystemException
removeByG_C_T
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search with
SystemException
- if a system exception occurredpublic void removeByG_C_S(long groupId, long categoryId, int status) throws SystemException
removeByG_C_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByC_C_S(long classNameId, long classPK, int status) throws SystemException
removeByC_C_S
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByG_C_T_S(long groupId, long categoryId, long threadId, int status) throws SystemException
removeByG_C_T_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface MBMessagePersistence
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface MBMessagePersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic int countByUUID_G(String uuid, long groupId) throws SystemException
countByUUID_G
in interface MBMessagePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface MBMessagePersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long groupId) throws SystemException
filterCountByGroupId
in interface MBMessagePersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic int countByCompanyId(long companyId) throws SystemException
countByCompanyId
in interface MBMessagePersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic int countByThreadId(long threadId) throws SystemException
countByThreadId
in interface MBMessagePersistence
threadId
- the thread id to search with
SystemException
- if a system exception occurredpublic int countByThreadReplies(long threadId) throws SystemException
countByThreadReplies
in interface MBMessagePersistence
threadId
- the thread id to search with
SystemException
- if a system exception occurredpublic int countByUserId(long userId) throws SystemException
countByUserId
in interface MBMessagePersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic int countByG_U(long groupId, long userId) throws SystemException
countByG_U
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search with
SystemException
- if a system exception occurredpublic int filterCountByG_U(long groupId, long userId) throws SystemException
filterCountByG_U
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search with
SystemException
- if a system exception occurredpublic int countByG_C(long groupId, long categoryId) throws SystemException
countByG_C
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic int filterCountByG_C(long groupId, long categoryId) throws SystemException
filterCountByG_C
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic int countByG_S(long groupId, int status) throws SystemException
countByG_S
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int filterCountByG_S(long groupId, int status) throws SystemException
filterCountByG_S
in interface MBMessagePersistence
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByC_S(long companyId, int status) throws SystemException
countByC_S
in interface MBMessagePersistence
companyId
- the company id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByC_C(long classNameId, long classPK) throws SystemException
countByC_C
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic int countByT_P(long threadId, long parentMessageId) throws SystemException
countByT_P
in interface MBMessagePersistence
threadId
- the thread id to search withparentMessageId
- the parent message id to search with
SystemException
- if a system exception occurredpublic int countByT_S(long threadId, int status) throws SystemException
countByT_S
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByTR_S(long threadId, int status) throws SystemException
countByTR_S
in interface MBMessagePersistence
threadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByG_U_S(long groupId, long userId, int status) throws SystemException
countByG_U_S
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int filterCountByG_U_S(long groupId, long userId, int status) throws SystemException
filterCountByG_U_S
in interface MBMessagePersistence
groupId
- the group id to search withuserId
- the user id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByG_C_T(long groupId, long categoryId, long threadId) throws SystemException
countByG_C_T
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search with
SystemException
- if a system exception occurredpublic int filterCountByG_C_T(long groupId, long categoryId, long threadId) throws SystemException
filterCountByG_C_T
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search with
SystemException
- if a system exception occurredpublic int countByG_C_S(long groupId, long categoryId, int status) throws SystemException
countByG_C_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int filterCountByG_C_S(long groupId, long categoryId, int status) throws SystemException
filterCountByG_C_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByC_C_S(long classNameId, long classPK, int status) throws SystemException
countByC_C_S
in interface MBMessagePersistence
classNameId
- the class name id to search withclassPK
- the class p k to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByG_C_T_S(long groupId, long categoryId, long threadId, int status) throws SystemException
countByG_C_T_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int filterCountByG_C_T_S(long groupId, long categoryId, long threadId, int status) throws SystemException
filterCountByG_C_T_S
in interface MBMessagePersistence
groupId
- the group id to search withcategoryId
- the category id to search withthreadId
- the thread id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface MBMessagePersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |