|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.messageboards.service.persistence.MBMessageUtil
public class MBMessageUtil
The persistence utility for the message-boards message service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
MBMessagePersistence,
MBMessagePersistenceImpl| Constructor Summary | |
|---|---|
MBMessageUtil()
|
|
| Method Summary | |
|---|---|
static void |
cacheResult(List<MBMessage> mbMessages)
Caches the message-boards messages in the entity cache if it is enabled. |
static void |
cacheResult(MBMessage mbMessage)
Caches the message-boards message in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(MBMessage mbMessage)
|
static int |
countAll()
Counts all the message-boards messages. |
static int |
countByC_C_S(long classNameId,
long classPK,
int status)
Counts all the message-boards messages where classNameId = ? and classPK = ? and status = ?. |
static int |
countByC_C(long classNameId,
long classPK)
Counts all the message-boards messages where classNameId = ? and classPK = ?. |
static int |
countByC_S(long companyId,
int status)
Counts all the message-boards messages where companyId = ? and status = ?. |
static int |
countByCompanyId(long companyId)
Counts all the message-boards messages where companyId = ?. |
static int |
countByG_C_S(long groupId,
long categoryId,
int status)
Counts all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
static 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 = ?. |
static int |
countByG_C_T(long groupId,
long categoryId,
long threadId)
Counts all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
static int |
countByG_C(long groupId,
long categoryId)
Counts all the message-boards messages where groupId = ? and categoryId = ?. |
static int |
countByG_S(long groupId,
int status)
Counts all the message-boards messages where groupId = ? and status = ?. |
static int |
countByG_U_S(long groupId,
long userId,
int status)
Counts all the message-boards messages where groupId = ? and userId = ? and status = ?. |
static int |
countByG_U(long groupId,
long userId)
Counts all the message-boards messages where groupId = ? and userId = ?. |
static int |
countByGroupId(long groupId)
Counts all the message-boards messages where groupId = ?. |
static int |
countByT_P(long threadId,
long parentMessageId)
Counts all the message-boards messages where threadId = ? and parentMessageId = ?. |
static int |
countByT_S(long threadId,
int status)
Counts all the message-boards messages where threadId = ? and status = ?. |
static int |
countByThreadId(long threadId)
Counts all the message-boards messages where threadId = ?. |
static int |
countByThreadReplies(long threadId)
Counts all the message-boards messages where threadId = ?. |
static int |
countByTR_S(long threadId,
int status)
Counts all the message-boards messages where threadId = ? and status = ?. |
static int |
countByUserId(long userId)
Counts all the message-boards messages where userId = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Counts all the message-boards messages where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Counts all the message-boards messages where uuid = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static MBMessage |
create(long messageId)
Creates a new message-boards message with the primary key. |
static MBMessage |
fetchByPrimaryKey(long messageId)
Finds the message-boards message with the primary key or returns null if it could not be found. |
static 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. |
static 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. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static int |
filterCountByG_C(long groupId,
long categoryId)
Filters by the user's permissions and counts all the message-boards messages where groupId = ? and categoryId = ?. |
static int |
filterCountByG_S(long groupId,
int status)
Filters by the user's permissions and counts all the message-boards messages where groupId = ? and status = ?. |
static 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 = ?. |
static int |
filterCountByG_U(long groupId,
long userId)
Filters by the user's permissions and counts all the message-boards messages where groupId = ? and userId = ?. |
static int |
filterCountByGroupId(long groupId)
Filters by the user's permissions and counts all the message-boards messages where groupId = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static List<MBMessage> |
filterFindByGroupId(long groupId)
Filters by the user's permissions and finds all the message-boards messages where groupId = ?. |
static 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 = ?. |
static 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 = ?. |
static List<MBMessage> |
findAll()
Finds all the message-boards messages. |
static List<MBMessage> |
findAll(int start,
int end)
Finds a range of all the message-boards messages. |
static List<MBMessage> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages. |
static MBMessage |
findByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where classNameId = ? and classPK = ?. |
static MBMessage |
findByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where classNameId = ? and classPK = ?. |
static MBMessage[] |
findByC_C_PrevAndNext(long messageId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where classNameId = ? and classPK = ?. |
static MBMessage |
findByC_C_S_First(long classNameId,
long classPK,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?. |
static MBMessage |
findByC_C_S_Last(long classNameId,
long classPK,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?. |
static MBMessage[] |
findByC_C_S_PrevAndNext(long messageId,
long classNameId,
long classPK,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where classNameId = ? and classPK = ? and status = ?. |
static List<MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status)
Finds all the message-boards messages where classNameId = ? and classPK = ? and status = ?. |
static List<MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end)
Finds a range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?. |
static List<MBMessage> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where classNameId = ? and classPK = ? and status = ?. |
static List<MBMessage> |
findByC_C(long classNameId,
long classPK)
Finds all the message-boards messages where classNameId = ? and classPK = ?. |
static 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 = ?. |
static 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 = ?. |
static MBMessage |
findByC_S_First(long companyId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where companyId = ? and status = ?. |
static MBMessage |
findByC_S_Last(long companyId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where companyId = ? and status = ?. |
static MBMessage[] |
findByC_S_PrevAndNext(long messageId,
long companyId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where companyId = ? and status = ?. |
static List<MBMessage> |
findByC_S(long companyId,
int status)
Finds all the message-boards messages where companyId = ? and status = ?. |
static 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 = ?. |
static 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 = ?. |
static MBMessage |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where companyId = ?. |
static MBMessage |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where companyId = ?. |
static 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 = ?. |
static List<MBMessage> |
findByCompanyId(long companyId)
Finds all the message-boards messages where companyId = ?. |
static List<MBMessage> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the message-boards messages where companyId = ?. |
static List<MBMessage> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where companyId = ?. |
static MBMessage |
findByG_C_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and categoryId = ?. |
static MBMessage |
findByG_C_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and categoryId = ?. |
static MBMessage[] |
findByG_C_PrevAndNext(long messageId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ?. |
static MBMessage |
findByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?. |
static MBMessage |
findByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?. |
static MBMessage[] |
findByG_C_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and categoryId = ? and status = ?. |
static List<MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status)
Finds all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
static List<MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
static List<MBMessage> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and status = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static List<MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId)
Finds all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
static List<MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
static List<MBMessage> |
findByG_C_T(long groupId,
long categoryId,
long threadId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ? and categoryId = ? and threadId = ?. |
static List<MBMessage> |
findByG_C(long groupId,
long categoryId)
Finds all the message-boards messages where groupId = ? and categoryId = ?. |
static 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 = ?. |
static 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 = ?. |
static MBMessage |
findByG_S_First(long groupId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and status = ?. |
static MBMessage |
findByG_S_Last(long groupId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and status = ?. |
static MBMessage[] |
findByG_S_PrevAndNext(long messageId,
long groupId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and status = ?. |
static List<MBMessage> |
findByG_S(long groupId,
int status)
Finds all the message-boards messages where groupId = ? and status = ?. |
static 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 = ?. |
static 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 = ?. |
static MBMessage |
findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and userId = ?. |
static MBMessage |
findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and userId = ?. |
static MBMessage[] |
findByG_U_PrevAndNext(long messageId,
long groupId,
long userId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and userId = ?. |
static MBMessage |
findByG_U_S_First(long groupId,
long userId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ? and userId = ? and status = ?. |
static MBMessage |
findByG_U_S_Last(long groupId,
long userId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ? and userId = ? and status = ?. |
static MBMessage[] |
findByG_U_S_PrevAndNext(long messageId,
long groupId,
long userId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where groupId = ? and userId = ? and status = ?. |
static List<MBMessage> |
findByG_U_S(long groupId,
long userId,
int status)
Finds all the message-boards messages where groupId = ? and userId = ? and status = ?. |
static List<MBMessage> |
findByG_U_S(long groupId,
long userId,
int status,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ? and userId = ? and status = ?. |
static List<MBMessage> |
findByG_U_S(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ? and userId = ? and status = ?. |
static List<MBMessage> |
findByG_U(long groupId,
long userId)
Finds all the message-boards messages where groupId = ? and userId = ?. |
static 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 = ?. |
static 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 = ?. |
static MBMessage |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where groupId = ?. |
static MBMessage |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where groupId = ?. |
static 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 = ?. |
static List<MBMessage> |
findByGroupId(long groupId)
Finds all the message-boards messages where groupId = ?. |
static List<MBMessage> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the message-boards messages where groupId = ?. |
static List<MBMessage> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where groupId = ?. |
static MBMessage |
findByPrimaryKey(long messageId)
Finds the message-boards message with the primary key or throws a NoSuchMessageException if it could not be found. |
static MBMessage |
findByT_P_First(long threadId,
long parentMessageId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where threadId = ? and parentMessageId = ?. |
static MBMessage |
findByT_P_Last(long threadId,
long parentMessageId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where threadId = ? and parentMessageId = ?. |
static MBMessage[] |
findByT_P_PrevAndNext(long messageId,
long threadId,
long parentMessageId,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and parentMessageId = ?. |
static List<MBMessage> |
findByT_P(long threadId,
long parentMessageId)
Finds all the message-boards messages where threadId = ? and parentMessageId = ?. |
static 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 = ?. |
static 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 = ?. |
static MBMessage |
findByT_S_First(long threadId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where threadId = ? and status = ?. |
static MBMessage |
findByT_S_Last(long threadId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where threadId = ? and status = ?. |
static MBMessage[] |
findByT_S_PrevAndNext(long messageId,
long threadId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?. |
static List<MBMessage> |
findByT_S(long threadId,
int status)
Finds all the message-boards messages where threadId = ? and status = ?. |
static 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 = ?. |
static 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 = ?. |
static MBMessage |
findByThreadId_First(long threadId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where threadId = ?. |
static MBMessage |
findByThreadId_Last(long threadId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where threadId = ?. |
static 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 = ?. |
static List<MBMessage> |
findByThreadId(long threadId)
Finds all the message-boards messages where threadId = ?. |
static List<MBMessage> |
findByThreadId(long threadId,
int start,
int end)
Finds a range of all the message-boards messages where threadId = ?. |
static List<MBMessage> |
findByThreadId(long threadId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where threadId = ?. |
static MBMessage |
findByThreadReplies_First(long threadId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where threadId = ?. |
static MBMessage |
findByThreadReplies_Last(long threadId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where threadId = ?. |
static 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 = ?. |
static List<MBMessage> |
findByThreadReplies(long threadId)
Finds all the message-boards messages where threadId = ?. |
static List<MBMessage> |
findByThreadReplies(long threadId,
int start,
int end)
Finds a range of all the message-boards messages where threadId = ?. |
static List<MBMessage> |
findByThreadReplies(long threadId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where threadId = ?. |
static MBMessage |
findByTR_S_First(long threadId,
int status,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where threadId = ? and status = ?. |
static MBMessage |
findByTR_S_Last(long threadId,
int status,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where threadId = ? and status = ?. |
static MBMessage[] |
findByTR_S_PrevAndNext(long messageId,
long threadId,
int status,
OrderByComparator orderByComparator)
Finds the message-boards messages before and after the current message-boards message in the ordered set where threadId = ? and status = ?. |
static List<MBMessage> |
findByTR_S(long threadId,
int status)
Finds all the message-boards messages where threadId = ? and status = ?. |
static 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 = ?. |
static 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 = ?. |
static MBMessage |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where userId = ?. |
static MBMessage |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where userId = ?. |
static 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 = ?. |
static List<MBMessage> |
findByUserId(long userId)
Finds all the message-boards messages where userId = ?. |
static List<MBMessage> |
findByUserId(long userId,
int start,
int end)
Finds a range of all the message-boards messages where userId = ?. |
static List<MBMessage> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where userId = ?. |
static MBMessage |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Finds the first message-boards message in the ordered set where uuid = ?. |
static 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. |
static MBMessage |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Finds the last message-boards message in the ordered set where uuid = ?. |
static 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 = ?. |
static List<MBMessage> |
findByUuid(String uuid)
Finds all the message-boards messages where uuid = ?. |
static List<MBMessage> |
findByUuid(String uuid,
int start,
int end)
Finds a range of all the message-boards messages where uuid = ?. |
static List<MBMessage> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message-boards messages where uuid = ?. |
static List<MBMessage> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<MBMessage> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<MBMessage> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static MBMessagePersistence |
getPersistence()
|
static MBMessage |
remove(long messageId)
Removes the message-boards message with the primary key from the database. |
static MBMessage |
remove(MBMessage mbMessage)
|
static void |
removeAll()
Removes all the message-boards messages from the database. |
static void |
removeByC_C_S(long classNameId,
long classPK,
int status)
Removes all the message-boards messages where classNameId = ? and classPK = ? and status = ? from the database. |
static void |
removeByC_C(long classNameId,
long classPK)
Removes all the message-boards messages where classNameId = ? and classPK = ? from the database. |
static void |
removeByC_S(long companyId,
int status)
Removes all the message-boards messages where companyId = ? and status = ? from the database. |
static void |
removeByCompanyId(long companyId)
Removes all the message-boards messages where companyId = ? from the database. |
static void |
removeByG_C_S(long groupId,
long categoryId,
int status)
Removes all the message-boards messages where groupId = ? and categoryId = ? and status = ? from the database. |
static void |
removeByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
Removes all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? and status = ? from the database. |
static void |
removeByG_C_T(long groupId,
long categoryId,
long threadId)
Removes all the message-boards messages where groupId = ? and categoryId = ? and threadId = ? from the database. |
static void |
removeByG_C(long groupId,
long categoryId)
Removes all the message-boards messages where groupId = ? and categoryId = ? from the database. |
static void |
removeByG_S(long groupId,
int status)
Removes all the message-boards messages where groupId = ? and status = ? from the database. |
static void |
removeByG_U_S(long groupId,
long userId,
int status)
Removes all the message-boards messages where groupId = ? and userId = ? and status = ? from the database. |
static void |
removeByG_U(long groupId,
long userId)
Removes all the message-boards messages where groupId = ? and userId = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the message-boards messages where groupId = ? from the database. |
static void |
removeByT_P(long threadId,
long parentMessageId)
Removes all the message-boards messages where threadId = ? and parentMessageId = ? from the database. |
static void |
removeByT_S(long threadId,
int status)
Removes all the message-boards messages where threadId = ? and status = ? from the database. |
static void |
removeByThreadId(long threadId)
Removes all the message-boards messages where threadId = ? from the database. |
static void |
removeByThreadReplies(long threadId)
Removes all the message-boards messages where threadId = ? from the database. |
static void |
removeByTR_S(long threadId,
int status)
Removes all the message-boards messages where threadId = ? and status = ? from the database. |
static void |
removeByUserId(long userId)
Removes all the message-boards messages where userId = ? from the database. |
static void |
removeByUUID_G(String uuid,
long groupId)
Removes the message-boards message where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the message-boards messages where uuid = ? from the database. |
void |
setPersistence(MBMessagePersistence persistence)
|
static MBMessage |
update(MBMessage mbMessage,
boolean merge)
|
static MBMessage |
update(MBMessage mbMessage,
boolean merge,
ServiceContext serviceContext)
|
static MBMessage |
updateImpl(MBMessage mbMessage,
boolean merge)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MBMessageUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(MBMessage mbMessage)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<MBMessage> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<MBMessage> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<MBMessage> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static MBMessage remove(MBMessage mbMessage)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static MBMessage update(MBMessage mbMessage,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static MBMessage update(MBMessage mbMessage,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(MBMessage mbMessage)
mbMessage - the message-boards message to cachepublic static void cacheResult(List<MBMessage> mbMessages)
mbMessages - the message-boards messages to cachepublic static MBMessage create(long messageId)
messageId - the primary key for the new message-boards message
public static MBMessage remove(long messageId)
throws SystemException,
NoSuchMessageException
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 occurred
public static MBMessage updateImpl(MBMessage mbMessage,
boolean merge)
throws SystemException
SystemException
public static MBMessage findByPrimaryKey(long messageId)
throws SystemException,
NoSuchMessageException
NoSuchMessageException if it could not be found.
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 occurred
public static MBMessage fetchByPrimaryKey(long messageId)
throws SystemException
null if it could not be found.
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 occurred
public static List<MBMessage> findByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByUuid_PrevAndNext(long messageId,
String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchMessageException
NoSuchMessageException if it could not be found.
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 occurred
public static MBMessage fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
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 occurred
public static MBMessage fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
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 occurred
public static List<MBMessage> findByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByGroupId_PrevAndNext(long messageId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> filterFindByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static List<MBMessage> findByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByCompanyId_PrevAndNext(long messageId,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> findByThreadId(long threadId)
throws SystemException
threadId - the thread id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByThreadId_First(long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByThreadId_Last(long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByThreadId_PrevAndNext(long messageId,
long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> findByThreadReplies(long threadId)
throws SystemException
threadId - the thread id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByThreadReplies_First(long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByThreadReplies_Last(long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByThreadReplies_PrevAndNext(long messageId,
long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> findByUserId(long userId)
throws SystemException
userId - the user id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByUserId_First(long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByUserId_Last(long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByUserId_PrevAndNext(long messageId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> findByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByG_U_PrevAndNext(long messageId,
long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> filterFindByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static List<MBMessage> findByG_C(long groupId,
long categoryId)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByG_C_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByG_C_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByG_C_PrevAndNext(long messageId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> filterFindByG_C(long groupId,
long categoryId)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static List<MBMessage> findByG_S(long groupId,
int status)
throws SystemException
groupId - the group id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByG_S_First(long groupId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByG_S_Last(long groupId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByG_S_PrevAndNext(long messageId,
long groupId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> filterFindByG_S(long groupId,
int status)
throws SystemException
groupId - the group id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static List<MBMessage> findByC_S(long companyId,
int status)
throws SystemException
companyId - the company id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByC_S_First(long companyId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByC_S_Last(long companyId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByC_S_PrevAndNext(long messageId,
long companyId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> findByC_C(long classNameId,
long classPK)
throws SystemException
classNameId - the class name id to search withclassPK - the class p k to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByC_C_First(long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByC_C_Last(long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByC_C_PrevAndNext(long messageId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> findByT_P(long threadId,
long parentMessageId)
throws SystemException
threadId - the thread id to search withparentMessageId - the parent message id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByT_P_First(long threadId,
long parentMessageId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByT_P_Last(long threadId,
long parentMessageId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByT_P_PrevAndNext(long messageId,
long threadId,
long parentMessageId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> findByT_S(long threadId,
int status)
throws SystemException
threadId - the thread id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByT_S_First(long threadId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByT_S_Last(long threadId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByT_S_PrevAndNext(long messageId,
long threadId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> findByTR_S(long threadId,
int status)
throws SystemException
threadId - the thread id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByTR_S_First(long threadId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByTR_S_Last(long threadId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByTR_S_PrevAndNext(long messageId,
long threadId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> findByG_U_S(long groupId,
long userId,
int status)
throws SystemException
groupId - the group id to search withuserId - the user id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByG_U_S_First(long groupId,
long userId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByG_U_S_Last(long groupId,
long userId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByG_U_S_PrevAndNext(long messageId,
long groupId,
long userId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> filterFindByG_U_S(long groupId,
long userId,
int status)
throws SystemException
groupId - the group id to search withuserId - the user id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static List<MBMessage> findByG_C_T(long groupId,
long categoryId,
long threadId)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search withthreadId - the thread id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByG_C_T_First(long groupId,
long categoryId,
long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByG_C_T_Last(long groupId,
long categoryId,
long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByG_C_T_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> filterFindByG_C_T(long groupId,
long categoryId,
long threadId)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search withthreadId - the thread id to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static List<MBMessage> findByG_C_S(long groupId,
long categoryId,
int status)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByG_C_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> filterFindByG_C_S(long groupId,
long categoryId,
int status)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static List<MBMessage> findByC_C_S(long classNameId,
long classPK,
int status)
throws SystemException
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 occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByC_C_S_First(long classNameId,
long classPK,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByC_C_S_Last(long classNameId,
long classPK,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByC_C_S_PrevAndNext(long messageId,
long classNameId,
long classPK,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> findByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
throws SystemException
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 occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static MBMessage findByG_C_T_S_First(long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage findByG_C_T_S_Last(long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static MBMessage[] findByG_C_T_S_PrevAndNext(long messageId,
long groupId,
long categoryId,
long threadId,
int status,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
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 occurred
public static List<MBMessage> filterFindByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
throws SystemException
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 occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static List<MBMessage> findAll()
throws SystemException
SystemException - if a system exception occurred
public static 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.
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 occurred
public static 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.
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 occurred
public static void removeByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
public static void removeByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchMessageException
uuid - the uuid to search withgroupId - the group id to search with
SystemException - if a system exception occurred
NoSuchMessageException
public static void removeByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static void removeByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
public static void removeByThreadId(long threadId)
throws SystemException
threadId - the thread id to search with
SystemException - if a system exception occurred
public static void removeByThreadReplies(long threadId)
throws SystemException
threadId - the thread id to search with
SystemException - if a system exception occurred
public static void removeByUserId(long userId)
throws SystemException
userId - the user id to search with
SystemException - if a system exception occurred
public static void removeByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
public static void removeByG_C(long groupId,
long categoryId)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search with
SystemException - if a system exception occurred
public static void removeByG_S(long groupId,
int status)
throws SystemException
groupId - the group id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static void removeByC_S(long companyId,
int status)
throws SystemException
companyId - the company id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static void removeByC_C(long classNameId,
long classPK)
throws SystemException
classNameId - the class name id to search withclassPK - the class p k to search with
SystemException - if a system exception occurred
public static void removeByT_P(long threadId,
long parentMessageId)
throws SystemException
threadId - the thread id to search withparentMessageId - the parent message id to search with
SystemException - if a system exception occurred
public static void removeByT_S(long threadId,
int status)
throws SystemException
threadId - the thread id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static void removeByTR_S(long threadId,
int status)
throws SystemException
threadId - the thread id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static void removeByG_U_S(long groupId,
long userId,
int status)
throws SystemException
groupId - the group id to search withuserId - the user id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static void removeByG_C_T(long groupId,
long categoryId,
long threadId)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search withthreadId - the thread id to search with
SystemException - if a system exception occurred
public static void removeByG_C_S(long groupId,
long categoryId,
int status)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static void removeByC_C_S(long classNameId,
long classPK,
int status)
throws SystemException
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 occurred
public static void removeByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
throws SystemException
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 occurred
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
public static int countByUUID_G(String uuid,
long groupId)
throws SystemException
uuid - the uuid to search withgroupId - the group id to search with
SystemException - if a system exception occurred
public static int countByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static int countByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
public static int countByThreadId(long threadId)
throws SystemException
threadId - the thread id to search with
SystemException - if a system exception occurred
public static int countByThreadReplies(long threadId)
throws SystemException
threadId - the thread id to search with
SystemException - if a system exception occurred
public static int countByUserId(long userId)
throws SystemException
userId - the user id to search with
SystemException - if a system exception occurred
public static int countByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
public static int filterCountByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
public static int countByG_C(long groupId,
long categoryId)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search with
SystemException - if a system exception occurred
public static int filterCountByG_C(long groupId,
long categoryId)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search with
SystemException - if a system exception occurred
public static int countByG_S(long groupId,
int status)
throws SystemException
groupId - the group id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static int filterCountByG_S(long groupId,
int status)
throws SystemException
groupId - the group id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static int countByC_S(long companyId,
int status)
throws SystemException
companyId - the company id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static int countByC_C(long classNameId,
long classPK)
throws SystemException
classNameId - the class name id to search withclassPK - the class p k to search with
SystemException - if a system exception occurred
public static int countByT_P(long threadId,
long parentMessageId)
throws SystemException
threadId - the thread id to search withparentMessageId - the parent message id to search with
SystemException - if a system exception occurred
public static int countByT_S(long threadId,
int status)
throws SystemException
threadId - the thread id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static int countByTR_S(long threadId,
int status)
throws SystemException
threadId - the thread id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static int countByG_U_S(long groupId,
long userId,
int status)
throws SystemException
groupId - the group id to search withuserId - the user id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static int filterCountByG_U_S(long groupId,
long userId,
int status)
throws SystemException
groupId - the group id to search withuserId - the user id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static int countByG_C_T(long groupId,
long categoryId,
long threadId)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search withthreadId - the thread id to search with
SystemException - if a system exception occurred
public static int filterCountByG_C_T(long groupId,
long categoryId,
long threadId)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search withthreadId - the thread id to search with
SystemException - if a system exception occurred
public static int countByG_C_S(long groupId,
long categoryId,
int status)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static int filterCountByG_C_S(long groupId,
long categoryId,
int status)
throws SystemException
groupId - the group id to search withcategoryId - the category id to search withstatus - the status to search with
SystemException - if a system exception occurred
public static int countByC_C_S(long classNameId,
long classPK,
int status)
throws SystemException
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 occurred
public static int countByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
throws SystemException
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 occurred
public static int filterCountByG_C_T_S(long groupId,
long categoryId,
long threadId,
int status)
throws SystemException
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 occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static MBMessagePersistence getPersistence()
public void setPersistence(MBMessagePersistence persistence)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||