|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<MBThread> com.liferay.portlet.messageboards.service.persistence.MBThreadPersistenceImpl
public class MBThreadPersistenceImpl
The persistence implementation for the message boards thread service.
Caching information and settings can be found in portal.properties
MBThreadPersistence
,
MBThreadUtil
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
Constructor Summary | |
---|---|
MBThreadPersistenceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the message boards thread persistence. |
void |
cacheResult(List<MBThread> mbThreads)
Caches the message boards threads in the entity cache if it is enabled. |
void |
cacheResult(MBThread mbThread)
Caches the message boards thread in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(MBThread mbThread)
|
void |
clearCache()
Clears the cache for all message boards threads. |
void |
clearCache(List<MBThread> mbThreads)
Clears the cache for a List instances of this model. |
void |
clearCache(MBThread mbThread)
Clears the cache for the message boards thread. |
protected void |
clearUniqueFindersCache(MBThread mbThread)
|
int |
countAll()
Returns the number of message boards threads. |
int |
countByC_P(long categoryId,
double priority)
Returns the number of message boards threads where categoryId = ? and priority = ?. |
int |
countByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
Returns the number of message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?. |
int |
countByG_C_NotS(long groupId,
long[] categoryIds,
int status)
Returns the number of message boards threads where groupId = ? and categoryId = any ? and status ≠ ?. |
int |
countByG_C_NotS(long groupId,
long categoryId,
int status)
Returns the number of message boards threads where groupId = ? and categoryId = ? and status ≠ ?. |
int |
countByG_C_S(long groupId,
long[] categoryIds,
int status)
Returns the number of message boards threads where groupId = ? and categoryId = any ? and status = ?. |
int |
countByG_C_S(long groupId,
long categoryId,
int status)
Returns the number of message boards threads where groupId = ? and categoryId = ? and status = ?. |
int |
countByG_C(long groupId,
long categoryId)
Returns the number of message boards threads where groupId = ? and categoryId = ?. |
int |
countByG_C(long groupId,
long[] categoryIds)
Returns the number of message boards threads where groupId = ? and categoryId = any ?. |
int |
countByG_NotC_NotS(long groupId,
long categoryId,
int status)
Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?. |
int |
countByG_NotC_S(long groupId,
long categoryId,
int status)
Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status = ?. |
int |
countByG_NotC(long groupId,
long categoryId)
Returns the number of message boards threads where groupId = ? and categoryId ≠ ?. |
int |
countByG_S(long groupId,
int status)
Returns the number of message boards threads where groupId = ? and status = ?. |
int |
countByGroupId(long groupId)
Returns the number of message boards threads where groupId = ?. |
int |
countByL_P(Date lastPostDate,
double priority)
Returns the number of message boards threads where lastPostDate = ? and priority = ?. |
int |
countByRootMessageId(long rootMessageId)
Returns the number of message boards threads where rootMessageId = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of message boards threads where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of message boards threads where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of message boards threads where uuid = ?. |
MBThread |
create(long threadId)
Creates a new message boards thread with the primary key. |
void |
destroy()
|
MBThread |
fetchByC_P_First(long categoryId,
double priority,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?. |
MBThread |
fetchByC_P_Last(long categoryId,
double priority,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?. |
MBThread |
fetchByG_C_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ?. |
MBThread |
fetchByG_C_L_First(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?. |
MBThread |
fetchByG_C_L_Last(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?. |
MBThread |
fetchByG_C_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ?. |
MBThread |
fetchByG_C_NotS_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?. |
MBThread |
fetchByG_C_NotS_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?. |
MBThread |
fetchByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?. |
MBThread |
fetchByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?. |
MBThread |
fetchByG_NotC_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?. |
MBThread |
fetchByG_NotC_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?. |
MBThread |
fetchByG_NotC_NotS_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?. |
MBThread |
fetchByG_NotC_NotS_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?. |
MBThread |
fetchByG_NotC_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?. |
MBThread |
fetchByG_NotC_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?. |
MBThread |
fetchByG_S_First(long groupId,
int status,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and status = ?. |
MBThread |
fetchByG_S_Last(long groupId,
int status,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and status = ?. |
MBThread |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ?. |
MBThread |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ?. |
MBThread |
fetchByL_P_First(Date lastPostDate,
double priority,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?. |
MBThread |
fetchByL_P_Last(Date lastPostDate,
double priority,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where lastPostDate = ? and priority = ?. |
MBThread |
fetchByPrimaryKey(long threadId)
Returns the message boards thread with the primary key or returns null if it could not be found. |
MBThread |
fetchByPrimaryKey(Serializable primaryKey)
Returns the message boards thread with the primary key or returns null if it could not be found. |
MBThread |
fetchByRootMessageId(long rootMessageId)
Returns the message boards thread where rootMessageId = ? or returns null if it could not be found. |
MBThread |
fetchByRootMessageId(long rootMessageId,
boolean retrieveFromCache)
Returns the message boards thread where rootMessageId = ? or returns null if it could not be found, optionally using the finder cache. |
MBThread |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?. |
MBThread |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?. |
MBThread |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where uuid = ?. |
MBThread |
fetchByUUID_G(String uuid,
long groupId)
Returns the message boards thread where uuid = ? and groupId = ? or returns null if it could not be found. |
MBThread |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the message boards thread where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
MBThread |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where uuid = ?. |
int |
filterCountByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?. |
int |
filterCountByG_C_NotS(long groupId,
long[] categoryIds,
int status)
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?. |
int |
filterCountByG_C_NotS(long groupId,
long categoryId,
int status)
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?. |
int |
filterCountByG_C_S(long groupId,
long[] categoryIds,
int status)
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?. |
int |
filterCountByG_C_S(long groupId,
long categoryId,
int status)
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?. |
int |
filterCountByG_C(long groupId,
long categoryId)
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ?. |
int |
filterCountByG_C(long groupId,
long[] categoryIds)
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = any ?. |
int |
filterCountByG_NotC_NotS(long groupId,
long categoryId,
int status)
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?. |
int |
filterCountByG_NotC_S(long groupId,
long categoryId,
int status)
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?. |
int |
filterCountByG_NotC(long groupId,
long categoryId)
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?. |
int |
filterCountByG_S(long groupId,
int status)
Returns the number of message boards threads that the user has permission to view where groupId = ? and status = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of message boards threads that the user has permission to view where groupId = ?. |
MBThread[] |
filterFindByG_C_L_PrevAndNext(long threadId,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?. |
List<MBThread> |
filterFindByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?. |
List<MBThread> |
filterFindByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?. |
List<MBThread> |
filterFindByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ? and lastPostDate = ?. |
MBThread[] |
filterFindByG_C_NotS_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?. |
List<MBThread> |
filterFindByG_C_NotS(long groupId,
long[] categoryIds,
int status)
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?. |
List<MBThread> |
filterFindByG_C_NotS(long groupId,
long[] categoryIds,
int status,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?. |
List<MBThread> |
filterFindByG_C_NotS(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?. |
List<MBThread> |
filterFindByG_C_NotS(long groupId,
long categoryId,
int status)
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?. |
List<MBThread> |
filterFindByG_C_NotS(long groupId,
long categoryId,
int status,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?. |
List<MBThread> |
filterFindByG_C_NotS(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ? and status ≠ ?. |
MBThread[] |
filterFindByG_C_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ?. |
MBThread[] |
filterFindByG_C_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?. |
List<MBThread> |
filterFindByG_C_S(long groupId,
long[] categoryIds,
int status)
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?. |
List<MBThread> |
filterFindByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?. |
List<MBThread> |
filterFindByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?. |
List<MBThread> |
filterFindByG_C_S(long groupId,
long categoryId,
int status)
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?. |
List<MBThread> |
filterFindByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?. |
List<MBThread> |
filterFindByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ? and status = ?. |
List<MBThread> |
filterFindByG_C(long groupId,
long categoryId)
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ?. |
List<MBThread> |
filterFindByG_C(long groupId,
long[] categoryIds)
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?. |
List<MBThread> |
filterFindByG_C(long groupId,
long[] categoryIds,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?. |
List<MBThread> |
filterFindByG_C(long groupId,
long[] categoryIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?. |
List<MBThread> |
filterFindByG_C(long groupId,
long categoryId,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ?. |
List<MBThread> |
filterFindByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ?. |
MBThread[] |
filterFindByG_NotC_NotS_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?. |
List<MBThread> |
filterFindByG_NotC_NotS(long groupId,
long categoryId,
int status)
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?. |
List<MBThread> |
filterFindByG_NotC_NotS(long groupId,
long categoryId,
int status,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?. |
List<MBThread> |
filterFindByG_NotC_NotS(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ? and status ≠ ?. |
MBThread[] |
filterFindByG_NotC_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?. |
MBThread[] |
filterFindByG_NotC_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?. |
List<MBThread> |
filterFindByG_NotC_S(long groupId,
long categoryId,
int status)
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?. |
List<MBThread> |
filterFindByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?. |
List<MBThread> |
filterFindByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ? and status = ?. |
List<MBThread> |
filterFindByG_NotC(long groupId,
long categoryId)
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?. |
List<MBThread> |
filterFindByG_NotC(long groupId,
long categoryId,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?. |
List<MBThread> |
filterFindByG_NotC(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ?. |
MBThread[] |
filterFindByG_S_PrevAndNext(long threadId,
long groupId,
int status,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ? and status = ?. |
List<MBThread> |
filterFindByG_S(long groupId,
int status)
Returns all the message boards threads that the user has permission to view where groupId = ? and status = ?. |
List<MBThread> |
filterFindByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and status = ?. |
List<MBThread> |
filterFindByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and status = ?. |
MBThread[] |
filterFindByGroupId_PrevAndNext(long threadId,
long groupId,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set of message boards threads that the user has permission to view where groupId = ?. |
List<MBThread> |
filterFindByGroupId(long groupId)
Returns all the message boards threads that the user has permission to view where groupId = ?. |
List<MBThread> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the message boards threads that the user has permission to view where groupId = ?. |
List<MBThread> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ?. |
protected MBThread |
filterGetByG_C_L_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_C_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_C_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_C_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_NotC_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_NotC_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_NotC_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByGroupId_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
List<MBThread> |
findAll()
Returns all the message boards threads. |
List<MBThread> |
findAll(int start,
int end)
Returns a range of all the message boards threads. |
List<MBThread> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads. |
MBThread |
findByC_P_First(long categoryId,
double priority,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?. |
MBThread |
findByC_P_Last(long categoryId,
double priority,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?. |
MBThread[] |
findByC_P_PrevAndNext(long threadId,
long categoryId,
double priority,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where categoryId = ? and priority = ?. |
List<MBThread> |
findByC_P(long categoryId,
double priority)
Returns all the message boards threads where categoryId = ? and priority = ?. |
List<MBThread> |
findByC_P(long categoryId,
double priority,
int start,
int end)
Returns a range of all the message boards threads where categoryId = ? and priority = ?. |
List<MBThread> |
findByC_P(long categoryId,
double priority,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?. |
MBThread |
findByG_C_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ?. |
MBThread |
findByG_C_L_First(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?. |
MBThread |
findByG_C_L_Last(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?. |
MBThread[] |
findByG_C_L_PrevAndNext(long threadId,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?. |
List<MBThread> |
findByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
Returns all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?. |
List<MBThread> |
findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?. |
List<MBThread> |
findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?. |
MBThread |
findByG_C_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ?. |
MBThread |
findByG_C_NotS_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?. |
MBThread |
findByG_C_NotS_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?. |
MBThread[] |
findByG_C_NotS_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?. |
List<MBThread> |
findByG_C_NotS(long groupId,
long[] categoryIds,
int status)
Returns all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?. |
List<MBThread> |
findByG_C_NotS(long groupId,
long[] categoryIds,
int status,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?. |
List<MBThread> |
findByG_C_NotS(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?. |
List<MBThread> |
findByG_C_NotS(long groupId,
long categoryId,
int status)
Returns all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?. |
List<MBThread> |
findByG_C_NotS(long groupId,
long categoryId,
int status,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?. |
List<MBThread> |
findByG_C_NotS(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?. |
MBThread[] |
findByG_C_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ?. |
MBThread |
findByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?. |
MBThread |
findByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?. |
MBThread[] |
findByG_C_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?. |
List<MBThread> |
findByG_C_S(long groupId,
long[] categoryIds,
int status)
Returns all the message boards threads where groupId = ? and categoryId = any ? and status = ?. |
List<MBThread> |
findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and categoryId = any ? and status = ?. |
List<MBThread> |
findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status = ?. |
List<MBThread> |
findByG_C_S(long groupId,
long categoryId,
int status)
Returns all the message boards threads where groupId = ? and categoryId = ? and status = ?. |
List<MBThread> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and categoryId = ? and status = ?. |
List<MBThread> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?. |
List<MBThread> |
findByG_C(long groupId,
long categoryId)
Returns all the message boards threads where groupId = ? and categoryId = ?. |
List<MBThread> |
findByG_C(long groupId,
long[] categoryIds)
Returns all the message boards threads where groupId = ? and categoryId = any ?. |
List<MBThread> |
findByG_C(long groupId,
long[] categoryIds,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and categoryId = any ?. |
List<MBThread> |
findByG_C(long groupId,
long[] categoryIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ?. |
List<MBThread> |
findByG_C(long groupId,
long categoryId,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and categoryId = ?. |
List<MBThread> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?. |
MBThread |
findByG_NotC_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?. |
MBThread |
findByG_NotC_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?. |
MBThread |
findByG_NotC_NotS_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?. |
MBThread |
findByG_NotC_NotS_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?. |
MBThread[] |
findByG_NotC_NotS_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?. |
List<MBThread> |
findByG_NotC_NotS(long groupId,
long categoryId,
int status)
Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?. |
List<MBThread> |
findByG_NotC_NotS(long groupId,
long categoryId,
int status,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?. |
List<MBThread> |
findByG_NotC_NotS(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?. |
MBThread[] |
findByG_NotC_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ?. |
MBThread |
findByG_NotC_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?. |
MBThread |
findByG_NotC_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?. |
MBThread[] |
findByG_NotC_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?. |
List<MBThread> |
findByG_NotC_S(long groupId,
long categoryId,
int status)
Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?. |
List<MBThread> |
findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?. |
List<MBThread> |
findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?. |
List<MBThread> |
findByG_NotC(long groupId,
long categoryId)
Returns all the message boards threads where groupId = ? and categoryId ≠ ?. |
List<MBThread> |
findByG_NotC(long groupId,
long categoryId,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ?. |
List<MBThread> |
findByG_NotC(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?. |
MBThread |
findByG_S_First(long groupId,
int status,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and status = ?. |
MBThread |
findByG_S_Last(long groupId,
int status,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and status = ?. |
MBThread[] |
findByG_S_PrevAndNext(long threadId,
long groupId,
int status,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and status = ?. |
List<MBThread> |
findByG_S(long groupId,
int status)
Returns all the message boards threads where groupId = ? and status = ?. |
List<MBThread> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the message boards threads where groupId = ? and status = ?. |
List<MBThread> |
findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and status = ?. |
MBThread |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ?. |
MBThread |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ?. |
MBThread[] |
findByGroupId_PrevAndNext(long threadId,
long groupId,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ?. |
List<MBThread> |
findByGroupId(long groupId)
Returns all the message boards threads where groupId = ?. |
List<MBThread> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the message boards threads where groupId = ?. |
List<MBThread> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ?. |
MBThread |
findByL_P_First(Date lastPostDate,
double priority,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?. |
MBThread |
findByL_P_Last(Date lastPostDate,
double priority,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where lastPostDate = ? and priority = ?. |
MBThread[] |
findByL_P_PrevAndNext(long threadId,
Date lastPostDate,
double priority,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where lastPostDate = ? and priority = ?. |
List<MBThread> |
findByL_P(Date lastPostDate,
double priority)
Returns all the message boards threads where lastPostDate = ? and priority = ?. |
List<MBThread> |
findByL_P(Date lastPostDate,
double priority,
int start,
int end)
Returns a range of all the message boards threads where lastPostDate = ? and priority = ?. |
List<MBThread> |
findByL_P(Date lastPostDate,
double priority,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where lastPostDate = ? and priority = ?. |
MBThread |
findByPrimaryKey(long threadId)
Returns the message boards thread with the primary key or throws a NoSuchThreadException if it could not be found. |
MBThread |
findByPrimaryKey(Serializable primaryKey)
Returns the message boards thread with the primary key or throws a NoSuchModelException if it could not be found. |
MBThread |
findByRootMessageId(long rootMessageId)
Returns the message boards thread where rootMessageId = ? or throws a NoSuchThreadException if it could not be found. |
MBThread |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?. |
MBThread |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?. |
MBThread[] |
findByUuid_C_PrevAndNext(long threadId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where uuid = ? and companyId = ?. |
List<MBThread> |
findByUuid_C(String uuid,
long companyId)
Returns all the message boards threads where uuid = ? and companyId = ?. |
List<MBThread> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the message boards threads where uuid = ? and companyId = ?. |
List<MBThread> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?. |
MBThread |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first message boards thread in the ordered set where uuid = ?. |
MBThread |
findByUUID_G(String uuid,
long groupId)
Returns the message boards thread where uuid = ? and groupId = ? or throws a NoSuchThreadException if it could not be found. |
MBThread |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last message boards thread in the ordered set where uuid = ?. |
MBThread[] |
findByUuid_PrevAndNext(long threadId,
String uuid,
OrderByComparator orderByComparator)
Returns the message boards threads before and after the current message boards thread in the ordered set where uuid = ?. |
List<MBThread> |
findByUuid(String uuid)
Returns all the message boards threads where uuid = ?. |
List<MBThread> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the message boards threads where uuid = ?. |
List<MBThread> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the message boards threads where uuid = ?. |
protected Set<String> |
getBadColumnNames()
|
protected MBThread |
getByC_P_PrevAndNext(Session session,
MBThread mbThread,
long categoryId,
double priority,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_L_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_NotC_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_NotC_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_NotC_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByGroupId_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByL_P_PrevAndNext(Session session,
MBThread mbThread,
Date lastPostDate,
double priority,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByUuid_C_PrevAndNext(Session session,
MBThread mbThread,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByUuid_PrevAndNext(Session session,
MBThread mbThread,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
MBThread |
remove(long threadId)
Removes the message boards thread with the primary key from the database. |
MBThread |
remove(Serializable primaryKey)
Removes the message boards thread with the primary key from the database. |
void |
removeAll()
Removes all the message boards threads from the database. |
void |
removeByC_P(long categoryId,
double priority)
Removes all the message boards threads where categoryId = ? and priority = ? from the database. |
void |
removeByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
Removes all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ? from the database. |
void |
removeByG_C_NotS(long groupId,
long categoryId,
int status)
Removes all the message boards threads where groupId = ? and categoryId = ? and status ≠ ? from the database. |
void |
removeByG_C_S(long groupId,
long categoryId,
int status)
Removes all the message boards threads where groupId = ? and categoryId = ? and status = ? from the database. |
void |
removeByG_C(long groupId,
long categoryId)
Removes all the message boards threads where groupId = ? and categoryId = ? from the database. |
void |
removeByG_NotC_NotS(long groupId,
long categoryId,
int status)
Removes all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ? from the database. |
void |
removeByG_NotC_S(long groupId,
long categoryId,
int status)
Removes all the message boards threads where groupId = ? and categoryId ≠ ? and status = ? from the database. |
void |
removeByG_NotC(long groupId,
long categoryId)
Removes all the message boards threads where groupId = ? and categoryId ≠ ? from the database. |
void |
removeByG_S(long groupId,
int status)
Removes all the message boards threads where groupId = ? and status = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the message boards threads where groupId = ? from the database. |
void |
removeByL_P(Date lastPostDate,
double priority)
Removes all the message boards threads where lastPostDate = ? and priority = ? from the database. |
MBThread |
removeByRootMessageId(long rootMessageId)
Removes the message boards thread where rootMessageId = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the message boards threads where uuid = ? and companyId = ? from the database. |
MBThread |
removeByUUID_G(String uuid,
long groupId)
Removes the message boards thread where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the message boards threads where uuid = ? from the database. |
protected MBThread |
removeImpl(MBThread mbThread)
Removes the model instance from the database. |
protected MBThread |
toUnwrappedModel(MBThread mbThread)
|
MBThread |
updateImpl(MBThread mbThread)
Updates the model instance in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
Field Detail |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FETCH_BY_ROOTMESSAGEID
public static final FinderPath FINDER_PATH_COUNT_BY_ROOTMESSAGEID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C
public static final FinderPath FINDER_PATH_COUNT_BY_G_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P
public static final FinderPath FINDER_PATH_COUNT_BY_C_P
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_L_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_L_P
public static final FinderPath FINDER_PATH_COUNT_BY_L_P
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_L
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_L
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_L
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_NOTS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_NOTS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_NOTC_NOTS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_NOTC_NOTS
Constructor Detail |
---|
public MBThreadPersistenceImpl()
Method Detail |
---|
public List<MBThread> findByUuid(String uuid) throws SystemException
findByUuid
in interface MBThreadPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface MBThreadPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface MBThreadPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByUuid_First
in interface MBThreadPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_First
in interface MBThreadPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByUuid_Last
in interface MBThreadPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_Last
in interface MBThreadPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByUuid_PrevAndNext(long threadId, String uuid, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByUuid_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threaduuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByUuid_PrevAndNext(Session session, MBThread mbThread, String uuid, OrderByComparator orderByComparator, boolean previous)
public void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface MBThreadPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface MBThreadPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic MBThread findByUUID_G(String uuid, long groupId) throws NoSuchThreadException, SystemException
NoSuchThreadException
if it could not be found.
findByUUID_G
in interface MBThreadPersistence
uuid
- the uuidgroupId
- the group ID
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByUUID_G
in interface MBThreadPersistence
uuid
- the uuidgroupId
- the group ID
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByUUID_G
in interface MBThreadPersistence
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread removeByUUID_G(String uuid, long groupId) throws NoSuchThreadException, SystemException
removeByUUID_G
in interface MBThreadPersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchThreadException
public int countByUUID_G(String uuid, long groupId) throws SystemException
countByUUID_G
in interface MBThreadPersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic List<MBThread> findByUuid_C(String uuid, long companyId) throws SystemException
findByUuid_C
in interface MBThreadPersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic List<MBThread> findByUuid_C(String uuid, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface MBThreadPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByUuid_C(String uuid, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface MBThreadPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByUuid_C_First
in interface MBThreadPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_C_First
in interface MBThreadPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByUuid_C_Last
in interface MBThreadPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_C_Last
in interface MBThreadPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByUuid_C_PrevAndNext(long threadId, String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByUuid_C_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threaduuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByUuid_C_PrevAndNext(Session session, MBThread mbThread, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId) throws SystemException
removeByUuid_C
in interface MBThreadPersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic int countByUuid_C(String uuid, long companyId) throws SystemException
countByUuid_C
in interface MBThreadPersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic List<MBThread> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface MBThreadPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface MBThreadPersistence
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface MBThreadPersistence
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByGroupId_First
in interface MBThreadPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_First
in interface MBThreadPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByGroupId_Last
in interface MBThreadPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_Last
in interface MBThreadPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByGroupId_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByGroupId_PrevAndNext(Session session, MBThread mbThread, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByGroupId(long groupId) throws SystemException
filterFindByGroupId
in interface MBThreadPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface MBThreadPersistence
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface MBThreadPersistence
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread[] filterFindByGroupId_PrevAndNext(long threadId, long groupId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
filterFindByGroupId_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread filterGetByGroupId_PrevAndNext(Session session, MBThread mbThread, long groupId, OrderByComparator orderByComparator, boolean previous)
public void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface MBThreadPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface MBThreadPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long groupId) throws SystemException
filterCountByGroupId
in interface MBThreadPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic MBThread findByRootMessageId(long rootMessageId) throws NoSuchThreadException, SystemException
NoSuchThreadException
if it could not be found.
findByRootMessageId
in interface MBThreadPersistence
rootMessageId
- the root message ID
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByRootMessageId(long rootMessageId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByRootMessageId
in interface MBThreadPersistence
rootMessageId
- the root message ID
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByRootMessageId(long rootMessageId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByRootMessageId
in interface MBThreadPersistence
rootMessageId
- the root message IDretrieveFromCache
- whether to use the finder cache
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread removeByRootMessageId(long rootMessageId) throws NoSuchThreadException, SystemException
removeByRootMessageId
in interface MBThreadPersistence
rootMessageId
- the root message ID
SystemException
- if a system exception occurred
NoSuchThreadException
public int countByRootMessageId(long rootMessageId) throws SystemException
countByRootMessageId
in interface MBThreadPersistence
rootMessageId
- the root message ID
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C(long groupId, long categoryId) throws SystemException
findByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category ID
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByG_C_First(long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_C_First(long groupId, long categoryId, OrderByComparator orderByComparator) throws SystemException
fetchByG_C_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByG_C_Last(long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_C_Last(long groupId, long categoryId, OrderByComparator orderByComparator) throws SystemException
fetchByG_C_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByG_C_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByG_C_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_C(long groupId, long categoryId) throws SystemException
filterFindByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category ID
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread[] filterFindByG_C_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
filterFindByG_C_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread filterGetByG_C_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_C(long groupId, long[] categoryIds) throws SystemException
filterFindByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDs
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_C(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_C(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C(long groupId, long[] categoryIds) 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDs
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeByG_C(long groupId, long categoryId) throws SystemException
removeByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category ID
SystemException
- if a system exception occurredpublic int countByG_C(long groupId, long categoryId) throws SystemException
countByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category ID
SystemException
- if a system exception occurredpublic int countByG_C(long groupId, long[] categoryIds) throws SystemException
countByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDs
SystemException
- if a system exception occurredpublic int filterCountByG_C(long groupId, long categoryId) throws SystemException
filterCountByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category ID
SystemException
- if a system exception occurredpublic int filterCountByG_C(long groupId, long[] categoryIds) throws SystemException
filterCountByG_C
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDs
SystemException
- if a system exception occurredpublic List<MBThread> findByG_NotC(long groupId, long categoryId) throws SystemException
findByG_NotC
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category ID
SystemException
- if a system exception occurredpublic List<MBThread> findByG_NotC(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_NotC
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_NotC(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_NotC
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByG_NotC_First(long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_NotC_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_NotC_First(long groupId, long categoryId, OrderByComparator orderByComparator) throws SystemException
fetchByG_NotC_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByG_NotC_Last(long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_NotC_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_NotC_Last(long groupId, long categoryId, OrderByComparator orderByComparator) throws SystemException
fetchByG_NotC_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByG_NotC_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_NotC_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByG_NotC_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_NotC(long groupId, long categoryId) throws SystemException
filterFindByG_NotC
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category ID
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_NotC(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_NotC
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_NotC(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_NotC
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread[] filterFindByG_NotC_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
filterFindByG_NotC_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread filterGetByG_NotC_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, OrderByComparator orderByComparator, boolean previous)
public void removeByG_NotC(long groupId, long categoryId) throws SystemException
removeByG_NotC
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category ID
SystemException
- if a system exception occurredpublic int countByG_NotC(long groupId, long categoryId) throws SystemException
countByG_NotC
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category ID
SystemException
- if a system exception occurredpublic int filterCountByG_NotC(long groupId, long categoryId) throws SystemException
filterCountByG_NotC
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category ID
SystemException
- if a system exception occurredpublic List<MBThread> findByG_S(long groupId, int status) throws SystemException
findByG_S
in interface MBThreadPersistence
groupId
- the group IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_S
in interface MBThreadPersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_S
in interface MBThreadPersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByG_S_First(long groupId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_S_First
in interface MBThreadPersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_S_First(long groupId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_S_First
in interface MBThreadPersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByG_S_Last(long groupId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_S_Last
in interface MBThreadPersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_S_Last(long groupId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_S_Last
in interface MBThreadPersistence
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByG_S_PrevAndNext(long threadId, long groupId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_S_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByG_S_PrevAndNext(Session session, MBThread mbThread, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_S(long groupId, int status) throws SystemException
filterFindByG_S
in interface MBThreadPersistence
groupId
- the group IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_S
in interface MBThreadPersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_S
in interface MBThreadPersistence
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread[] filterFindByG_S_PrevAndNext(long threadId, long groupId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
filterFindByG_S_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread filterGetByG_S_PrevAndNext(Session session, MBThread mbThread, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
public void removeByG_S(long groupId, int status) throws SystemException
removeByG_S
in interface MBThreadPersistence
groupId
- the group IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByG_S(long groupId, int status) throws SystemException
countByG_S
in interface MBThreadPersistence
groupId
- the group IDstatus
- the status
SystemException
- if a system exception occurredpublic int filterCountByG_S(long groupId, int status) throws SystemException
filterCountByG_S
in interface MBThreadPersistence
groupId
- the group IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> findByC_P(long categoryId, double priority) throws SystemException
findByC_P
in interface MBThreadPersistence
categoryId
- the category IDpriority
- the priority
SystemException
- if a system exception occurredpublic List<MBThread> findByC_P(long categoryId, double priority, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_P
in interface MBThreadPersistence
categoryId
- the category IDpriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByC_P(long categoryId, double priority, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_P
in interface MBThreadPersistence
categoryId
- the category IDpriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByC_P_First(long categoryId, double priority, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByC_P_First
in interface MBThreadPersistence
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByC_P_First(long categoryId, double priority, OrderByComparator orderByComparator) throws SystemException
fetchByC_P_First
in interface MBThreadPersistence
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByC_P_Last(long categoryId, double priority, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByC_P_Last
in interface MBThreadPersistence
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByC_P_Last(long categoryId, double priority, OrderByComparator orderByComparator) throws SystemException
fetchByC_P_Last
in interface MBThreadPersistence
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByC_P_PrevAndNext(long threadId, long categoryId, double priority, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByC_P_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadcategoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByC_P_PrevAndNext(Session session, MBThread mbThread, long categoryId, double priority, OrderByComparator orderByComparator, boolean previous)
public void removeByC_P(long categoryId, double priority) throws SystemException
removeByC_P
in interface MBThreadPersistence
categoryId
- the category IDpriority
- the priority
SystemException
- if a system exception occurredpublic int countByC_P(long categoryId, double priority) throws SystemException
countByC_P
in interface MBThreadPersistence
categoryId
- the category IDpriority
- the priority
SystemException
- if a system exception occurredpublic List<MBThread> findByL_P(Date lastPostDate, double priority) throws SystemException
findByL_P
in interface MBThreadPersistence
lastPostDate
- the last post datepriority
- the priority
SystemException
- if a system exception occurredpublic List<MBThread> findByL_P(Date lastPostDate, double priority, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_P
in interface MBThreadPersistence
lastPostDate
- the last post datepriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByL_P(Date lastPostDate, double priority, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByL_P
in interface MBThreadPersistence
lastPostDate
- the last post datepriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByL_P_First(Date lastPostDate, double priority, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByL_P_First
in interface MBThreadPersistence
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByL_P_First(Date lastPostDate, double priority, OrderByComparator orderByComparator) throws SystemException
fetchByL_P_First
in interface MBThreadPersistence
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByL_P_Last(Date lastPostDate, double priority, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByL_P_Last
in interface MBThreadPersistence
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByL_P_Last(Date lastPostDate, double priority, OrderByComparator orderByComparator) throws SystemException
fetchByL_P_Last
in interface MBThreadPersistence
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByL_P_PrevAndNext(long threadId, Date lastPostDate, double priority, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByL_P_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadlastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByL_P_PrevAndNext(Session session, MBThread mbThread, Date lastPostDate, double priority, OrderByComparator orderByComparator, boolean previous)
public void removeByL_P(Date lastPostDate, double priority) throws SystemException
removeByL_P
in interface MBThreadPersistence
lastPostDate
- the last post datepriority
- the priority
SystemException
- if a system exception occurredpublic int countByL_P(Date lastPostDate, double priority) throws SystemException
countByL_P
in interface MBThreadPersistence
lastPostDate
- the last post datepriority
- the priority
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate) throws SystemException
findByG_C_L
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post date
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_L
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_L
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByG_C_L_First(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_L_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_C_L_First(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator) throws SystemException
fetchByG_C_L_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByG_C_L_Last(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_L_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_C_L_Last(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator) throws SystemException
fetchByG_C_L_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_L_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByG_C_L_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_C_L(long groupId, long categoryId, Date lastPostDate) throws SystemException
filterFindByG_C_L
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post date
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_C_L(long groupId, long categoryId, Date lastPostDate, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_L
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_C_L(long groupId, long categoryId, Date lastPostDate, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_L
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread[] filterFindByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
filterFindByG_C_L_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread filterGetByG_C_L_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator, boolean previous)
public void removeByG_C_L(long groupId, long categoryId, Date lastPostDate) throws SystemException
removeByG_C_L
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post date
SystemException
- if a system exception occurredpublic int countByG_C_L(long groupId, long categoryId, Date lastPostDate) throws SystemException
countByG_C_L
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post date
SystemException
- if a system exception occurredpublic int filterCountByG_C_L(long groupId, long categoryId, Date lastPostDate) throws SystemException
filterCountByG_C_L
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post date
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_S(long groupId, long categoryId, int status) throws SystemException
findByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_S_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_C_S_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_S_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_C_S_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_S_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByG_C_S_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_C_S(long groupId, long categoryId, int status) throws SystemException
filterFindByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread[] filterFindByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
filterFindByG_C_S_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread filterGetByG_C_S_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_C_S(long groupId, long[] categoryIds, int status) throws SystemException
filterFindByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_C_S(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_C_S(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status) 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_S(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_S(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeByG_C_S(long groupId, long categoryId, int status) throws SystemException
removeByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByG_C_S(long groupId, long categoryId, int status) throws SystemException
countByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByG_C_S(long groupId, long[] categoryIds, int status) throws SystemException
countByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status
SystemException
- if a system exception occurredpublic int filterCountByG_C_S(long groupId, long categoryId, int status) throws SystemException
filterCountByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic int filterCountByG_C_S(long groupId, long[] categoryIds, int status) throws SystemException
filterCountByG_C_S
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_NotS(long groupId, long categoryId, int status) throws SystemException
findByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_NotS(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_NotS(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByG_C_NotS_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_NotS_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_C_NotS_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_C_NotS_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByG_C_NotS_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_NotS_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_C_NotS_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_C_NotS_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByG_C_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_C_NotS_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByG_C_NotS_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_C_NotS(long groupId, long categoryId, int status) throws SystemException
filterFindByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_C_NotS(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_C_NotS(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread[] filterFindByG_C_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
filterFindByG_C_NotS_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread filterGetByG_C_NotS_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_C_NotS(long groupId, long[] categoryIds, int status) throws SystemException
filterFindByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_C_NotS(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_C_NotS(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, int status) 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeByG_C_NotS(long groupId, long categoryId, int status) throws SystemException
removeByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByG_C_NotS(long groupId, long categoryId, int status) throws SystemException
countByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByG_C_NotS(long groupId, long[] categoryIds, int status) throws SystemException
countByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status
SystemException
- if a system exception occurredpublic int filterCountByG_C_NotS(long groupId, long categoryId, int status) throws SystemException
filterCountByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic int filterCountByG_C_NotS(long groupId, long[] categoryIds, int status) throws SystemException
filterCountByG_C_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status) throws SystemException
findByG_NotC_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> findByG_NotC_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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_NotC_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_NotC_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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_NotC_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByG_NotC_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_NotC_S_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_NotC_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_NotC_S_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByG_NotC_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_NotC_S_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_NotC_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_NotC_S_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByG_NotC_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_NotC_S_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByG_NotC_S_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_NotC_S(long groupId, long categoryId, int status) throws SystemException
filterFindByG_NotC_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_NotC_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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_NotC_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_NotC_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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_NotC_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread[] filterFindByG_NotC_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
filterFindByG_NotC_S_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread filterGetByG_NotC_S_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
public void removeByG_NotC_S(long groupId, long categoryId, int status) throws SystemException
removeByG_NotC_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByG_NotC_S(long groupId, long categoryId, int status) throws SystemException
countByG_NotC_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic int filterCountByG_NotC_S(long groupId, long categoryId, int status) throws SystemException
filterCountByG_NotC_S
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> findByG_NotC_NotS(long groupId, long categoryId, int status) throws SystemException
findByG_NotC_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> findByG_NotC_NotS(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_NotC_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> findByG_NotC_NotS(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_NotC_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread findByG_NotC_NotS_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_NotC_NotS_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_NotC_NotS_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_NotC_NotS_First
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread findByG_NotC_NotS_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_NotC_NotS_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByG_NotC_NotS_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_NotC_NotS_Last
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread[] findByG_NotC_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
findByG_NotC_NotS_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread getByG_NotC_NotS_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
public List<MBThread> filterFindByG_NotC_NotS(long groupId, long categoryId, int status) throws SystemException
filterFindByG_NotC_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_NotC_NotS(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_NotC_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> filterFindByG_NotC_NotS(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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_NotC_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic MBThread[] filterFindByG_NotC_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws NoSuchThreadException, SystemException
filterFindByG_NotC_NotS_PrevAndNext
in interface MBThreadPersistence
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread filterGetByG_NotC_NotS_PrevAndNext(Session session, MBThread mbThread, long groupId, long categoryId, int status, OrderByComparator orderByComparator, boolean previous)
public void removeByG_NotC_NotS(long groupId, long categoryId, int status) throws SystemException
removeByG_NotC_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByG_NotC_NotS(long groupId, long categoryId, int status) throws SystemException
countByG_NotC_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic int filterCountByG_NotC_NotS(long groupId, long categoryId, int status) throws SystemException
filterCountByG_NotC_NotS
in interface MBThreadPersistence
groupId
- the group IDcategoryId
- the category IDstatus
- the status
SystemException
- if a system exception occurredpublic void cacheResult(MBThread mbThread)
cacheResult
in interface MBThreadPersistence
mbThread
- the message boards threadpublic void cacheResult(List<MBThread> mbThreads)
cacheResult
in interface MBThreadPersistence
mbThreads
- the message boards threadspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<MBThread>
clearCache
in class BasePersistenceImpl<MBThread>
public void clearCache(MBThread mbThread)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<MBThread>
clearCache
in class BasePersistenceImpl<MBThread>
mbThread
- the instance of this model to clear the cache forpublic void clearCache(List<MBThread> mbThreads)
BasePersistence
The EntityCache
and FinderCache
are both cleared by this
method.
clearCache
in interface BasePersistence<MBThread>
clearCache
in class BasePersistenceImpl<MBThread>
mbThreads
- the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(MBThread mbThread)
protected void clearUniqueFindersCache(MBThread mbThread)
public MBThread create(long threadId)
create
in interface MBThreadPersistence
threadId
- the primary key for the new message boards thread
public MBThread remove(long threadId) throws NoSuchThreadException, SystemException
remove
in interface MBThreadPersistence
threadId
- the primary key of the message boards thread
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic MBThread remove(Serializable primaryKey) throws NoSuchThreadException, SystemException
remove
in interface BasePersistence<MBThread>
remove
in class BasePersistenceImpl<MBThread>
primaryKey
- the primary key of the message boards thread
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredprotected MBThread removeImpl(MBThread mbThread) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<MBThread>
mbThread
- the model instance to remove
SystemException
- if a system exception occurredpublic MBThread updateImpl(MBThread mbThread) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface MBThreadPersistence
updateImpl
in class BasePersistenceImpl<MBThread>
mbThread
- the model instance to update
SystemException
- if a system exception occurredprotected MBThread toUnwrappedModel(MBThread mbThread)
public MBThread findByPrimaryKey(Serializable primaryKey) throws NoSuchThreadException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<MBThread>
findByPrimaryKey
in class BasePersistenceImpl<MBThread>
primaryKey
- the primary key of the message boards thread
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic MBThread findByPrimaryKey(long threadId) throws NoSuchThreadException, SystemException
NoSuchThreadException
if it could not be found.
findByPrimaryKey
in interface MBThreadPersistence
threadId
- the primary key of the message boards thread
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<MBThread>
fetchByPrimaryKey
in class BasePersistenceImpl<MBThread>
primaryKey
- the primary key of the message boards thread
null
if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic MBThread fetchByPrimaryKey(long threadId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface MBThreadPersistence
threadId
- the primary key of the message boards thread
null
if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic List<MBThread> findAll() throws SystemException
findAll
in interface MBThreadPersistence
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface MBThreadPersistence
start
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic List<MBThread> 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface MBThreadPersistence
start
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface MBThreadPersistence
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface MBThreadPersistence
SystemException
- if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames
in class BasePersistenceImpl<MBThread>
public void afterPropertiesSet()
public void destroy()
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |