Class MBThreadUtil
com.liferay.message.boards.service.persistence.impl.MBThreadPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(MBThread mbThread) Caches the message boards thread in the entity cache if it is enabled.static void
cacheResult
(List<MBThread> mbThreads) Caches the message boards threads in the entity cache if it is enabled.static void
static void
clearCache
(MBThread mbThread) static int
countAll()
Returns the number of message boards threads.static int
countByC_P
(long categoryId, double priority) Returns the number of message boards threads where categoryId = ? and priority = ?.static int
countByG_C
(long groupId, long categoryId) Returns the number of message boards threads where groupId = ? and categoryId = ?.static int
countByG_C
(long groupId, long[] categoryIds) Returns the number of message boards threads where groupId = ? and categoryId = any ?.static int
countByG_C_L
(long groupId, long categoryId, Date lastPostDate) Returns the number of message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.static int
countByG_C_NotS
(long groupId, long[] categoryIds, int status) Returns the number of message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.static int
countByG_C_NotS
(long groupId, long categoryId, int status) Returns the number of message boards threads where groupId = ? and categoryId = ? and status ≠ ?.static int
countByG_C_S
(long groupId, long[] categoryIds, int status) Returns the number of message boards threads where groupId = ? and categoryId = any ? and status = ?.static int
countByG_C_S
(long groupId, long categoryId, int status) Returns the number of message boards threads where groupId = ? and categoryId = ? and status = ?.static int
countByG_NotC
(long groupId, long categoryId) Returns the number of message boards threads where groupId = ? and categoryId ≠ ?.static int
countByG_NotC_NotS
(long groupId, long categoryId, int status) Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.static int
countByG_NotC_S
(long groupId, long categoryId, int status) Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status = ?.static int
countByG_S
(long groupId, int status) Returns the number of message boards threads where groupId = ? and status = ?.static int
countByGroupId
(long groupId) Returns the number of message boards threads where groupId = ?.static int
countByL_P
(Date lastPostDate, double priority) Returns the number of message boards threads where lastPostDate = ? and priority = ?.static int
countByRootMessageId
(long rootMessageId) Returns the number of message boards threads where rootMessageId = ?.static int
countByUuid
(String uuid) Returns the number of message boards threads where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of message boards threads where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of message boards threads where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static MBThread
create
(long threadId) Creates a new message boards thread with the primary key.static MBThread
fetchByC_P_First
(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?.static MBThread
fetchByC_P_Last
(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?.static MBThread
fetchByG_C_First
(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ?.static MBThread
fetchByG_C_L_First
(long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.static MBThread
fetchByG_C_L_Last
(long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.static MBThread
fetchByG_C_Last
(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ?.static MBThread
fetchByG_C_NotS_First
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.static MBThread
fetchByG_C_NotS_Last
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.static MBThread
fetchByG_C_S_First
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.static MBThread
fetchByG_C_S_Last
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.static MBThread
fetchByG_NotC_First
(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.static MBThread
fetchByG_NotC_Last
(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.static MBThread
fetchByG_NotC_NotS_First
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.static MBThread
fetchByG_NotC_NotS_Last
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.static MBThread
fetchByG_NotC_S_First
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.static MBThread
fetchByG_NotC_S_Last
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.static MBThread
fetchByG_S_First
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and status = ?.static MBThread
fetchByG_S_Last
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and status = ?.static MBThread
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ?.static MBThread
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ?.static MBThread
fetchByL_P_First
(Date lastPostDate, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?.static MBThread
fetchByL_P_Last
(Date lastPostDate, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where lastPostDate = ? and priority = ?.static MBThread
fetchByPrimaryKey
(long threadId) Returns the message boards thread with the primary key or returnsnull
if it could not be found.static Map<Serializable,
MBThread> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static MBThread
fetchByRootMessageId
(long rootMessageId) Returns the message boards thread where rootMessageId = ? or returnsnull
if it could not be found.static MBThread
fetchByRootMessageId
(long rootMessageId, boolean useFinderCache) Returns the message boards thread where rootMessageId = ? or returnsnull
if it could not be found, optionally using the finder cache.static MBThread
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?.static MBThread
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?.static MBThread
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where uuid = ?.static MBThread
fetchByUUID_G
(String uuid, long groupId) Returns the message boards thread where uuid = ? and groupId = ? or returnsnull
if it could not be found.static MBThread
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the message boards thread where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static MBThread
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where uuid = ?.static 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 = ?.static 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 ?.static 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 = ?.static 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 ≠ ?.static 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 ≠ ?.static 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 = ?.static 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 = ?.static 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 ≠ ?.static 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 ≠ ?.static 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 = ?.static 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 = ?.static int
filterCountByGroupId
(long groupId) Returns the number of message boards threads that the user has permission to view where groupId = ?.filterFindByG_C
(long groupId, long categoryId) Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ?.filterFindByG_C
(long groupId, long[] categoryIds) Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.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 ?.filterFindByG_C
(long groupId, long[] categoryIds, int start, int end, com.liferay.portal.kernel.util.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 ?.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 = ?.filterFindByG_C
(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ?.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 = ?.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 = ?.filterFindByG_C_L
(long groupId, long categoryId, Date lastPostDate, int start, int end, com.liferay.portal.kernel.util.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 = ?.static MBThread[]
filterFindByG_C_L_PrevAndNext
(long threadId, long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.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 = ?.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 ≠ ?.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 ≠ ?.filterFindByG_C_NotS
(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.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 ≠ ?.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 ≠ ?.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 ≠ ?.filterFindByG_C_NotS
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.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 ≠ ?.static MBThread[]
filterFindByG_C_NotS_PrevAndNext
(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.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 ≠ ?.static MBThread[]
filterFindByG_C_PrevAndNext
(long threadId, long groupId, long categoryId, com.liferay.portal.kernel.util.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 = ?.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 = ?.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 = ?.filterFindByG_C_S
(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.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 = ?.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 = ?.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 = ?.filterFindByG_C_S
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.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 = ?.static MBThread[]
filterFindByG_C_S_PrevAndNext
(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.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 = ?.filterFindByG_NotC
(long groupId, long categoryId) Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.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 ≠ ?.filterFindByG_NotC
(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ?.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 ≠ ?.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 ≠ ?.filterFindByG_NotC_NotS
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.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 ≠ ?.static MBThread[]
filterFindByG_NotC_NotS_PrevAndNext
(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.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 ≠ ?.static MBThread[]
filterFindByG_NotC_PrevAndNext
(long threadId, long groupId, long categoryId, com.liferay.portal.kernel.util.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 ≠ ?.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 = ?.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 = ?.filterFindByG_NotC_S
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.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 = ?.static MBThread[]
filterFindByG_NotC_S_PrevAndNext
(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.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 = ?.filterFindByG_S
(long groupId, int status) Returns all the message boards threads that the user has permission to view where groupId = ? and status = ?.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 = ?.filterFindByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and status = ?.static MBThread[]
filterFindByG_S_PrevAndNext
(long threadId, long groupId, int status, com.liferay.portal.kernel.util.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 = ?.filterFindByGroupId
(long groupId) Returns all the message boards threads that the user has permission to view where groupId = ?.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 = ?.filterFindByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ?.static MBThread[]
filterFindByGroupId_PrevAndNext
(long threadId, long groupId, com.liferay.portal.kernel.util.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 = ?.findAll()
Returns all the message boards threads.findAll
(int start, int end) Returns a range of all the message boards threads.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads.findByC_P
(long categoryId, double priority) Returns all the message boards threads where categoryId = ? and priority = ?.findByC_P
(long categoryId, double priority, int start, int end) Returns a range of all the message boards threads where categoryId = ? and priority = ?.findByC_P
(long categoryId, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?.findByC_P
(long categoryId, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?.static MBThread
findByC_P_First
(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?.static MBThread
findByC_P_Last
(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?.static MBThread[]
findByC_P_PrevAndNext
(long threadId, long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the message boards threads before and after the current message boards thread in the ordered set where categoryId = ? and priority = ?.findByG_C
(long groupId, long categoryId) Returns all the message boards threads where groupId = ? and categoryId = ?.findByG_C
(long groupId, long[] categoryIds) Returns all the message boards threads where groupId = ? and categoryId = any ?.findByG_C
(long groupId, long[] categoryIds, int start, int end) Returns a range of all the message boards threads where groupId = ? and categoryId = any ?.findByG_C
(long groupId, long[] categoryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ?.findByG_C
(long groupId, long[] categoryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?, optionally using the finder cache.findByG_C
(long groupId, long categoryId, int start, int end) Returns a range of all the message boards threads where groupId = ? and categoryId = ?.findByG_C
(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?.findByG_C
(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?.static MBThread
findByG_C_First
(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ?.findByG_C_L
(long groupId, long categoryId, Date lastPostDate) Returns all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.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 = ?.findByG_C_L
(long groupId, long categoryId, Date lastPostDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.findByG_C_L
(long groupId, long categoryId, Date lastPostDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.static MBThread
findByG_C_L_First
(long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.static MBThread
findByG_C_L_Last
(long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.static MBThread[]
findByG_C_L_PrevAndNext
(long threadId, long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.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 = ?.static MBThread
findByG_C_Last
(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ?.findByG_C_NotS
(long groupId, long[] categoryIds, int status) Returns all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.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 ≠ ?.findByG_C_NotS
(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.findByG_C_NotS
(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?, optionally using the finder cache.findByG_C_NotS
(long groupId, long categoryId, int status) Returns all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.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 ≠ ?.findByG_C_NotS
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.findByG_C_NotS
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.static MBThread
findByG_C_NotS_First
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.static MBThread
findByG_C_NotS_Last
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.static MBThread[]
findByG_C_NotS_PrevAndNext
(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.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 ≠ ?.static MBThread[]
findByG_C_PrevAndNext
(long threadId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ?.findByG_C_S
(long groupId, long[] categoryIds, int status) Returns all the message boards threads where groupId = ? and categoryId = any ? and status = ?.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 = ?.findByG_C_S
(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status = ?.findByG_C_S
(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?, optionally using the finder cache.findByG_C_S
(long groupId, long categoryId, int status) Returns all the message boards threads where groupId = ? and categoryId = ? and status = ?.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 = ?.findByG_C_S
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?.findByG_C_S
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?.static MBThread
findByG_C_S_First
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.static MBThread
findByG_C_S_Last
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.static MBThread[]
findByG_C_S_PrevAndNext
(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.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 = ?.findByG_NotC
(long groupId, long categoryId) Returns all the message boards threads where groupId = ? and categoryId ≠ ?.findByG_NotC
(long groupId, long categoryId, int start, int end) Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ?.findByG_NotC
(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?.findByG_NotC
(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?.static MBThread
findByG_NotC_First
(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.static MBThread
findByG_NotC_Last
(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.findByG_NotC_NotS
(long groupId, long categoryId, int status) Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.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 ≠ ?.findByG_NotC_NotS
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.findByG_NotC_NotS
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.static MBThread
findByG_NotC_NotS_First
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.static MBThread
findByG_NotC_NotS_Last
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.static MBThread[]
findByG_NotC_NotS_PrevAndNext
(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.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 ≠ ?.static MBThread[]
findByG_NotC_PrevAndNext
(long threadId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.findByG_NotC_S
(long groupId, long categoryId, int status) Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.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 = ?.findByG_NotC_S
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.findByG_NotC_S
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.static MBThread
findByG_NotC_S_First
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.static MBThread
findByG_NotC_S_Last
(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.static MBThread[]
findByG_NotC_S_PrevAndNext
(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.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 = ?.findByG_S
(long groupId, int status) Returns all the message boards threads where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end) Returns a range of all the message boards threads where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and status = ?.static MBThread
findByG_S_First
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and status = ?.static MBThread
findByG_S_Last
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and status = ?.static MBThread[]
findByG_S_PrevAndNext
(long threadId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and status = ?.findByGroupId
(long groupId) Returns all the message boards threads where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the message boards threads where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ?.static MBThread
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ?.static MBThread
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ?.static MBThread[]
findByGroupId_PrevAndNext
(long threadId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ?.Returns all the message boards threads where lastPostDate = ? and priority = ?.Returns a range of all the message boards threads where lastPostDate = ? and priority = ?.findByL_P
(Date lastPostDate, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where lastPostDate = ? and priority = ?.findByL_P
(Date lastPostDate, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where lastPostDate = ? and priority = ?.static MBThread
findByL_P_First
(Date lastPostDate, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?.static MBThread
findByL_P_Last
(Date lastPostDate, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where lastPostDate = ? and priority = ?.static MBThread[]
findByL_P_PrevAndNext
(long threadId, Date lastPostDate, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the message boards threads before and after the current message boards thread in the ordered set where lastPostDate = ? and priority = ?.static MBThread
findByPrimaryKey
(long threadId) Returns the message boards thread with the primary key or throws aNoSuchThreadException
if it could not be found.static MBThread
findByRootMessageId
(long rootMessageId) Returns the message boards thread where rootMessageId = ? or throws aNoSuchThreadException
if it could not be found.findByUuid
(String uuid) Returns all the message boards threads where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the message boards threads where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the message boards threads where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the message boards threads where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?.static MBThread
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?.static MBThread
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?.static MBThread[]
findByUuid_C_PrevAndNext
(long threadId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the message boards threads before and after the current message boards thread in the ordered set where uuid = ? and companyId = ?.static MBThread
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where uuid = ?.static MBThread
findByUUID_G
(String uuid, long groupId) Returns the message boards thread where uuid = ? and groupId = ? or throws aNoSuchThreadException
if it could not be found.static MBThread
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where uuid = ?.static MBThread[]
findByUuid_PrevAndNext
(long threadId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the message boards threads before and after the current message boards thread in the ordered set where uuid = ?.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) static MBThreadPersistence
static MBThread
remove
(long threadId) Removes the message boards thread with the primary key from the database.static void
Removes all the message boards threads from the database.static void
removeByC_P
(long categoryId, double priority) Removes all the message boards threads where categoryId = ? and priority = ? from the database.static void
removeByG_C
(long groupId, long categoryId) Removes all the message boards threads where groupId = ? and categoryId = ? from the database.static 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.static 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.static 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.static void
removeByG_NotC
(long groupId, long categoryId) Removes all the message boards threads where groupId = ? and categoryId ≠ ? from the database.static 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.static 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.static void
removeByG_S
(long groupId, int status) Removes all the message boards threads where groupId = ? and status = ? from the database.static void
removeByGroupId
(long groupId) Removes all the message boards threads where groupId = ? from the database.static void
removeByL_P
(Date lastPostDate, double priority) Removes all the message boards threads where lastPostDate = ? and priority = ? from the database.static MBThread
removeByRootMessageId
(long rootMessageId) Removes the message boards thread where rootMessageId = ? from the database.static void
removeByUuid
(String uuid) Removes all the message boards threads where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the message boards threads where uuid = ? and companyId = ? from the database.static MBThread
removeByUUID_G
(String uuid, long groupId) Removes the message boards thread where uuid = ? and groupId = ? from the database.static void
setPersistence
(MBThreadPersistence persistence) static MBThread
static MBThread
static MBThread
updateImpl
(MBThread mbThread)
-
Constructor Details
-
MBThreadUtil
public MBThreadUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<MBThread> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<MBThread> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<MBThread> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static MBThread update(MBThread mbThread, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the message boards threads where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching message boards threads
-
findByUuid
Returns a range of all the message boards threads where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByUuid
public static List<MBThread> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByUuid
public static List<MBThread> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByUuid_First
public static MBThread findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByUuid_First
public static MBThread fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByUuid_Last
public static MBThread findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByUuid_Last
public static MBThread fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByUuid_PrevAndNext
public static MBThread[] findByUuid_PrevAndNext(long threadId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where uuid = ?.- Parameters:
threadId
- the primary key of the current message boards threaduuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
removeByUuid
Removes all the message boards threads where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of message boards threads where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching message boards threads
-
findByUUID_G
Returns the message boards thread where uuid = ? and groupId = ? or throws aNoSuchThreadException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByUUID_G
Returns the message boards thread where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching message boards thread, or
null
if a matching message boards thread could not be found
-
fetchByUUID_G
Returns the message boards thread where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching message boards thread, or
null
if a matching message boards thread could not be found
-
removeByUUID_G
Removes the message boards thread where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the message boards thread that was removed
- Throws:
NoSuchThreadException
-
countByUUID_G
Returns the number of message boards threads where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching message boards threads
-
findByUuid_C
Returns all the message boards threads where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching message boards threads
-
findByUuid_C
Returns a range of all the message boards threads where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByUuid_C
public static List<MBThread> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByUuid_C
public static List<MBThread> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByUuid_C_First
public static MBThread findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByUuid_C_First
public static MBThread fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByUuid_C_Last
public static MBThread findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByUuid_C_Last
public static MBThread fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByUuid_C_PrevAndNext
public static MBThread[] findByUuid_C_PrevAndNext(long threadId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where uuid = ? and companyId = ?.- Parameters:
threadId
- the primary key of the current message boards threaduuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
removeByUuid_C
Removes all the message boards threads where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of message boards threads where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching message boards threads
-
findByGroupId
Returns all the message boards threads where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching message boards threads
-
findByGroupId
Returns a range of all the message boards threads where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByGroupId
public static List<MBThread> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByGroupId
public static List<MBThread> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByGroupId_First
public static MBThread findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByGroupId_First
public static MBThread fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByGroupId_Last
public static MBThread findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByGroupId_Last
public static MBThread fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByGroupId_PrevAndNext
public static MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByGroupId
Returns all the message boards threads that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByGroupId
Returns a range of all the message boards threads that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByGroupId
public static List<MBThread> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public static MBThread[] filterFindByGroupId_PrevAndNext(long threadId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException 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 = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the message boards threads where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of message boards threads where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching message boards threads
-
filterCountByGroupId
public static int filterCountByGroupId(long groupId) Returns the number of message boards threads that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching message boards threads that the user has permission to view
-
findByRootMessageId
Returns the message boards thread where rootMessageId = ? or throws aNoSuchThreadException
if it could not be found.- Parameters:
rootMessageId
- the root message ID- Returns:
- the matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByRootMessageId
Returns the message boards thread where rootMessageId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
rootMessageId
- the root message ID- Returns:
- the matching message boards thread, or
null
if a matching message boards thread could not be found
-
fetchByRootMessageId
Returns the message boards thread where rootMessageId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
rootMessageId
- the root message IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching message boards thread, or
null
if a matching message boards thread could not be found
-
removeByRootMessageId
Removes the message boards thread where rootMessageId = ? from the database.- Parameters:
rootMessageId
- the root message ID- Returns:
- the message boards thread that was removed
- Throws:
NoSuchThreadException
-
countByRootMessageId
public static int countByRootMessageId(long rootMessageId) Returns the number of message boards threads where rootMessageId = ?.- Parameters:
rootMessageId
- the root message ID- Returns:
- the number of matching message boards threads
-
findByG_C
Returns all the message boards threads where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the matching message boards threads
-
findByG_C
Returns a range of all the message boards threads where groupId = ? and categoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_C
public static List<MBThread> findByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_C
public static List<MBThread> findByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByG_C_First
public static MBThread findByG_C_First(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_C_First
public static MBThread fetchByG_C_First(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_C_Last
public static MBThread findByG_C_Last(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_C_Last
public static MBThread fetchByG_C_Last(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_C_PrevAndNext
public static MBThread[] findByG_C_PrevAndNext(long threadId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_C
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_C
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_C
public static List<MBThread> filterFindByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
filterFindByG_C_PrevAndNext
public static MBThread[] filterFindByG_C_PrevAndNext(long threadId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException 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 = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_C
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.- Parameters:
groupId
- the group IDcategoryIds
- the category IDs- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_C
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_C
public static List<MBThread> filterFindByG_C(long groupId, long[] categoryIds, int start, int end, com.liferay.portal.kernel.util.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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
findByG_C
Returns all the message boards threads where groupId = ? and categoryId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDs- Returns:
- the matching message boards threads
-
findByG_C
Returns a range of all the message boards threads where groupId = ? and categoryId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_C
public static List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_C
public static List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
removeByG_C
public static void removeByG_C(long groupId, long categoryId) Removes all the message boards threads where groupId = ? and categoryId = ? from the database.- Parameters:
groupId
- the group IDcategoryId
- the category ID
-
countByG_C
public static int countByG_C(long groupId, long categoryId) Returns the number of message boards threads where groupId = ? and categoryId = ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the number of matching message boards threads
-
countByG_C
public static int countByG_C(long groupId, long[] categoryIds) Returns the number of message boards threads where groupId = ? and categoryId = any ?.- Parameters:
groupId
- the group IDcategoryIds
- the category IDs- Returns:
- the number of matching message boards threads
-
filterCountByG_C
public static 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the number of matching message boards threads that the user has permission to view
-
filterCountByG_C
public static 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 ?.- Parameters:
groupId
- the group IDcategoryIds
- the category IDs- Returns:
- the number of matching message boards threads that the user has permission to view
-
findByG_NotC
Returns all the message boards threads where groupId = ? and categoryId ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the matching message boards threads
-
findByG_NotC
Returns a range of all the message boards threads where groupId = ? and categoryId ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_NotC
public static List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_NotC
public static List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByG_NotC_First
public static MBThread findByG_NotC_First(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_NotC_First
public static MBThread fetchByG_NotC_First(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_NotC_Last
public static MBThread findByG_NotC_Last(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_NotC_Last
public static MBThread fetchByG_NotC_Last(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_NotC_PrevAndNext
public static MBThread[] findByG_NotC_PrevAndNext(long threadId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_NotC
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_NotC
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_NotC
public static List<MBThread> filterFindByG_NotC(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and categoryId ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
filterFindByG_NotC_PrevAndNext
public static MBThread[] filterFindByG_NotC_PrevAndNext(long threadId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException 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 ≠ ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
removeByG_NotC
public static void removeByG_NotC(long groupId, long categoryId) Removes all the message boards threads where groupId = ? and categoryId ≠ ? from the database.- Parameters:
groupId
- the group IDcategoryId
- the category ID
-
countByG_NotC
public static int countByG_NotC(long groupId, long categoryId) Returns the number of message boards threads where groupId = ? and categoryId ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the number of matching message boards threads
-
filterCountByG_NotC
public static 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 ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category ID- Returns:
- the number of matching message boards threads that the user has permission to view
-
findByG_S
Returns all the message boards threads where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the matching message boards threads
-
findByG_S
Returns a range of all the message boards threads where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_S
public static List<MBThread> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_S
public static List<MBThread> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByG_S_First
public static MBThread findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_S_First
public static MBThread fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_S_Last
public static MBThread findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_S_Last
public static MBThread fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_S_PrevAndNext
public static MBThread[] findByG_S_PrevAndNext(long threadId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and status = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_S
Returns all the message boards threads that the user has permission to view where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_S
Returns a range of all the message boards threads that the user has permission to view where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_S
public static List<MBThread> filterFindByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads that the user has permissions to view where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
filterFindByG_S_PrevAndNext
public static MBThread[] filterFindByG_S_PrevAndNext(long threadId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException 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 = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
removeByG_S
public static void removeByG_S(long groupId, int status) Removes all the message boards threads where groupId = ? and status = ? from the database.- Parameters:
groupId
- the group IDstatus
- the status
-
countByG_S
public static int countByG_S(long groupId, int status) Returns the number of message boards threads where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the number of matching message boards threads
-
filterCountByG_S
public static 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 = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the number of matching message boards threads that the user has permission to view
-
findByC_P
Returns all the message boards threads where categoryId = ? and priority = ?.- Parameters:
categoryId
- the category IDpriority
- the priority- Returns:
- the matching message boards threads
-
findByC_P
Returns a range of all the message boards threads where categoryId = ? and priority = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
categoryId
- the category IDpriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByC_P
public static List<MBThread> findByC_P(long categoryId, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
categoryId
- the category IDpriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByC_P
public static List<MBThread> findByC_P(long categoryId, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where categoryId = ? and priority = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
categoryId
- the category IDpriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByC_P_First
public static MBThread findByC_P_First(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?.- Parameters:
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByC_P_First
public static MBThread fetchByC_P_First(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where categoryId = ? and priority = ?.- Parameters:
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByC_P_Last
public static MBThread findByC_P_Last(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?.- Parameters:
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByC_P_Last
public static MBThread fetchByC_P_Last(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where categoryId = ? and priority = ?.- Parameters:
categoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByC_P_PrevAndNext
public static MBThread[] findByC_P_PrevAndNext(long threadId, long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where categoryId = ? and priority = ?.- Parameters:
threadId
- the primary key of the current message boards threadcategoryId
- the category IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
removeByC_P
public static void removeByC_P(long categoryId, double priority) Removes all the message boards threads where categoryId = ? and priority = ? from the database.- Parameters:
categoryId
- the category IDpriority
- the priority
-
countByC_P
public static int countByC_P(long categoryId, double priority) Returns the number of message boards threads where categoryId = ? and priority = ?.- Parameters:
categoryId
- the category IDpriority
- the priority- Returns:
- the number of matching message boards threads
-
findByL_P
Returns all the message boards threads where lastPostDate = ? and priority = ?.- Parameters:
lastPostDate
- the last post datepriority
- the priority- Returns:
- the matching message boards threads
-
findByL_P
Returns a range of all the message boards threads where lastPostDate = ? and priority = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
lastPostDate
- the last post datepriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByL_P
public static List<MBThread> findByL_P(Date lastPostDate, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where lastPostDate = ? and priority = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
lastPostDate
- the last post datepriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByL_P
public static List<MBThread> findByL_P(Date lastPostDate, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where lastPostDate = ? and priority = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
lastPostDate
- the last post datepriority
- the prioritystart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByL_P_First
public static MBThread findByL_P_First(Date lastPostDate, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?.- Parameters:
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByL_P_First
public static MBThread fetchByL_P_First(Date lastPostDate, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where lastPostDate = ? and priority = ?.- Parameters:
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByL_P_Last
public static MBThread findByL_P_Last(Date lastPostDate, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where lastPostDate = ? and priority = ?.- Parameters:
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByL_P_Last
public static MBThread fetchByL_P_Last(Date lastPostDate, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where lastPostDate = ? and priority = ?.- Parameters:
lastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByL_P_PrevAndNext
public static MBThread[] findByL_P_PrevAndNext(long threadId, Date lastPostDate, double priority, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where lastPostDate = ? and priority = ?.- Parameters:
threadId
- the primary key of the current message boards threadlastPostDate
- the last post datepriority
- the priorityorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
removeByL_P
Removes all the message boards threads where lastPostDate = ? and priority = ? from the database.- Parameters:
lastPostDate
- the last post datepriority
- the priority
-
countByL_P
Returns the number of message boards threads where lastPostDate = ? and priority = ?.- Parameters:
lastPostDate
- the last post datepriority
- the priority- Returns:
- the number of matching message boards threads
-
findByG_C_L
Returns all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post date- Returns:
- the matching message boards threads
-
findByG_C_L
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_C_L
public static List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_C_L
public static List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByG_C_L_First
public static MBThread findByG_C_L_First(long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_C_L_First
public static MBThread fetchByG_C_L_First(long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_C_L_Last
public static MBThread findByG_C_L_Last(long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_C_L_Last
public static MBThread fetchByG_C_L_Last(long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_C_L_PrevAndNext
public static MBThread[] findByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_C_L
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post date- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_C_L
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_C_L
public static List<MBThread> filterFindByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end, com.liferay.portal.kernel.util.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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post datestart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
filterFindByG_C_L_PrevAndNext
public static MBThread[] filterFindByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException 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 = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
removeByG_C_L
Removes all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ? from the database.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post date
-
countByG_C_L
Returns the number of message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post date- Returns:
- the number of matching message boards threads
-
filterCountByG_C_L
Returns the number of message boards threads that the user has permission to view where groupId = ? and categoryId = ? and lastPostDate = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDlastPostDate
- the last post date- Returns:
- the number of matching message boards threads that the user has permission to view
-
findByG_C_S
Returns all the message boards threads where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the matching message boards threads
-
findByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_C_S
public static List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_C_S
public static List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByG_C_S_First
public static MBThread findByG_C_S_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_C_S_First
public static MBThread fetchByG_C_S_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_C_S_Last
public static MBThread findByG_C_S_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_C_S_Last
public static MBThread fetchByG_C_S_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_C_S_PrevAndNext
public static MBThread[] findByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_C_S
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_C_S
public static List<MBThread> filterFindByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
filterFindByG_C_S_PrevAndNext
public static MBThread[] filterFindByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException 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 = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_C_S
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status = ?.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_C_S
public static List<MBThread> filterFindByG_C_S(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
findByG_C_S
Returns all the message boards threads where groupId = ? and categoryId = any ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status- Returns:
- the matching message boards threads
-
findByG_C_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_C_S
public static List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_C_S
public static List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
removeByG_C_S
public static 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.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status
-
countByG_C_S
public static int countByG_C_S(long groupId, long categoryId, int status) Returns the number of message boards threads where groupId = ? and categoryId = ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the number of matching message boards threads
-
countByG_C_S
public static int countByG_C_S(long groupId, long[] categoryIds, int status) Returns the number of message boards threads where groupId = ? and categoryId = any ? and status = ?.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status- Returns:
- the number of matching message boards threads
-
filterCountByG_C_S
public static 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the number of matching message boards threads that the user has permission to view
-
filterCountByG_C_S
public static 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 = ?.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status- Returns:
- the number of matching message boards threads that the user has permission to view
-
findByG_C_NotS
Returns all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the matching message boards threads
-
findByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_C_NotS
public static List<MBThread> findByG_C_NotS(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_C_NotS
public static List<MBThread> findByG_C_NotS(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByG_C_NotS_First
public static MBThread findByG_C_NotS_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_C_NotS_First
public static MBThread fetchByG_C_NotS_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_C_NotS_Last
public static MBThread findByG_C_NotS_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_C_NotS_Last
public static MBThread fetchByG_C_NotS_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_C_NotS_PrevAndNext
public static MBThread[] findByG_C_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and status ≠ ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_C_NotS
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_C_NotS
public static List<MBThread> filterFindByG_C_NotS(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
filterFindByG_C_NotS_PrevAndNext
public static MBThread[] filterFindByG_C_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException 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 ≠ ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_C_NotS
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId = any ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_C_NotS
public static List<MBThread> filterFindByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
findByG_C_NotS
Returns all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status- Returns:
- the matching message boards threads
-
findByG_C_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_C_NotS
public static List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_C_NotS
public static List<MBThread> findByG_C_NotS(long groupId, long[] categoryIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status ≠ ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
removeByG_C_NotS
public static 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.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status
-
countByG_C_NotS
public static int countByG_C_NotS(long groupId, long categoryId, int status) Returns the number of message boards threads where groupId = ? and categoryId = ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the number of matching message boards threads
-
countByG_C_NotS
public static int countByG_C_NotS(long groupId, long[] categoryIds, int status) Returns the number of message boards threads where groupId = ? and categoryId = any ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status- Returns:
- the number of matching message boards threads
-
filterCountByG_C_NotS
public static 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 ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the number of matching message boards threads that the user has permission to view
-
filterCountByG_C_NotS
public static 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 ≠ ?.- Parameters:
groupId
- the group IDcategoryIds
- the category IDsstatus
- the status- Returns:
- the number of matching message boards threads that the user has permission to view
-
findByG_NotC_S
Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the matching message boards threads
-
findByG_NotC_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_NotC_S
public static List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_NotC_S
public static List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByG_NotC_S_First
public static MBThread findByG_NotC_S_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_NotC_S_First
public static MBThread fetchByG_NotC_S_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_NotC_S_Last
public static MBThread findByG_NotC_S_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_NotC_S_Last
public static MBThread fetchByG_NotC_S_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_NotC_S_PrevAndNext
public static MBThread[] findByG_NotC_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_NotC_S
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_NotC_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_NotC_S
public static List<MBThread> filterFindByG_NotC_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
filterFindByG_NotC_S_PrevAndNext
public static MBThread[] filterFindByG_NotC_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException 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 = ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
removeByG_NotC_S
public static 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.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status
-
countByG_NotC_S
public static int countByG_NotC_S(long groupId, long categoryId, int status) Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the number of matching message boards threads
-
filterCountByG_NotC_S
public static 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 = ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the number of matching message boards threads that the user has permission to view
-
findByG_NotC_NotS
Returns all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the matching message boards threads
-
findByG_NotC_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads
-
findByG_NotC_NotS
public static List<MBThread> findByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads
-
findByG_NotC_NotS
public static List<MBThread> findByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching message boards threads
-
findByG_NotC_NotS_First
public static MBThread findByG_NotC_NotS_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_NotC_NotS_First
public static MBThread fetchByG_NotC_NotS_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_NotC_NotS_Last
public static MBThread findByG_NotC_NotS_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread
- Throws:
NoSuchThreadException
- if a matching message boards thread could not be foundNoSuchThreadException
-
fetchByG_NotC_NotS_Last
public static MBThread fetchByG_NotC_NotS_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching message boards thread, or
null
if a matching message boards thread could not be found
-
findByG_NotC_NotS_PrevAndNext
public static MBThread[] findByG_NotC_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException Returns the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status ≠ ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
filterFindByG_NotC_NotS
Returns all the message boards threads that the user has permission to view where groupId = ? and categoryId ≠ ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the matching message boards threads that the user has permission to view
-
filterFindByG_NotC_NotS
public static 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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of matching message boards threads that the user has permission to view
-
filterFindByG_NotC_NotS
public static List<MBThread> filterFindByG_NotC_NotS(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.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 ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the statusstart
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching message boards threads that the user has permission to view
-
filterFindByG_NotC_NotS_PrevAndNext
public static MBThread[] filterFindByG_NotC_NotS_PrevAndNext(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) throws NoSuchThreadException 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 ≠ ?.- Parameters:
threadId
- the primary key of the current message boards threadgroupId
- the group IDcategoryId
- the category IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
removeByG_NotC_NotS
public static 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.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status
-
countByG_NotC_NotS
public static int countByG_NotC_NotS(long groupId, long categoryId, int status) Returns the number of message boards threads where groupId = ? and categoryId ≠ ? and status ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the number of matching message boards threads
-
filterCountByG_NotC_NotS
public static 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 ≠ ?.- Parameters:
groupId
- the group IDcategoryId
- the category IDstatus
- the status- Returns:
- the number of matching message boards threads that the user has permission to view
-
cacheResult
Caches the message boards thread in the entity cache if it is enabled.- Parameters:
mbThread
- the message boards thread
-
cacheResult
Caches the message boards threads in the entity cache if it is enabled.- Parameters:
mbThreads
- the message boards threads
-
create
Creates a new message boards thread with the primary key. Does not add the message boards thread to the database.- Parameters:
threadId
- the primary key for the new message boards thread- Returns:
- the new message boards thread
-
remove
Removes the message boards thread with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
threadId
- the primary key of the message boards thread- Returns:
- the message boards thread that was removed
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
updateImpl
-
findByPrimaryKey
Returns the message boards thread with the primary key or throws aNoSuchThreadException
if it could not be found.- Parameters:
threadId
- the primary key of the message boards thread- Returns:
- the message boards thread
- Throws:
NoSuchThreadException
- if a message boards thread with the primary key could not be foundNoSuchThreadException
-
fetchByPrimaryKey
Returns the message boards thread with the primary key or returnsnull
if it could not be found.- Parameters:
threadId
- the primary key of the message boards thread- Returns:
- the message boards thread, or
null
if a message boards thread with the primary key could not be found
-
findAll
Returns all the message boards threads.- Returns:
- the message boards threads
-
findAll
Returns a range of all the message boards threads.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
start
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)- Returns:
- the range of message boards threads
-
findAll
public static List<MBThread> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator) Returns an ordered range of all the message boards threads.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
start
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of message boards threads
-
findAll
public static List<MBThread> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThread> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards threads.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromMBThreadModelImpl
.- Parameters:
start
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of message boards threads
-
removeAll
public static void removeAll()Removes all the message boards threads from the database. -
countAll
public static int countAll()Returns the number of message boards threads.- Returns:
- the number of message boards threads
-
getPersistence
-
setPersistence
-