|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<MBThread>
com.liferay.portlet.messageboards.service.persistence.impl.MBThreadPersistenceImpl
@ProviderType 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 |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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(MBThreadModelImpl mbThreadModelImpl,
boolean isNew)
|
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(MBThreadModelImpl mbThreadModelImpl)
|
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<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?. |
MBThread |
fetchByC_P_Last(long categoryId,
double priority,
OrderByComparator<MBThread> orderByComparator)
Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?. |
MBThread |
fetchByG_C_First(long groupId,
long categoryId,
OrderByComparator<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?. |
MBThread |
fetchByG_NotC_Last(long groupId,
long categoryId,
OrderByComparator<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and status = ?. |
MBThread |
fetchByG_S_Last(long groupId,
int status,
OrderByComparator<MBThread> orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ? and status = ?. |
MBThread |
fetchByGroupId_First(long groupId,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ?. |
MBThread |
fetchByGroupId_Last(long groupId,
OrderByComparator<MBThread> orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ?. |
MBThread |
fetchByL_P_First(Date lastPostDate,
double priority,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?. |
MBThread |
fetchByL_P_Last(Date lastPostDate,
double priority,
OrderByComparator<MBThread> 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. |
Map<Serializable,MBThread> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
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<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?. |
MBThread |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MBThread> orderByComparator)
Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?. |
MBThread |
fetchByUuid_First(String uuid,
OrderByComparator<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_C_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_C_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_C_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_NotC_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_NotC_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_NotC_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByG_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
filterGetByGroupId_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
OrderByComparator<MBThread> 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<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads. |
List<MBThread> |
findAll(int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads. |
MBThread |
findByC_P_First(long categoryId,
double priority,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?. |
MBThread |
findByC_P_Last(long categoryId,
double priority,
OrderByComparator<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?. |
List<MBThread> |
findByC_P(long categoryId,
double priority,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?. |
MBThread |
findByG_C_First(long groupId,
long categoryId,
OrderByComparator<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
Returns an ordered 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<MBThread> orderByComparator,
boolean retrieveFromCache)
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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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[] categoryIds,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?, optionally using the finder cache. |
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<MBThread> orderByComparator)
Returns an ordered 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<MBThread> orderByComparator,
boolean retrieveFromCache)
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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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[] categoryIds,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?, optionally using the finder cache. |
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<MBThread> orderByComparator)
Returns an ordered 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<MBThread> orderByComparator,
boolean retrieveFromCache)
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<MBThread> orderByComparator)
Returns an ordered 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<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?, optionally using the finder cache. |
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<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?. |
List<MBThread> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?. |
MBThread |
findByG_NotC_First(long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?. |
MBThread |
findByG_NotC_Last(long groupId,
long categoryId,
OrderByComparator<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
Returns an ordered 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<MBThread> orderByComparator,
boolean retrieveFromCache)
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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
Returns an ordered 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<MBThread> orderByComparator,
boolean retrieveFromCache)
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<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?. |
List<MBThread> |
findByG_NotC(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?. |
MBThread |
findByG_S_First(long groupId,
int status,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ? and status = ?. |
MBThread |
findByG_S_Last(long groupId,
int status,
OrderByComparator<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ? and status = ?. |
List<MBThread> |
findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where groupId = ? and status = ?. |
MBThread |
findByGroupId_First(long groupId,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where groupId = ?. |
MBThread |
findByGroupId_Last(long groupId,
OrderByComparator<MBThread> orderByComparator)
Returns the last message boards thread in the ordered set where groupId = ?. |
MBThread[] |
findByGroupId_PrevAndNext(long threadId,
long groupId,
OrderByComparator<MBThread> 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<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads where groupId = ?. |
List<MBThread> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where groupId = ?. |
MBThread |
findByL_P_First(Date lastPostDate,
double priority,
OrderByComparator<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?. |
MBThread |
findByL_P_Last(Date lastPostDate,
double priority,
OrderByComparator<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads where lastPostDate = ? and priority = ?. |
List<MBThread> |
findByL_P(Date lastPostDate,
double priority,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
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<MBThread> orderByComparator)
Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?. |
MBThread |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MBThread> 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<MBThread> 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<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?. |
List<MBThread> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?. |
MBThread |
findByUuid_First(String uuid,
OrderByComparator<MBThread> 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<MBThread> orderByComparator)
Returns the last message boards thread in the ordered set where uuid = ?. |
MBThread[] |
findByUuid_PrevAndNext(long threadId,
String uuid,
OrderByComparator<MBThread> 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<MBThread> orderByComparator)
Returns an ordered range of all the message boards threads where uuid = ?. |
List<MBThread> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards threads where uuid = ?. |
Set<String> |
getBadColumnNames()
|
protected MBThread |
getByC_P_PrevAndNext(Session session,
MBThread mbThread,
long categoryId,
double priority,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_L_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByG_NotC_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByG_NotC_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByG_NotC_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByG_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByGroupId_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByL_P_PrevAndNext(Session session,
MBThread mbThread,
Date lastPostDate,
double priority,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByUuid_C_PrevAndNext(Session session,
MBThread mbThread,
String uuid,
long companyId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected MBThread |
getByUuid_PrevAndNext(Session session,
MBThread mbThread,
String uuid,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
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, getColumnName, 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
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public MBThreadPersistenceImpl()
| Method Detail |
|---|
public List<MBThread> findByUuid(String uuid)
findByUuid in interface MBThreadPersistenceuuid - the uuid
public List<MBThread> findByUuid(String uuid,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistenceuuid - the uuidstart - the lower bound of the range of message boards threadsend - the upper bound of the range of message boards threads (not inclusive)
public List<MBThread> findByUuid(String uuid,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistenceuuid - 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)
public List<MBThread> findByUuid(String uuid,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistenceuuid - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByUuid_First(String uuid,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByUuid_First in interface MBThreadPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchThreadException - if a matching message boards thread could not be found
public MBThread fetchByUuid_First(String uuid,
OrderByComparator<MBThread> orderByComparator)
fetchByUuid_First in interface MBThreadPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching message boards thread could not be found
public MBThread findByUuid_Last(String uuid,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByUuid_Last in interface MBThreadPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchThreadException - if a matching message boards thread could not be found
public MBThread fetchByUuid_Last(String uuid,
OrderByComparator<MBThread> orderByComparator)
fetchByUuid_Last in interface MBThreadPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching message boards thread could not be found
public MBThread[] findByUuid_PrevAndNext(long threadId,
String uuid,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByUuid_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByUuid_PrevAndNext(Session session,
MBThread mbThread,
String uuid,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface MBThreadPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface MBThreadPersistenceuuid - the uuid
public MBThread findByUUID_G(String uuid,
long groupId)
throws NoSuchThreadException
NoSuchThreadException if it could not be found.
findByUUID_G in interface MBThreadPersistenceuuid - the uuidgroupId - the group ID
NoSuchThreadException - if a matching message boards thread could not be found
public MBThread fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface MBThreadPersistenceuuid - the uuidgroupId - the group ID
null if a matching message boards thread could not be found
public MBThread fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface MBThreadPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching message boards thread could not be found
public MBThread removeByUUID_G(String uuid,
long groupId)
throws NoSuchThreadException
removeByUUID_G in interface MBThreadPersistenceuuid - the uuidgroupId - the group ID
NoSuchThreadException
public int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface MBThreadPersistenceuuid - the uuidgroupId - the group ID
public List<MBThread> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface MBThreadPersistenceuuid - the uuidcompanyId - the company ID
public List<MBThread> findByUuid_C(String uuid,
long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistenceuuid - 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)
public List<MBThread> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistenceuuid - 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)
public List<MBThread> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistenceuuid - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByUuid_C_First in interface MBThreadPersistenceuuid - 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
public MBThread fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<MBThread> orderByComparator)
fetchByUuid_C_First in interface MBThreadPersistenceuuid - 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
public MBThread findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByUuid_C_Last in interface MBThreadPersistenceuuid - 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
public MBThread fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<MBThread> orderByComparator)
fetchByUuid_C_Last in interface MBThreadPersistenceuuid - 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
public MBThread[] findByUuid_C_PrevAndNext(long threadId,
String uuid,
long companyId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByUuid_C_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByUuid_C_PrevAndNext(Session session,
MBThread mbThread,
String uuid,
long companyId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface MBThreadPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface MBThreadPersistenceuuid - the uuidcompanyId - the company ID
public List<MBThread> findByGroupId(long groupId)
findByGroupId in interface MBThreadPersistencegroupId - the group ID
public List<MBThread> findByGroupId(long groupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByGroupId_First(long groupId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByGroupId_First in interface MBThreadPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchThreadException - if a matching message boards thread could not be found
public MBThread fetchByGroupId_First(long groupId,
OrderByComparator<MBThread> orderByComparator)
fetchByGroupId_First in interface MBThreadPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching message boards thread could not be found
public MBThread findByGroupId_Last(long groupId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByGroupId_Last in interface MBThreadPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchThreadException - if a matching message boards thread could not be found
public MBThread fetchByGroupId_Last(long groupId,
OrderByComparator<MBThread> orderByComparator)
fetchByGroupId_Last in interface MBThreadPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching message boards thread could not be found
public MBThread[] findByGroupId_PrevAndNext(long threadId,
long groupId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByGroupId_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByGroupId_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByGroupId(long groupId)
filterFindByGroupId in interface MBThreadPersistencegroupId - the group ID
public List<MBThread> filterFindByGroupId(long groupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public MBThread[] filterFindByGroupId_PrevAndNext(long threadId,
long groupId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
filterFindByGroupId_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread filterGetByGroupId_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface MBThreadPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface MBThreadPersistencegroupId - the group ID
public int filterCountByGroupId(long groupId)
filterCountByGroupId in interface MBThreadPersistencegroupId - the group ID
public MBThread findByRootMessageId(long rootMessageId)
throws NoSuchThreadException
NoSuchThreadException if it could not be found.
findByRootMessageId in interface MBThreadPersistencerootMessageId - the root message ID
NoSuchThreadException - if a matching message boards thread could not be foundpublic MBThread fetchByRootMessageId(long rootMessageId)
null if it could not be found. Uses the finder cache.
fetchByRootMessageId in interface MBThreadPersistencerootMessageId - the root message ID
null if a matching message boards thread could not be found
public MBThread fetchByRootMessageId(long rootMessageId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByRootMessageId in interface MBThreadPersistencerootMessageId - the root message IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching message boards thread could not be found
public MBThread removeByRootMessageId(long rootMessageId)
throws NoSuchThreadException
removeByRootMessageId in interface MBThreadPersistencerootMessageId - the root message ID
NoSuchThreadExceptionpublic int countByRootMessageId(long rootMessageId)
countByRootMessageId in interface MBThreadPersistencerootMessageId - the root message ID
public List<MBThread> findByG_C(long groupId,
long categoryId)
findByG_C in interface MBThreadPersistencegroupId - the group IDcategoryId - the category ID
public List<MBThread> findByG_C(long groupId,
long categoryId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByG_C_First(long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_First in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_C_First(long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
fetchByG_C_First in interface MBThreadPersistencegroupId - 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
public MBThread findByG_C_Last(long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_Last in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_C_Last(long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
fetchByG_C_Last in interface MBThreadPersistencegroupId - 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
public MBThread[] findByG_C_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByG_C_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_C(long groupId,
long categoryId)
filterFindByG_C in interface MBThreadPersistencegroupId - the group IDcategoryId - the category ID
public List<MBThread> filterFindByG_C(long groupId,
long categoryId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public MBThread[] filterFindByG_C_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
filterFindByG_C_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread filterGetByG_C_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_C(long groupId,
long[] categoryIds)
filterFindByG_C in interface MBThreadPersistencegroupId - the group IDcategoryIds - the category IDs
public List<MBThread> filterFindByG_C(long groupId,
long[] categoryIds,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_C(long groupId,
long[] categoryIds,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C(long groupId,
long[] categoryIds)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS 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 MBThreadPersistencegroupId - the group IDcategoryIds - the category IDs
public List<MBThread> findByG_C(long groupId,
long[] categoryIds,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C(long groupId,
long[] categoryIds,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C(long groupId,
long[] categoryIds,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public void removeByG_C(long groupId,
long categoryId)
removeByG_C in interface MBThreadPersistencegroupId - the group IDcategoryId - the category ID
public int countByG_C(long groupId,
long categoryId)
countByG_C in interface MBThreadPersistencegroupId - the group IDcategoryId - the category ID
public int countByG_C(long groupId,
long[] categoryIds)
countByG_C in interface MBThreadPersistencegroupId - the group IDcategoryIds - the category IDs
public int filterCountByG_C(long groupId,
long categoryId)
filterCountByG_C in interface MBThreadPersistencegroupId - the group IDcategoryId - the category ID
public int filterCountByG_C(long groupId,
long[] categoryIds)
filterCountByG_C in interface MBThreadPersistencegroupId - the group IDcategoryIds - the category IDs
public List<MBThread> findByG_NotC(long groupId,
long categoryId)
findByG_NotC in interface MBThreadPersistencegroupId - the group IDcategoryId - the category ID
public List<MBThread> findByG_NotC(long groupId,
long categoryId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_NotC(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_NotC(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByG_NotC_First(long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_NotC_First in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_NotC_First(long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
fetchByG_NotC_First in interface MBThreadPersistencegroupId - 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
public MBThread findByG_NotC_Last(long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_NotC_Last in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_NotC_Last(long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
fetchByG_NotC_Last in interface MBThreadPersistencegroupId - 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
public MBThread[] findByG_NotC_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_NotC_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByG_NotC_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_NotC(long groupId,
long categoryId)
filterFindByG_NotC in interface MBThreadPersistencegroupId - the group IDcategoryId - the category ID
public List<MBThread> filterFindByG_NotC(long groupId,
long categoryId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_NotC(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public MBThread[] filterFindByG_NotC_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
filterFindByG_NotC_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread filterGetByG_NotC_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public void removeByG_NotC(long groupId,
long categoryId)
removeByG_NotC in interface MBThreadPersistencegroupId - the group IDcategoryId - the category ID
public int countByG_NotC(long groupId,
long categoryId)
countByG_NotC in interface MBThreadPersistencegroupId - the group IDcategoryId - the category ID
public int filterCountByG_NotC(long groupId,
long categoryId)
filterCountByG_NotC in interface MBThreadPersistencegroupId - the group IDcategoryId - the category ID
public List<MBThread> findByG_S(long groupId,
int status)
findByG_S in interface MBThreadPersistencegroupId - the group IDstatus - the status
public List<MBThread> findByG_S(long groupId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByG_S_First(long groupId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_S_First in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_S_First(long groupId,
int status,
OrderByComparator<MBThread> orderByComparator)
fetchByG_S_First in interface MBThreadPersistencegroupId - 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
public MBThread findByG_S_Last(long groupId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_S_Last in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_S_Last(long groupId,
int status,
OrderByComparator<MBThread> orderByComparator)
fetchByG_S_Last in interface MBThreadPersistencegroupId - 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
public MBThread[] findByG_S_PrevAndNext(long threadId,
long groupId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_S_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByG_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_S(long groupId,
int status)
filterFindByG_S in interface MBThreadPersistencegroupId - the group IDstatus - the status
public List<MBThread> filterFindByG_S(long groupId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public MBThread[] filterFindByG_S_PrevAndNext(long threadId,
long groupId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
filterFindByG_S_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread filterGetByG_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public void removeByG_S(long groupId,
int status)
removeByG_S in interface MBThreadPersistencegroupId - the group IDstatus - the status
public int countByG_S(long groupId,
int status)
countByG_S in interface MBThreadPersistencegroupId - the group IDstatus - the status
public int filterCountByG_S(long groupId,
int status)
filterCountByG_S in interface MBThreadPersistencegroupId - the group IDstatus - the status
public List<MBThread> findByC_P(long categoryId,
double priority)
findByC_P in interface MBThreadPersistencecategoryId - the category IDpriority - the priority
public List<MBThread> findByC_P(long categoryId,
double priority,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencecategoryId - 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)
public List<MBThread> findByC_P(long categoryId,
double priority,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencecategoryId - 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)
public List<MBThread> findByC_P(long categoryId,
double priority,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencecategoryId - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByC_P_First(long categoryId,
double priority,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByC_P_First in interface MBThreadPersistencecategoryId - 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
public MBThread fetchByC_P_First(long categoryId,
double priority,
OrderByComparator<MBThread> orderByComparator)
fetchByC_P_First in interface MBThreadPersistencecategoryId - 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
public MBThread findByC_P_Last(long categoryId,
double priority,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByC_P_Last in interface MBThreadPersistencecategoryId - 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
public MBThread fetchByC_P_Last(long categoryId,
double priority,
OrderByComparator<MBThread> orderByComparator)
fetchByC_P_Last in interface MBThreadPersistencecategoryId - 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
public MBThread[] findByC_P_PrevAndNext(long threadId,
long categoryId,
double priority,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByC_P_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByC_P_PrevAndNext(Session session,
MBThread mbThread,
long categoryId,
double priority,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public void removeByC_P(long categoryId,
double priority)
removeByC_P in interface MBThreadPersistencecategoryId - the category IDpriority - the priority
public int countByC_P(long categoryId,
double priority)
countByC_P in interface MBThreadPersistencecategoryId - the category IDpriority - the priority
public List<MBThread> findByL_P(Date lastPostDate,
double priority)
findByL_P in interface MBThreadPersistencelastPostDate - the last post datepriority - the priority
public List<MBThread> findByL_P(Date lastPostDate,
double priority,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencelastPostDate - 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)
public List<MBThread> findByL_P(Date lastPostDate,
double priority,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencelastPostDate - 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)
public List<MBThread> findByL_P(Date lastPostDate,
double priority,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencelastPostDate - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByL_P_First(Date lastPostDate,
double priority,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByL_P_First in interface MBThreadPersistencelastPostDate - 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
public MBThread fetchByL_P_First(Date lastPostDate,
double priority,
OrderByComparator<MBThread> orderByComparator)
fetchByL_P_First in interface MBThreadPersistencelastPostDate - 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
public MBThread findByL_P_Last(Date lastPostDate,
double priority,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByL_P_Last in interface MBThreadPersistencelastPostDate - 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
public MBThread fetchByL_P_Last(Date lastPostDate,
double priority,
OrderByComparator<MBThread> orderByComparator)
fetchByL_P_Last in interface MBThreadPersistencelastPostDate - 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
public MBThread[] findByL_P_PrevAndNext(long threadId,
Date lastPostDate,
double priority,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByL_P_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByL_P_PrevAndNext(Session session,
MBThread mbThread,
Date lastPostDate,
double priority,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public void removeByL_P(Date lastPostDate,
double priority)
removeByL_P in interface MBThreadPersistencelastPostDate - the last post datepriority - the priority
public int countByL_P(Date lastPostDate,
double priority)
countByL_P in interface MBThreadPersistencelastPostDate - the last post datepriority - the priority
public List<MBThread> findByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
findByG_C_L in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDlastPostDate - the last post date
public List<MBThread> findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByG_C_L_First(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_L_First in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_C_L_First(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator<MBThread> orderByComparator)
fetchByG_C_L_First in interface MBThreadPersistencegroupId - 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
public MBThread findByG_C_L_Last(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_L_Last in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_C_L_Last(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator<MBThread> orderByComparator)
fetchByG_C_L_Last in interface MBThreadPersistencegroupId - 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
public MBThread[] findByG_C_L_PrevAndNext(long threadId,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_L_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByG_C_L_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
filterFindByG_C_L in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDlastPostDate - the last post date
public List<MBThread> filterFindByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public MBThread[] filterFindByG_C_L_PrevAndNext(long threadId,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
filterFindByG_C_L_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread filterGetByG_C_L_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public void removeByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
removeByG_C_L in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDlastPostDate - the last post date
public int countByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
countByG_C_L in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDlastPostDate - the last post date
public int filterCountByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
filterCountByG_C_L in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDlastPostDate - the last post date
public List<MBThread> findByG_C_S(long groupId,
long categoryId,
int status)
findByG_C_S in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public List<MBThread> findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_S_First in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
fetchByG_C_S_First in interface MBThreadPersistencegroupId - 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
public MBThread findByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_S_Last in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
fetchByG_C_S_Last in interface MBThreadPersistencegroupId - 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
public MBThread[] findByG_C_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_S_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByG_C_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_C_S(long groupId,
long categoryId,
int status)
filterFindByG_C_S in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public List<MBThread> filterFindByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public MBThread[] filterFindByG_C_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
filterFindByG_C_S_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread filterGetByG_C_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_C_S(long groupId,
long[] categoryIds,
int status)
filterFindByG_C_S in interface MBThreadPersistencegroupId - the group IDcategoryIds - the category IDsstatus - the status
public List<MBThread> filterFindByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_S(long groupId,
long[] categoryIds,
int status)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - the group IDcategoryIds - the category IDsstatus - the status
public List<MBThread> findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public void removeByG_C_S(long groupId,
long categoryId,
int status)
removeByG_C_S in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public int countByG_C_S(long groupId,
long categoryId,
int status)
countByG_C_S in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public int countByG_C_S(long groupId,
long[] categoryIds,
int status)
countByG_C_S in interface MBThreadPersistencegroupId - the group IDcategoryIds - the category IDsstatus - the status
public int filterCountByG_C_S(long groupId,
long categoryId,
int status)
filterCountByG_C_S in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public int filterCountByG_C_S(long groupId,
long[] categoryIds,
int status)
filterCountByG_C_S in interface MBThreadPersistencegroupId - the group IDcategoryIds - the category IDsstatus - the status
public List<MBThread> findByG_C_NotS(long groupId,
long categoryId,
int status)
findByG_C_NotS in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public List<MBThread> findByG_C_NotS(long groupId,
long categoryId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_NotS(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_NotS(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByG_C_NotS_First(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_NotS_First in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_C_NotS_First(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
fetchByG_C_NotS_First in interface MBThreadPersistencegroupId - 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
public MBThread findByG_C_NotS_Last(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_NotS_Last in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_C_NotS_Last(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
fetchByG_C_NotS_Last in interface MBThreadPersistencegroupId - 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
public MBThread[] findByG_C_NotS_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_C_NotS_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByG_C_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_C_NotS(long groupId,
long categoryId,
int status)
filterFindByG_C_NotS in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public List<MBThread> filterFindByG_C_NotS(long groupId,
long categoryId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_C_NotS(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public MBThread[] filterFindByG_C_NotS_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
filterFindByG_C_NotS_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread filterGetByG_C_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_C_NotS(long groupId,
long[] categoryIds,
int status)
filterFindByG_C_NotS in interface MBThreadPersistencegroupId - the group IDcategoryIds - the category IDsstatus - the status
public List<MBThread> filterFindByG_C_NotS(long groupId,
long[] categoryIds,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_C_NotS(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_NotS(long groupId,
long[] categoryIds,
int status)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - the group IDcategoryIds - the category IDsstatus - the status
public List<MBThread> findByG_C_NotS(long groupId,
long[] categoryIds,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_NotS(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_C_NotS(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public void removeByG_C_NotS(long groupId,
long categoryId,
int status)
removeByG_C_NotS in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public int countByG_C_NotS(long groupId,
long categoryId,
int status)
countByG_C_NotS in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public int countByG_C_NotS(long groupId,
long[] categoryIds,
int status)
countByG_C_NotS in interface MBThreadPersistencegroupId - the group IDcategoryIds - the category IDsstatus - the status
public int filterCountByG_C_NotS(long groupId,
long categoryId,
int status)
filterCountByG_C_NotS in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public int filterCountByG_C_NotS(long groupId,
long[] categoryIds,
int status)
filterCountByG_C_NotS in interface MBThreadPersistencegroupId - the group IDcategoryIds - the category IDsstatus - the status
public List<MBThread> findByG_NotC_S(long groupId,
long categoryId,
int status)
findByG_NotC_S in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public List<MBThread> findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByG_NotC_S_First(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_NotC_S_First in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_NotC_S_First(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
fetchByG_NotC_S_First in interface MBThreadPersistencegroupId - 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
public MBThread findByG_NotC_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_NotC_S_Last in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_NotC_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
fetchByG_NotC_S_Last in interface MBThreadPersistencegroupId - 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
public MBThread[] findByG_NotC_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_NotC_S_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByG_NotC_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_NotC_S(long groupId,
long categoryId,
int status)
filterFindByG_NotC_S in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public List<MBThread> filterFindByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public MBThread[] filterFindByG_NotC_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
filterFindByG_NotC_S_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread filterGetByG_NotC_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public void removeByG_NotC_S(long groupId,
long categoryId,
int status)
removeByG_NotC_S in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public int countByG_NotC_S(long groupId,
long categoryId,
int status)
countByG_NotC_S in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public int filterCountByG_NotC_S(long groupId,
long categoryId,
int status)
filterCountByG_NotC_S in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public List<MBThread> findByG_NotC_NotS(long groupId,
long categoryId,
int status)
findByG_NotC_NotS in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public List<MBThread> findByG_NotC_NotS(long groupId,
long categoryId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_NotC_NotS(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> findByG_NotC_NotS(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cache
public MBThread findByG_NotC_NotS_First(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_NotC_NotS_First in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_NotC_NotS_First(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
fetchByG_NotC_NotS_First in interface MBThreadPersistencegroupId - 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
public MBThread findByG_NotC_NotS_Last(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_NotC_NotS_Last in interface MBThreadPersistencegroupId - 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
public MBThread fetchByG_NotC_NotS_Last(long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
fetchByG_NotC_NotS_Last in interface MBThreadPersistencegroupId - 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
public MBThread[] findByG_NotC_NotS_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
findByG_NotC_NotS_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread getByG_NotC_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public List<MBThread> filterFindByG_NotC_NotS(long groupId,
long categoryId,
int status)
filterFindByG_NotC_NotS in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public List<MBThread> filterFindByG_NotC_NotS(long groupId,
long categoryId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public List<MBThread> filterFindByG_NotC_NotS(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencegroupId - 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)
public MBThread[] filterFindByG_NotC_NotS_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator)
throws NoSuchThreadException
filterFindByG_NotC_NotS_PrevAndNext in interface MBThreadPersistencethreadId - 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
protected MBThread filterGetByG_NotC_NotS_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator<MBThread> orderByComparator,
boolean previous)
public void removeByG_NotC_NotS(long groupId,
long categoryId,
int status)
removeByG_NotC_NotS in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public int countByG_NotC_NotS(long groupId,
long categoryId,
int status)
countByG_NotC_NotS in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public int filterCountByG_NotC_NotS(long groupId,
long categoryId,
int status)
filterCountByG_NotC_NotS in interface MBThreadPersistencegroupId - the group IDcategoryId - the category IDstatus - the status
public void cacheResult(MBThread mbThread)
cacheResult in interface MBThreadPersistencembThread - the message boards threadpublic void cacheResult(List<MBThread> mbThreads)
cacheResult in interface MBThreadPersistencembThreads - 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 for
protected void cacheUniqueFindersCache(MBThreadModelImpl mbThreadModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(MBThreadModelImpl mbThreadModelImpl)
public MBThread create(long threadId)
create in interface MBThreadPersistencethreadId - the primary key for the new message boards thread
public MBThread remove(long threadId)
throws NoSuchThreadException
remove in interface MBThreadPersistencethreadId - the primary key of the message boards thread
NoSuchThreadException - if a message boards thread with the primary key could not be found
public MBThread remove(Serializable primaryKey)
throws NoSuchThreadException
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 foundprotected MBThread removeImpl(MBThread mbThread)
BasePersistenceImplBasePersistenceImpl.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
public MBThread updateImpl(MBThread mbThread)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface MBThreadPersistenceupdateImpl in class BasePersistenceImpl<MBThread>mbThread - the model instance to update
protected MBThread toUnwrappedModel(MBThread mbThread)
public MBThread findByPrimaryKey(Serializable primaryKey)
throws NoSuchThreadException
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
public MBThread findByPrimaryKey(long threadId)
throws NoSuchThreadException
NoSuchThreadException if it could not be found.
findByPrimaryKey in interface MBThreadPersistencethreadId - the primary key of the message boards thread
NoSuchThreadException - if a message boards thread with the primary key could not be foundpublic MBThread fetchByPrimaryKey(Serializable primaryKey)
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 foundpublic MBThread fetchByPrimaryKey(long threadId)
null if it could not be found.
fetchByPrimaryKey in interface MBThreadPersistencethreadId - the primary key of the message boards thread
null if a message boards thread with the primary key could not be foundpublic Map<Serializable,MBThread> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<MBThread>fetchByPrimaryKeys in interface MBThreadPersistencefetchByPrimaryKeys in class BasePersistenceImpl<MBThread>public List<MBThread> findAll()
findAll in interface MBThreadPersistence
public List<MBThread> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencestart - the lower bound of the range of message boards threadsend - the upper bound of the range of message boards threads (not inclusive)
public List<MBThread> findAll(int start,
int end,
OrderByComparator<MBThread> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencestart - 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)
public List<MBThread> findAll(int start,
int end,
OrderByComparator<MBThread> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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 MBThreadPersistencestart - 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)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface MBThreadPersistencepublic int countAll()
countAll in interface MBThreadPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<MBThread>getBadColumnNames in interface MBThreadPersistencegetBadColumnNames in class BasePersistenceImpl<MBThread>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<MBThread>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||