Class KBArticleUtil
com.liferay.knowledge.base.service.persistence.impl.KBArticlePersistenceImpl
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
(KBArticle kbArticle) Caches the kb article in the entity cache if it is enabled.static void
cacheResult
(List<KBArticle> kbArticles) Caches the kb articles in the entity cache if it is enabled.static void
static void
clearCache
(KBArticle kbArticle) static int
countAll()
Returns the number of kb articles.static int
countByC_L
(long companyId, boolean latest) Returns the number of kb articles where companyId = ? and latest = ?.static int
countByC_L_NotS
(long companyId, boolean latest, int status) Returns the number of kb articles where companyId = ? and latest = ? and status ≠ ?.static int
countByC_M
(long companyId, boolean main) Returns the number of kb articles where companyId = ? and main = ?.static int
countByC_M_NotS
(long companyId, boolean main, int status) Returns the number of kb articles where companyId = ? and main = ? and status ≠ ?.static int
countByC_S
(long companyId, int status) Returns the number of kb articles where companyId = ? and status = ?.static int
countByG_ERC
(long groupId, String externalReferenceCode) Returns the number of kb articles where groupId = ? and externalReferenceCode = ?.static int
countByG_ERC_V
(long groupId, String externalReferenceCode, int version) Returns the number of kb articles where groupId = ? and externalReferenceCode = ? and version = ?.static int
countByG_KBFI_L
(long groupId, long kbFolderId, boolean latest) Returns the number of kb articles where groupId = ? and kbFolderId = ? and latest = ?.static int
countByG_KBFI_L_NotS
(long groupId, long kbFolderId, boolean latest, int status) Returns the number of kb articles where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.static int
countByG_KBFI_S
(long groupId, long kbFolderId, int status) Returns the number of kb articles where groupId = ? and kbFolderId = ? and status = ?.static int
countByG_KBFI_UT
(long groupId, long kbFolderId, String urlTitle) Returns the number of kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.static int
countByG_KBFI_UT_NotS
(long groupId, long kbFolderId, String urlTitle, int status) Returns the number of kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.static int
countByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int status) Returns the number of kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.static int
countByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int[] statuses) Returns the number of kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.static int
countByG_L
(long groupId, boolean latest) Returns the number of kb articles where groupId = ? and latest = ?.static int
countByG_L_NotS
(long groupId, boolean latest, int status) Returns the number of kb articles where groupId = ? and latest = ? and status ≠ ?.static int
countByG_LikeS_L
(long groupId, String[] sectionses, boolean latest) Returns the number of kb articles where groupId = ? and sections LIKE any ? and latest = ?.static int
countByG_LikeS_L
(long groupId, String sections, boolean latest) Returns the number of kb articles where groupId = ? and sections LIKE ? and latest = ?.static int
countByG_LikeS_L_NotS
(long groupId, String[] sectionses, boolean latest, int status) Returns the number of kb articles where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.static int
countByG_LikeS_L_NotS
(long groupId, String sections, boolean latest, int status) Returns the number of kb articles where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.static int
countByG_LikeS_M
(long groupId, String[] sectionses, boolean main) Returns the number of kb articles where groupId = ? and sections LIKE any ? and main = ?.static int
countByG_LikeS_M
(long groupId, String sections, boolean main) Returns the number of kb articles where groupId = ? and sections LIKE ? and main = ?.static int
countByG_LikeS_M_NotS
(long groupId, String[] sectionses, boolean main, int status) Returns the number of kb articles where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.static int
countByG_LikeS_M_NotS
(long groupId, String sections, boolean main, int status) Returns the number of kb articles where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.static int
countByG_LikeS_S
(long groupId, String[] sectionses, int status) Returns the number of kb articles where groupId = ? and sections LIKE any ? and status = ?.static int
countByG_LikeS_S
(long groupId, String sections, int status) Returns the number of kb articles where groupId = ? and sections LIKE ? and status = ?.static int
countByG_M
(long groupId, boolean main) Returns the number of kb articles where groupId = ? and main = ?.static int
countByG_M_NotS
(long groupId, boolean main, int status) Returns the number of kb articles where groupId = ? and main = ? and status ≠ ?.static int
countByG_P_L
(long groupId, long[] parentResourcePrimKeys, boolean latest) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ?.static int
countByG_P_L
(long groupId, long parentResourcePrimKey, boolean latest) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.static int
countByG_P_L_NotS
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.static int
countByG_P_L_NotS
(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.static int
countByG_P_L_S
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.static int
countByG_P_L_S
(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.static int
countByG_P_M
(long groupId, long[] parentResourcePrimKeys, boolean main) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ?.static int
countByG_P_M
(long groupId, long parentResourcePrimKey, boolean main) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.static int
countByG_P_M_NotS
(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.static int
countByG_P_M_NotS
(long groupId, long parentResourcePrimKey, boolean main, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.static int
countByG_P_M_S
(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.static int
countByG_P_M_S
(long groupId, long parentResourcePrimKey, boolean main, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.static int
countByG_P_S
(long groupId, long[] parentResourcePrimKeys, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and status = ?.static int
countByG_P_S
(long groupId, long parentResourcePrimKey, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and status = ?.static int
countByG_S
(long groupId, int status) Returns the number of kb articles where groupId = ? and status = ?.static int
countByLtD_S
(Date displayDate, int status) Returns the number of kb articles where displayDate < ? and status = ?.static int
countByP_L
(long[] parentResourcePrimKeys, boolean latest) Returns the number of kb articles where parentResourcePrimKey = any ? and latest = ?.static int
countByP_L
(long parentResourcePrimKey, boolean latest) Returns the number of kb articles where parentResourcePrimKey = ? and latest = ?.static int
countByP_L_NotS
(long[] parentResourcePrimKeys, boolean latest, int status) Returns the number of kb articles where parentResourcePrimKey = any ? and latest = ? and status ≠ ?.static int
countByP_L_NotS
(long parentResourcePrimKey, boolean latest, int status) Returns the number of kb articles where parentResourcePrimKey = ? and latest = ? and status ≠ ?.static int
countByP_M
(long[] parentResourcePrimKeys, boolean main) Returns the number of kb articles where parentResourcePrimKey = any ? and main = ?.static int
countByP_M
(long parentResourcePrimKey, boolean main) Returns the number of kb articles where parentResourcePrimKey = ? and main = ?.static int
countByP_M_NotS
(long[] parentResourcePrimKeys, boolean main, int status) Returns the number of kb articles where parentResourcePrimKey = any ? and main = ? and status ≠ ?.static int
countByP_M_NotS
(long parentResourcePrimKey, boolean main, int status) Returns the number of kb articles where parentResourcePrimKey = ? and main = ? and status ≠ ?.static int
countByP_S
(long[] parentResourcePrimKeys, int status) Returns the number of kb articles where parentResourcePrimKey = any ? and status = ?.static int
countByP_S
(long parentResourcePrimKey, int status) Returns the number of kb articles where parentResourcePrimKey = ? and status = ?.static int
countByR_G
(long resourcePrimKey, long groupId) Returns the number of kb articles where resourcePrimKey = ? and groupId = ?.static int
countByR_G_L
(long[] resourcePrimKeys, long groupId, boolean latest) Returns the number of kb articles where resourcePrimKey = any ? and groupId = ? and latest = ?.static int
countByR_G_L
(long resourcePrimKey, long groupId, boolean latest) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.static int
countByR_G_L_NotS
(long[] resourcePrimKeys, long groupId, boolean latest, int status) Returns the number of kb articles where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.static int
countByR_G_L_NotS
(long resourcePrimKey, long groupId, boolean latest, int status) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.static int
countByR_G_M
(long[] resourcePrimKeys, long groupId, boolean main) Returns the number of kb articles where resourcePrimKey = any ? and groupId = ? and main = ?.static int
countByR_G_M
(long resourcePrimKey, long groupId, boolean main) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and main = ?.static int
countByR_G_M_NotS
(long[] resourcePrimKeys, long groupId, boolean main, int status) Returns the number of kb articles where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.static int
countByR_G_M_NotS
(long resourcePrimKey, long groupId, boolean main, int status) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.static int
countByR_G_NotS
(long resourcePrimKey, long groupId, int status) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and status ≠ ?.static int
countByR_G_S
(long[] resourcePrimKeys, long groupId, int status) Returns the number of kb articles where resourcePrimKey = any ? and groupId = ? and status = ?.static int
countByR_G_S
(long resourcePrimKey, long groupId, int status) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and status = ?.static int
countByR_G_V
(long resourcePrimKey, long groupId, int version) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and version = ?.static int
countByR_L
(long[] resourcePrimKeys, boolean latest) Returns the number of kb articles where resourcePrimKey = any ? and latest = ?.static int
countByR_L
(long resourcePrimKey, boolean latest) Returns the number of kb articles where resourcePrimKey = ? and latest = ?.static int
countByR_L_NotS
(long[] resourcePrimKeys, boolean latest, int status) Returns the number of kb articles where resourcePrimKey = any ? and latest = ? and status ≠ ?.static int
countByR_L_NotS
(long resourcePrimKey, boolean latest, int status) Returns the number of kb articles where resourcePrimKey = ? and latest = ? and status ≠ ?.static int
countByR_M
(long[] resourcePrimKeys, boolean main) Returns the number of kb articles where resourcePrimKey = any ? and main = ?.static int
countByR_M
(long resourcePrimKey, boolean main) Returns the number of kb articles where resourcePrimKey = ? and main = ?.static int
countByR_M_NotS
(long[] resourcePrimKeys, boolean main, int status) Returns the number of kb articles where resourcePrimKey = any ? and main = ? and status ≠ ?.static int
countByR_M_NotS
(long resourcePrimKey, boolean main, int status) Returns the number of kb articles where resourcePrimKey = ? and main = ? and status ≠ ?.static int
countByR_S
(long[] resourcePrimKeys, int[] statuses) Returns the number of kb articles where resourcePrimKey = any ? and status = any ?.static int
countByR_S
(long resourcePrimKey, int status) Returns the number of kb articles where resourcePrimKey = ? and status = ?.static int
countByR_V
(long resourcePrimKey, int version) Returns the number of kb articles where resourcePrimKey = ? and version = ?.static int
countByResourcePrimKey
(long resourcePrimKey) Returns the number of kb articles where resourcePrimKey = ?.static int
countByUuid
(String uuid) Returns the number of kb articles where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of kb articles where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of kb articles where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KBArticle
create
(long kbArticleId) Creates a new kb article with the primary key.static KBArticle
fetchByC_L_First
(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and latest = ?.static KBArticle
fetchByC_L_Last
(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and latest = ?.static KBArticle
fetchByC_L_NotS_First
(long companyId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and latest = ? and status ≠ ?.static KBArticle
fetchByC_L_NotS_Last
(long companyId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and latest = ? and status ≠ ?.static KBArticle
fetchByC_M_First
(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and main = ?.static KBArticle
fetchByC_M_Last
(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and main = ?.static KBArticle
fetchByC_M_NotS_First
(long companyId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and main = ? and status ≠ ?.static KBArticle
fetchByC_M_NotS_Last
(long companyId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and main = ? and status ≠ ?.static KBArticle
fetchByC_S_First
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and status = ?.static KBArticle
fetchByC_S_Last
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and status = ?.static KBArticle
fetchByG_ERC_First
(long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and externalReferenceCode = ?.static KBArticle
fetchByG_ERC_Last
(long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and externalReferenceCode = ?.static KBArticle
fetchByG_ERC_V
(long groupId, String externalReferenceCode, int version) Returns the kb article where groupId = ? and externalReferenceCode = ? and version = ? or returnsnull
if it could not be found.static KBArticle
fetchByG_ERC_V
(long groupId, String externalReferenceCode, int version, boolean useFinderCache) Returns the kb article where groupId = ? and externalReferenceCode = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.static KBArticle
fetchByG_KBFI_L_First
(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ?.static KBArticle
fetchByG_KBFI_L_Last
(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ?.static KBArticle
fetchByG_KBFI_L_NotS_First
(long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.static KBArticle
fetchByG_KBFI_L_NotS_Last
(long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.static KBArticle
fetchByG_KBFI_S_First
(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and status = ?.static KBArticle
fetchByG_KBFI_S_Last
(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and status = ?.static KBArticle
fetchByG_KBFI_UT_First
(long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ?.static KBArticle
fetchByG_KBFI_UT_Last
(long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ?.static KBArticle
fetchByG_KBFI_UT_NotS_First
(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.static KBArticle
fetchByG_KBFI_UT_NotS_Last
(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.static KBArticle
fetchByG_KBFI_UT_ST_First
(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.static KBArticle
fetchByG_KBFI_UT_ST_Last
(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.static KBArticle
fetchByG_L_First
(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and latest = ?.static KBArticle
fetchByG_L_Last
(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and latest = ?.static KBArticle
fetchByG_L_NotS_First
(long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and latest = ? and status ≠ ?.static KBArticle
fetchByG_L_NotS_Last
(long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and latest = ? and status ≠ ?.static KBArticle
fetchByG_LikeS_L_First
(long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ?.static KBArticle
fetchByG_LikeS_L_Last
(long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ?.static KBArticle
fetchByG_LikeS_L_NotS_First
(long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.static KBArticle
fetchByG_LikeS_L_NotS_Last
(long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.static KBArticle
fetchByG_LikeS_M_First
(long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and main = ?.static KBArticle
fetchByG_LikeS_M_Last
(long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and main = ?.static KBArticle
fetchByG_LikeS_M_NotS_First
(long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.static KBArticle
fetchByG_LikeS_M_NotS_Last
(long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.static KBArticle
fetchByG_LikeS_S_First
(long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and status = ?.static KBArticle
fetchByG_LikeS_S_Last
(long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and status = ?.static KBArticle
fetchByG_M_First
(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and main = ?.static KBArticle
fetchByG_M_Last
(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and main = ?.static KBArticle
fetchByG_M_NotS_First
(long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and main = ? and status ≠ ?.static KBArticle
fetchByG_M_NotS_Last
(long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and main = ? and status ≠ ?.static KBArticle
fetchByG_P_L_First
(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ?.static KBArticle
fetchByG_P_L_Last
(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ?.static KBArticle
fetchByG_P_L_NotS_First
(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
fetchByG_P_L_NotS_Last
(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
fetchByG_P_L_S_First
(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.static KBArticle
fetchByG_P_L_S_Last
(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.static KBArticle
fetchByG_P_M_First
(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ?.static KBArticle
fetchByG_P_M_Last
(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ?.static KBArticle
fetchByG_P_M_NotS_First
(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
fetchByG_P_M_NotS_Last
(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
fetchByG_P_M_S_First
(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.static KBArticle
fetchByG_P_M_S_Last
(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.static KBArticle
fetchByG_P_S_First
(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and status = ?.static KBArticle
fetchByG_P_S_Last
(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and status = ?.static KBArticle
fetchByG_S_First
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and status = ?.static KBArticle
fetchByG_S_Last
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and status = ?.static KBArticle
fetchByLtD_S_First
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where displayDate < ? and status = ?.static KBArticle
fetchByLtD_S_Last
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where displayDate < ? and status = ?.static KBArticle
fetchByP_L_First
(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and latest = ?.static KBArticle
fetchByP_L_Last
(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and latest = ?.static KBArticle
fetchByP_L_NotS_First
(long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
fetchByP_L_NotS_Last
(long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
fetchByP_M_First
(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and main = ?.static KBArticle
fetchByP_M_Last
(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and main = ?.static KBArticle
fetchByP_M_NotS_First
(long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
fetchByP_M_NotS_Last
(long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
fetchByP_S_First
(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and status = ?.static KBArticle
fetchByP_S_Last
(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and status = ?.static KBArticle
fetchByPrimaryKey
(long kbArticleId) Returns the kb article with the primary key or returnsnull
if it could not be found.static Map<Serializable,
KBArticle> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static KBArticle
fetchByR_G_First
(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ?.static KBArticle
fetchByR_G_L_First
(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ?.static KBArticle
fetchByR_G_L_Last
(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ?.static KBArticle
fetchByR_G_L_NotS_First
(long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.static KBArticle
fetchByR_G_L_NotS_Last
(long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.static KBArticle
fetchByR_G_Last
(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ?.static KBArticle
fetchByR_G_M_First
(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ?.static KBArticle
fetchByR_G_M_Last
(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ?.static KBArticle
fetchByR_G_M_NotS_First
(long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.static KBArticle
fetchByR_G_M_NotS_Last
(long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.static KBArticle
fetchByR_G_NotS_First
(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status ≠ ?.static KBArticle
fetchByR_G_NotS_Last
(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status ≠ ?.static KBArticle
fetchByR_G_S_First
(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status = ?.static KBArticle
fetchByR_G_S_Last
(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status = ?.static KBArticle
fetchByR_G_V
(long resourcePrimKey, long groupId, int version) Returns the kb article where resourcePrimKey = ? and groupId = ? and version = ? or returnsnull
if it could not be found.static KBArticle
fetchByR_G_V
(long resourcePrimKey, long groupId, int version, boolean useFinderCache) Returns the kb article where resourcePrimKey = ? and groupId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.static KBArticle
fetchByR_L_First
(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and latest = ?.static KBArticle
fetchByR_L_Last
(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and latest = ?.static KBArticle
fetchByR_L_NotS_First
(long resourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
fetchByR_L_NotS_Last
(long resourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
fetchByR_M_First
(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and main = ?.static KBArticle
fetchByR_M_Last
(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and main = ?.static KBArticle
fetchByR_M_NotS_First
(long resourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
fetchByR_M_NotS_Last
(long resourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
fetchByR_S_First
(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and status = ?.static KBArticle
fetchByR_S_Last
(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and status = ?.static KBArticle
fetchByR_V
(long resourcePrimKey, int version) Returns the kb article where resourcePrimKey = ? and version = ? or returnsnull
if it could not be found.static KBArticle
fetchByR_V
(long resourcePrimKey, int version, boolean useFinderCache) Returns the kb article where resourcePrimKey = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.static KBArticle
fetchByResourcePrimKey_First
(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ?.static KBArticle
fetchByResourcePrimKey_Last
(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ?.static KBArticle
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where uuid = ? and companyId = ?.static KBArticle
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where uuid = ? and companyId = ?.static KBArticle
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where uuid = ?.static KBArticle
fetchByUUID_G
(String uuid, long groupId) Returns the kb article where uuid = ? and groupId = ? or returnsnull
if it could not be found.static KBArticle
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the kb article where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static KBArticle
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where uuid = ?.static int
filterCountByG_ERC
(long groupId, String externalReferenceCode) Returns the number of kb articles that the user has permission to view where groupId = ? and externalReferenceCode = ?.static int
filterCountByG_KBFI_L
(long groupId, long kbFolderId, boolean latest) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ?.static int
filterCountByG_KBFI_L_NotS
(long groupId, long kbFolderId, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.static int
filterCountByG_KBFI_S
(long groupId, long kbFolderId, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and status = ?.static int
filterCountByG_KBFI_UT
(long groupId, long kbFolderId, String urlTitle) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ?.static int
filterCountByG_KBFI_UT_NotS
(long groupId, long kbFolderId, String urlTitle, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.static int
filterCountByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.static int
filterCountByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int[] statuses) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.static int
filterCountByG_L
(long groupId, boolean latest) Returns the number of kb articles that the user has permission to view where groupId = ? and latest = ?.static int
filterCountByG_L_NotS
(long groupId, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and latest = ? and status ≠ ?.static int
filterCountByG_LikeS_L
(long groupId, String[] sectionses, boolean latest) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ?.static int
filterCountByG_LikeS_L
(long groupId, String sections, boolean latest) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ?.static int
filterCountByG_LikeS_L_NotS
(long groupId, String[] sectionses, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.static int
filterCountByG_LikeS_L_NotS
(long groupId, String sections, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.static int
filterCountByG_LikeS_M
(long groupId, String[] sectionses, boolean main) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ?.static int
filterCountByG_LikeS_M
(long groupId, String sections, boolean main) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ?.static int
filterCountByG_LikeS_M_NotS
(long groupId, String[] sectionses, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.static int
filterCountByG_LikeS_M_NotS
(long groupId, String sections, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.static int
filterCountByG_LikeS_S
(long groupId, String[] sectionses, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and status = ?.static int
filterCountByG_LikeS_S
(long groupId, String sections, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and status = ?.static int
filterCountByG_M
(long groupId, boolean main) Returns the number of kb articles that the user has permission to view where groupId = ? and main = ?.static int
filterCountByG_M_NotS
(long groupId, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and main = ? and status ≠ ?.static int
filterCountByG_P_L
(long groupId, long[] parentResourcePrimKeys, boolean latest) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ?.static int
filterCountByG_P_L
(long groupId, long parentResourcePrimKey, boolean latest) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ?.static int
filterCountByG_P_L_NotS
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.static int
filterCountByG_P_L_NotS
(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.static int
filterCountByG_P_L_S
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.static int
filterCountByG_P_L_S
(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.static int
filterCountByG_P_M
(long groupId, long[] parentResourcePrimKeys, boolean main) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ?.static int
filterCountByG_P_M
(long groupId, long parentResourcePrimKey, boolean main) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ?.static int
filterCountByG_P_M_NotS
(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.static int
filterCountByG_P_M_NotS
(long groupId, long parentResourcePrimKey, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.static int
filterCountByG_P_M_S
(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.static int
filterCountByG_P_M_S
(long groupId, long parentResourcePrimKey, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.static int
filterCountByG_P_S
(long groupId, long[] parentResourcePrimKeys, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and status = ?.static int
filterCountByG_P_S
(long groupId, long parentResourcePrimKey, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and status = ?.static int
filterCountByG_S
(long groupId, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and status = ?.static int
filterCountByR_G
(long resourcePrimKey, long groupId) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ?.static int
filterCountByR_G_L
(long[] resourcePrimKeys, long groupId, boolean latest) Returns the number of kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ?.static int
filterCountByR_G_L
(long resourcePrimKey, long groupId, boolean latest) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ?.static int
filterCountByR_G_L_NotS
(long[] resourcePrimKeys, long groupId, boolean latest, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.static int
filterCountByR_G_L_NotS
(long resourcePrimKey, long groupId, boolean latest, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.static int
filterCountByR_G_M
(long[] resourcePrimKeys, long groupId, boolean main) Returns the number of kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ?.static int
filterCountByR_G_M
(long resourcePrimKey, long groupId, boolean main) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ?.static int
filterCountByR_G_M_NotS
(long[] resourcePrimKeys, long groupId, boolean main, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.static int
filterCountByR_G_M_NotS
(long resourcePrimKey, long groupId, boolean main, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.static int
filterCountByR_G_NotS
(long resourcePrimKey, long groupId, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status ≠ ?.static int
filterCountByR_G_S
(long[] resourcePrimKeys, long groupId, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and status = ?.static int
filterCountByR_G_S
(long resourcePrimKey, long groupId, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status = ?.filterFindByG_ERC
(long groupId, String externalReferenceCode) Returns all the kb articles that the user has permission to view where groupId = ? and externalReferenceCode = ?.filterFindByG_ERC
(long groupId, String externalReferenceCode, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and externalReferenceCode = ?.filterFindByG_ERC
(long groupId, String externalReferenceCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and externalReferenceCode = ?.static KBArticle[]
filterFindByG_ERC_PrevAndNext
(long kbArticleId, long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and externalReferenceCode = ?.filterFindByG_KBFI_L
(long groupId, long kbFolderId, boolean latest) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ?.filterFindByG_KBFI_L
(long groupId, long kbFolderId, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ?.filterFindByG_KBFI_L
(long groupId, long kbFolderId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and latest = ?.filterFindByG_KBFI_L_NotS
(long groupId, long kbFolderId, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.filterFindByG_KBFI_L_NotS
(long groupId, long kbFolderId, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.filterFindByG_KBFI_L_NotS
(long groupId, long kbFolderId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.static KBArticle[]
filterFindByG_KBFI_L_NotS_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.static KBArticle[]
filterFindByG_KBFI_L_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ?.filterFindByG_KBFI_S
(long groupId, long kbFolderId, int status) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and status = ?.filterFindByG_KBFI_S
(long groupId, long kbFolderId, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and status = ?.filterFindByG_KBFI_S
(long groupId, long kbFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and status = ?.static KBArticle[]
filterFindByG_KBFI_S_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and status = ?.filterFindByG_KBFI_UT
(long groupId, long kbFolderId, String urlTitle) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ?.filterFindByG_KBFI_UT
(long groupId, long kbFolderId, String urlTitle, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ?.filterFindByG_KBFI_UT
(long groupId, long kbFolderId, String urlTitle, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and urlTitle = ?.filterFindByG_KBFI_UT_NotS
(long groupId, long kbFolderId, String urlTitle, int status) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.filterFindByG_KBFI_UT_NotS
(long groupId, long kbFolderId, String urlTitle, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.filterFindByG_KBFI_UT_NotS
(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.static KBArticle[]
filterFindByG_KBFI_UT_NotS_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.static KBArticle[]
filterFindByG_KBFI_UT_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ?.filterFindByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int status) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.filterFindByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int[] statuses) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.filterFindByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int[] statuses, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.filterFindByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.filterFindByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.filterFindByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.static KBArticle[]
filterFindByG_KBFI_UT_ST_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.filterFindByG_L
(long groupId, boolean latest) Returns all the kb articles that the user has permission to view where groupId = ? and latest = ?.filterFindByG_L
(long groupId, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and latest = ?.filterFindByG_L
(long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and latest = ?.filterFindByG_L_NotS
(long groupId, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and latest = ? and status ≠ ?.filterFindByG_L_NotS
(long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and latest = ? and status ≠ ?.filterFindByG_L_NotS
(long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and latest = ? and status ≠ ?.static KBArticle[]
filterFindByG_L_NotS_PrevAndNext
(long kbArticleId, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and latest = ? and status ≠ ?.static KBArticle[]
filterFindByG_L_PrevAndNext
(long kbArticleId, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and latest = ?.filterFindByG_LikeS_L
(long groupId, String[] sectionses, boolean latest) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ?.filterFindByG_LikeS_L
(long groupId, String[] sectionses, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ?.filterFindByG_LikeS_L
(long groupId, String[] sectionses, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ?.filterFindByG_LikeS_L
(long groupId, String sections, boolean latest) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ?.filterFindByG_LikeS_L
(long groupId, String sections, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ?.filterFindByG_LikeS_L
(long groupId, String sections, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and sections LIKE ? and latest = ?.filterFindByG_LikeS_L_NotS
(long groupId, String[] sectionses, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.filterFindByG_LikeS_L_NotS
(long groupId, String[] sectionses, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.filterFindByG_LikeS_L_NotS
(long groupId, String[] sectionses, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.filterFindByG_LikeS_L_NotS
(long groupId, String sections, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.filterFindByG_LikeS_L_NotS
(long groupId, String sections, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.filterFindByG_LikeS_L_NotS
(long groupId, String sections, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.static KBArticle[]
filterFindByG_LikeS_L_NotS_PrevAndNext
(long kbArticleId, long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.static KBArticle[]
filterFindByG_LikeS_L_PrevAndNext
(long kbArticleId, long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ?.filterFindByG_LikeS_M
(long groupId, String[] sectionses, boolean main) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ?.filterFindByG_LikeS_M
(long groupId, String[] sectionses, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ?.filterFindByG_LikeS_M
(long groupId, String[] sectionses, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ?.filterFindByG_LikeS_M
(long groupId, String sections, boolean main) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ?.filterFindByG_LikeS_M
(long groupId, String sections, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ?.filterFindByG_LikeS_M
(long groupId, String sections, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and sections LIKE ? and main = ?.filterFindByG_LikeS_M_NotS
(long groupId, String[] sectionses, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.filterFindByG_LikeS_M_NotS
(long groupId, String[] sectionses, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.filterFindByG_LikeS_M_NotS
(long groupId, String[] sectionses, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.filterFindByG_LikeS_M_NotS
(long groupId, String sections, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.filterFindByG_LikeS_M_NotS
(long groupId, String sections, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.filterFindByG_LikeS_M_NotS
(long groupId, String sections, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.static KBArticle[]
filterFindByG_LikeS_M_NotS_PrevAndNext
(long kbArticleId, long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.static KBArticle[]
filterFindByG_LikeS_M_PrevAndNext
(long kbArticleId, long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ?.filterFindByG_LikeS_S
(long groupId, String[] sectionses, int status) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and status = ?.filterFindByG_LikeS_S
(long groupId, String[] sectionses, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and status = ?.filterFindByG_LikeS_S
(long groupId, String[] sectionses, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and status = ?.filterFindByG_LikeS_S
(long groupId, String sections, int status) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and status = ?.filterFindByG_LikeS_S
(long groupId, String sections, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and status = ?.filterFindByG_LikeS_S
(long groupId, String sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and sections LIKE ? and status = ?.static KBArticle[]
filterFindByG_LikeS_S_PrevAndNext
(long kbArticleId, long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and status = ?.filterFindByG_M
(long groupId, boolean main) Returns all the kb articles that the user has permission to view where groupId = ? and main = ?.filterFindByG_M
(long groupId, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and main = ?.filterFindByG_M
(long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and main = ?.filterFindByG_M_NotS
(long groupId, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and main = ? and status ≠ ?.filterFindByG_M_NotS
(long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and main = ? and status ≠ ?.filterFindByG_M_NotS
(long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and main = ? and status ≠ ?.static KBArticle[]
filterFindByG_M_NotS_PrevAndNext
(long kbArticleId, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and main = ? and status ≠ ?.static KBArticle[]
filterFindByG_M_PrevAndNext
(long kbArticleId, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and main = ?.filterFindByG_P_L
(long groupId, long[] parentResourcePrimKeys, boolean latest) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ?.filterFindByG_P_L
(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ?.filterFindByG_P_L
(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ?.filterFindByG_P_L
(long groupId, long parentResourcePrimKey, boolean latest) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ?.filterFindByG_P_L
(long groupId, long parentResourcePrimKey, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ?.filterFindByG_P_L
(long groupId, long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and latest = ?.filterFindByG_P_L_NotS
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.filterFindByG_P_L_NotS
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.filterFindByG_P_L_NotS
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.filterFindByG_P_L_NotS
(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.filterFindByG_P_L_NotS
(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.filterFindByG_P_L_NotS
(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle[]
filterFindByG_P_L_NotS_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle[]
filterFindByG_P_L_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ?.filterFindByG_P_L_S
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.filterFindByG_P_L_S
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.filterFindByG_P_L_S
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.filterFindByG_P_L_S
(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.filterFindByG_P_L_S
(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.filterFindByG_P_L_S
(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.static KBArticle[]
filterFindByG_P_L_S_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.filterFindByG_P_M
(long groupId, long[] parentResourcePrimKeys, boolean main) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ?.filterFindByG_P_M
(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ?.filterFindByG_P_M
(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ?.filterFindByG_P_M
(long groupId, long parentResourcePrimKey, boolean main) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ?.filterFindByG_P_M
(long groupId, long parentResourcePrimKey, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ?.filterFindByG_P_M
(long groupId, long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and main = ?.filterFindByG_P_M_NotS
(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.filterFindByG_P_M_NotS
(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.filterFindByG_P_M_NotS
(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.filterFindByG_P_M_NotS
(long groupId, long parentResourcePrimKey, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.filterFindByG_P_M_NotS
(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.filterFindByG_P_M_NotS
(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle[]
filterFindByG_P_M_NotS_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle[]
filterFindByG_P_M_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ?.filterFindByG_P_M_S
(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.filterFindByG_P_M_S
(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.filterFindByG_P_M_S
(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.filterFindByG_P_M_S
(long groupId, long parentResourcePrimKey, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.filterFindByG_P_M_S
(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.filterFindByG_P_M_S
(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.static KBArticle[]
filterFindByG_P_M_S_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.filterFindByG_P_S
(long groupId, long[] parentResourcePrimKeys, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and status = ?.filterFindByG_P_S
(long groupId, long[] parentResourcePrimKeys, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and status = ?.filterFindByG_P_S
(long groupId, long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and status = ?.filterFindByG_P_S
(long groupId, long parentResourcePrimKey, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and status = ?.filterFindByG_P_S
(long groupId, long parentResourcePrimKey, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and status = ?.filterFindByG_P_S
(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and status = ?.static KBArticle[]
filterFindByG_P_S_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and status = ?.filterFindByG_S
(long groupId, int status) Returns all the kb articles 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 kb articles 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<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and status = ?.static KBArticle[]
filterFindByG_S_PrevAndNext
(long kbArticleId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and status = ?.filterFindByR_G
(long resourcePrimKey, long groupId) Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ?.filterFindByR_G
(long resourcePrimKey, long groupId, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ?.filterFindByR_G
(long resourcePrimKey, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ?.filterFindByR_G_L
(long[] resourcePrimKeys, long groupId, boolean latest) Returns all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ?.filterFindByR_G_L
(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ?.filterFindByR_G_L
(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ?.filterFindByR_G_L
(long resourcePrimKey, long groupId, boolean latest) Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ?.filterFindByR_G_L
(long resourcePrimKey, long groupId, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ?.filterFindByR_G_L
(long resourcePrimKey, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ? and latest = ?.filterFindByR_G_L_NotS
(long[] resourcePrimKeys, long groupId, boolean latest, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.filterFindByR_G_L_NotS
(long[] resourcePrimKeys, long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.filterFindByR_G_L_NotS
(long[] resourcePrimKeys, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.filterFindByR_G_L_NotS
(long resourcePrimKey, long groupId, boolean latest, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.filterFindByR_G_L_NotS
(long resourcePrimKey, long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.filterFindByR_G_L_NotS
(long resourcePrimKey, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.static KBArticle[]
filterFindByR_G_L_NotS_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.static KBArticle[]
filterFindByR_G_L_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ?.filterFindByR_G_M
(long[] resourcePrimKeys, long groupId, boolean main) Returns all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ?.filterFindByR_G_M
(long[] resourcePrimKeys, long groupId, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ?.filterFindByR_G_M
(long[] resourcePrimKeys, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ?.filterFindByR_G_M
(long resourcePrimKey, long groupId, boolean main) Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ?.filterFindByR_G_M
(long resourcePrimKey, long groupId, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ?.filterFindByR_G_M
(long resourcePrimKey, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ? and main = ?.filterFindByR_G_M_NotS
(long[] resourcePrimKeys, long groupId, boolean main, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.filterFindByR_G_M_NotS
(long[] resourcePrimKeys, long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.filterFindByR_G_M_NotS
(long[] resourcePrimKeys, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.filterFindByR_G_M_NotS
(long resourcePrimKey, long groupId, boolean main, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.filterFindByR_G_M_NotS
(long resourcePrimKey, long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.filterFindByR_G_M_NotS
(long resourcePrimKey, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.static KBArticle[]
filterFindByR_G_M_NotS_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.static KBArticle[]
filterFindByR_G_M_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ?.filterFindByR_G_NotS
(long resourcePrimKey, long groupId, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status ≠ ?.filterFindByR_G_NotS
(long resourcePrimKey, long groupId, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status ≠ ?.filterFindByR_G_NotS
(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ? and status ≠ ?.static KBArticle[]
filterFindByR_G_NotS_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status ≠ ?.static KBArticle[]
filterFindByR_G_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ?.filterFindByR_G_S
(long[] resourcePrimKeys, long groupId, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and status = ?.filterFindByR_G_S
(long[] resourcePrimKeys, long groupId, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and status = ?.filterFindByR_G_S
(long[] resourcePrimKeys, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and status = ?.filterFindByR_G_S
(long resourcePrimKey, long groupId, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status = ?.filterFindByR_G_S
(long resourcePrimKey, long groupId, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status = ?.filterFindByR_G_S
(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ? and status = ?.static KBArticle[]
filterFindByR_G_S_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status = ?.findAll()
Returns all the kb articles.findAll
(int start, int end) Returns a range of all the kb articles.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles.findByC_L
(long companyId, boolean latest) Returns all the kb articles where companyId = ? and latest = ?.findByC_L
(long companyId, boolean latest, int start, int end) Returns a range of all the kb articles where companyId = ? and latest = ?.findByC_L
(long companyId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where companyId = ? and latest = ?.findByC_L
(long companyId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where companyId = ? and latest = ?.static KBArticle
findByC_L_First
(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and latest = ?.static KBArticle
findByC_L_Last
(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and latest = ?.findByC_L_NotS
(long companyId, boolean latest, int status) Returns all the kb articles where companyId = ? and latest = ? and status ≠ ?.findByC_L_NotS
(long companyId, boolean latest, int status, int start, int end) Returns a range of all the kb articles where companyId = ? and latest = ? and status ≠ ?.findByC_L_NotS
(long companyId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where companyId = ? and latest = ? and status ≠ ?.findByC_L_NotS
(long companyId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where companyId = ? and latest = ? and status ≠ ?.static KBArticle
findByC_L_NotS_First
(long companyId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and latest = ? and status ≠ ?.static KBArticle
findByC_L_NotS_Last
(long companyId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and latest = ? and status ≠ ?.static KBArticle[]
findByC_L_NotS_PrevAndNext
(long kbArticleId, long companyId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where companyId = ? and latest = ? and status ≠ ?.static KBArticle[]
findByC_L_PrevAndNext
(long kbArticleId, long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where companyId = ? and latest = ?.findByC_M
(long companyId, boolean main) Returns all the kb articles where companyId = ? and main = ?.findByC_M
(long companyId, boolean main, int start, int end) Returns a range of all the kb articles where companyId = ? and main = ?.findByC_M
(long companyId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where companyId = ? and main = ?.findByC_M
(long companyId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where companyId = ? and main = ?.static KBArticle
findByC_M_First
(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and main = ?.static KBArticle
findByC_M_Last
(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and main = ?.findByC_M_NotS
(long companyId, boolean main, int status) Returns all the kb articles where companyId = ? and main = ? and status ≠ ?.findByC_M_NotS
(long companyId, boolean main, int status, int start, int end) Returns a range of all the kb articles where companyId = ? and main = ? and status ≠ ?.findByC_M_NotS
(long companyId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where companyId = ? and main = ? and status ≠ ?.findByC_M_NotS
(long companyId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where companyId = ? and main = ? and status ≠ ?.static KBArticle
findByC_M_NotS_First
(long companyId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and main = ? and status ≠ ?.static KBArticle
findByC_M_NotS_Last
(long companyId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and main = ? and status ≠ ?.static KBArticle[]
findByC_M_NotS_PrevAndNext
(long kbArticleId, long companyId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where companyId = ? and main = ? and status ≠ ?.static KBArticle[]
findByC_M_PrevAndNext
(long kbArticleId, long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where companyId = ? and main = ?.findByC_S
(long companyId, int status) Returns all the kb articles where companyId = ? and status = ?.findByC_S
(long companyId, int status, int start, int end) Returns a range of all the kb articles where companyId = ? and status = ?.findByC_S
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where companyId = ? and status = ?.findByC_S
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where companyId = ? and status = ?.static KBArticle
findByC_S_First
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and status = ?.static KBArticle
findByC_S_Last
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and status = ?.static KBArticle[]
findByC_S_PrevAndNext
(long kbArticleId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where companyId = ? and status = ?.findByG_ERC
(long groupId, String externalReferenceCode) Returns all the kb articles where groupId = ? and externalReferenceCode = ?.findByG_ERC
(long groupId, String externalReferenceCode, int start, int end) Returns a range of all the kb articles where groupId = ? and externalReferenceCode = ?.findByG_ERC
(long groupId, String externalReferenceCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and externalReferenceCode = ?.findByG_ERC
(long groupId, String externalReferenceCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and externalReferenceCode = ?.static KBArticle
findByG_ERC_First
(long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and externalReferenceCode = ?.static KBArticle
findByG_ERC_Last
(long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and externalReferenceCode = ?.static KBArticle[]
findByG_ERC_PrevAndNext
(long kbArticleId, long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and externalReferenceCode = ?.static KBArticle
findByG_ERC_V
(long groupId, String externalReferenceCode, int version) Returns the kb article where groupId = ? and externalReferenceCode = ? and version = ? or throws aNoSuchArticleException
if it could not be found.findByG_KBFI_L
(long groupId, long kbFolderId, boolean latest) Returns all the kb articles where groupId = ? and kbFolderId = ? and latest = ?.findByG_KBFI_L
(long groupId, long kbFolderId, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ?.findByG_KBFI_L
(long groupId, long kbFolderId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ?.findByG_KBFI_L
(long groupId, long kbFolderId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ?.static KBArticle
findByG_KBFI_L_First
(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ?.static KBArticle
findByG_KBFI_L_Last
(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ?.findByG_KBFI_L_NotS
(long groupId, long kbFolderId, boolean latest, int status) Returns all the kb articles where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.findByG_KBFI_L_NotS
(long groupId, long kbFolderId, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.findByG_KBFI_L_NotS
(long groupId, long kbFolderId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.findByG_KBFI_L_NotS
(long groupId, long kbFolderId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.static KBArticle
findByG_KBFI_L_NotS_First
(long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.static KBArticle
findByG_KBFI_L_NotS_Last
(long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.static KBArticle[]
findByG_KBFI_L_NotS_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.static KBArticle[]
findByG_KBFI_L_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ?.findByG_KBFI_S
(long groupId, long kbFolderId, int status) Returns all the kb articles where groupId = ? and kbFolderId = ? and status = ?.findByG_KBFI_S
(long groupId, long kbFolderId, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and status = ?.findByG_KBFI_S
(long groupId, long kbFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and status = ?.findByG_KBFI_S
(long groupId, long kbFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and status = ?.static KBArticle
findByG_KBFI_S_First
(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and status = ?.static KBArticle
findByG_KBFI_S_Last
(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and status = ?.static KBArticle[]
findByG_KBFI_S_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and status = ?.findByG_KBFI_UT
(long groupId, long kbFolderId, String urlTitle) Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.findByG_KBFI_UT
(long groupId, long kbFolderId, String urlTitle, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.findByG_KBFI_UT
(long groupId, long kbFolderId, String urlTitle, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.findByG_KBFI_UT
(long groupId, long kbFolderId, String urlTitle, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.static KBArticle
findByG_KBFI_UT_First
(long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ?.static KBArticle
findByG_KBFI_UT_Last
(long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ?.findByG_KBFI_UT_NotS
(long groupId, long kbFolderId, String urlTitle, int status) Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.findByG_KBFI_UT_NotS
(long groupId, long kbFolderId, String urlTitle, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.findByG_KBFI_UT_NotS
(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.findByG_KBFI_UT_NotS
(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.static KBArticle
findByG_KBFI_UT_NotS_First
(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.static KBArticle
findByG_KBFI_UT_NotS_Last
(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.static KBArticle[]
findByG_KBFI_UT_NotS_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.static KBArticle[]
findByG_KBFI_UT_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ?.findByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int status) Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.findByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int[] statuses) Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.findByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int[] statuses, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.findByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.findByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?, optionally using the finder cache.findByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.findByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.findByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.static KBArticle
findByG_KBFI_UT_ST_First
(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.static KBArticle
findByG_KBFI_UT_ST_Last
(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.static KBArticle[]
findByG_KBFI_UT_ST_PrevAndNext
(long kbArticleId, long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.findByG_L
(long groupId, boolean latest) Returns all the kb articles where groupId = ? and latest = ?.findByG_L
(long groupId, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and latest = ?.findByG_L
(long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and latest = ?.findByG_L
(long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and latest = ?.static KBArticle
findByG_L_First
(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and latest = ?.static KBArticle
findByG_L_Last
(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and latest = ?.findByG_L_NotS
(long groupId, boolean latest, int status) Returns all the kb articles where groupId = ? and latest = ? and status ≠ ?.findByG_L_NotS
(long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and latest = ? and status ≠ ?.findByG_L_NotS
(long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and latest = ? and status ≠ ?.findByG_L_NotS
(long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and latest = ? and status ≠ ?.static KBArticle
findByG_L_NotS_First
(long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and latest = ? and status ≠ ?.static KBArticle
findByG_L_NotS_Last
(long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and latest = ? and status ≠ ?.static KBArticle[]
findByG_L_NotS_PrevAndNext
(long kbArticleId, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and latest = ? and status ≠ ?.static KBArticle[]
findByG_L_PrevAndNext
(long kbArticleId, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and latest = ?.findByG_LikeS_L
(long groupId, String[] sectionses, boolean latest) Returns all the kb articles where groupId = ? and sections LIKE any ? and latest = ?.findByG_LikeS_L
(long groupId, String[] sectionses, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and latest = ?.findByG_LikeS_L
(long groupId, String[] sectionses, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE any ? and latest = ?.findByG_LikeS_L
(long groupId, String[] sectionses, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ?, optionally using the finder cache.findByG_LikeS_L
(long groupId, String sections, boolean latest) Returns all the kb articles where groupId = ? and sections LIKE ? and latest = ?.findByG_LikeS_L
(long groupId, String sections, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE ? and latest = ?.findByG_LikeS_L
(long groupId, String sections, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ?.findByG_LikeS_L
(long groupId, String sections, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ?.static KBArticle
findByG_LikeS_L_First
(long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ?.static KBArticle
findByG_LikeS_L_Last
(long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ?.findByG_LikeS_L_NotS
(long groupId, String[] sectionses, boolean latest, int status) Returns all the kb articles where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.findByG_LikeS_L_NotS
(long groupId, String[] sectionses, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.findByG_LikeS_L_NotS
(long groupId, String[] sectionses, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.findByG_LikeS_L_NotS
(long groupId, String[] sectionses, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?, optionally using the finder cache.findByG_LikeS_L_NotS
(long groupId, String sections, boolean latest, int status) Returns all the kb articles where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.findByG_LikeS_L_NotS
(long groupId, String sections, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.findByG_LikeS_L_NotS
(long groupId, String sections, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.findByG_LikeS_L_NotS
(long groupId, String sections, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.static KBArticle
findByG_LikeS_L_NotS_First
(long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.static KBArticle
findByG_LikeS_L_NotS_Last
(long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.static KBArticle[]
findByG_LikeS_L_NotS_PrevAndNext
(long kbArticleId, long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.static KBArticle[]
findByG_LikeS_L_PrevAndNext
(long kbArticleId, long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ?.findByG_LikeS_M
(long groupId, String[] sectionses, boolean main) Returns all the kb articles where groupId = ? and sections LIKE any ? and main = ?.findByG_LikeS_M
(long groupId, String[] sectionses, boolean main, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and main = ?.findByG_LikeS_M
(long groupId, String[] sectionses, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE any ? and main = ?.findByG_LikeS_M
(long groupId, String[] sectionses, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ?, optionally using the finder cache.findByG_LikeS_M
(long groupId, String sections, boolean main) Returns all the kb articles where groupId = ? and sections LIKE ? and main = ?.findByG_LikeS_M
(long groupId, String sections, boolean main, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE ? and main = ?.findByG_LikeS_M
(long groupId, String sections, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ?.findByG_LikeS_M
(long groupId, String sections, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ?.static KBArticle
findByG_LikeS_M_First
(long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and main = ?.static KBArticle
findByG_LikeS_M_Last
(long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and main = ?.findByG_LikeS_M_NotS
(long groupId, String[] sectionses, boolean main, int status) Returns all the kb articles where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.findByG_LikeS_M_NotS
(long groupId, String[] sectionses, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.findByG_LikeS_M_NotS
(long groupId, String[] sectionses, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.findByG_LikeS_M_NotS
(long groupId, String[] sectionses, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ? and status ≠ ?, optionally using the finder cache.findByG_LikeS_M_NotS
(long groupId, String sections, boolean main, int status) Returns all the kb articles where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.findByG_LikeS_M_NotS
(long groupId, String sections, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.findByG_LikeS_M_NotS
(long groupId, String sections, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.findByG_LikeS_M_NotS
(long groupId, String sections, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.static KBArticle
findByG_LikeS_M_NotS_First
(long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.static KBArticle
findByG_LikeS_M_NotS_Last
(long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.static KBArticle[]
findByG_LikeS_M_NotS_PrevAndNext
(long kbArticleId, long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.static KBArticle[]
findByG_LikeS_M_PrevAndNext
(long kbArticleId, long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and sections LIKE ? and main = ?.findByG_LikeS_S
(long groupId, String[] sectionses, int status) Returns all the kb articles where groupId = ? and sections LIKE any ? and status = ?.findByG_LikeS_S
(long groupId, String[] sectionses, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and status = ?.findByG_LikeS_S
(long groupId, String[] sectionses, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE any ? and status = ?.findByG_LikeS_S
(long groupId, String[] sectionses, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and status = ?, optionally using the finder cache.findByG_LikeS_S
(long groupId, String sections, int status) Returns all the kb articles where groupId = ? and sections LIKE ? and status = ?.findByG_LikeS_S
(long groupId, String sections, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE ? and status = ?.findByG_LikeS_S
(long groupId, String sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and status = ?.findByG_LikeS_S
(long groupId, String sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and status = ?.static KBArticle
findByG_LikeS_S_First
(long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and status = ?.static KBArticle
findByG_LikeS_S_Last
(long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and status = ?.static KBArticle[]
findByG_LikeS_S_PrevAndNext
(long kbArticleId, long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and sections LIKE ? and status = ?.findByG_M
(long groupId, boolean main) Returns all the kb articles where groupId = ? and main = ?.findByG_M
(long groupId, boolean main, int start, int end) Returns a range of all the kb articles where groupId = ? and main = ?.findByG_M
(long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and main = ?.findByG_M
(long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and main = ?.static KBArticle
findByG_M_First
(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and main = ?.static KBArticle
findByG_M_Last
(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and main = ?.findByG_M_NotS
(long groupId, boolean main, int status) Returns all the kb articles where groupId = ? and main = ? and status ≠ ?.findByG_M_NotS
(long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and main = ? and status ≠ ?.findByG_M_NotS
(long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and main = ? and status ≠ ?.findByG_M_NotS
(long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and main = ? and status ≠ ?.static KBArticle
findByG_M_NotS_First
(long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and main = ? and status ≠ ?.static KBArticle
findByG_M_NotS_Last
(long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and main = ? and status ≠ ?.static KBArticle[]
findByG_M_NotS_PrevAndNext
(long kbArticleId, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and main = ? and status ≠ ?.static KBArticle[]
findByG_M_PrevAndNext
(long kbArticleId, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and main = ?.findByG_P_L
(long groupId, long[] parentResourcePrimKeys, boolean latest) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ?.findByG_P_L
(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ?.findByG_P_L
(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ?.findByG_P_L
(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?, optionally using the finder cache.findByG_P_L
(long groupId, long parentResourcePrimKey, boolean latest) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.findByG_P_L
(long groupId, long parentResourcePrimKey, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.findByG_P_L
(long groupId, long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.findByG_P_L
(long groupId, long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.static KBArticle
findByG_P_L_First
(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ?.static KBArticle
findByG_P_L_Last
(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ?.findByG_P_L_NotS
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.findByG_P_L_NotS
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.findByG_P_L_NotS
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.findByG_P_L_NotS
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?, optionally using the finder cache.findByG_P_L_NotS
(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.findByG_P_L_NotS
(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.findByG_P_L_NotS
(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.findByG_P_L_NotS
(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
findByG_P_L_NotS_First
(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
findByG_P_L_NotS_Last
(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle[]
findByG_P_L_NotS_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle[]
findByG_P_L_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ?.findByG_P_L_S
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.findByG_P_L_S
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.findByG_P_L_S
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.findByG_P_L_S
(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?, optionally using the finder cache.findByG_P_L_S
(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.findByG_P_L_S
(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.findByG_P_L_S
(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.findByG_P_L_S
(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.static KBArticle
findByG_P_L_S_First
(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.static KBArticle
findByG_P_L_S_Last
(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.static KBArticle[]
findByG_P_L_S_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.findByG_P_M
(long groupId, long[] parentResourcePrimKeys, boolean main) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ?.findByG_P_M
(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ?.findByG_P_M
(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ?.findByG_P_M
(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?, optionally using the finder cache.findByG_P_M
(long groupId, long parentResourcePrimKey, boolean main) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.findByG_P_M
(long groupId, long parentResourcePrimKey, boolean main, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.findByG_P_M
(long groupId, long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.findByG_P_M
(long groupId, long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.static KBArticle
findByG_P_M_First
(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ?.static KBArticle
findByG_P_M_Last
(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ?.findByG_P_M_NotS
(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.findByG_P_M_NotS
(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.findByG_P_M_NotS
(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.findByG_P_M_NotS
(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?, optionally using the finder cache.findByG_P_M_NotS
(long groupId, long parentResourcePrimKey, boolean main, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.findByG_P_M_NotS
(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.findByG_P_M_NotS
(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.findByG_P_M_NotS
(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
findByG_P_M_NotS_First
(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
findByG_P_M_NotS_Last
(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle[]
findByG_P_M_NotS_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle[]
findByG_P_M_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ?.findByG_P_M_S
(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.findByG_P_M_S
(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.findByG_P_M_S
(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.findByG_P_M_S
(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?, optionally using the finder cache.findByG_P_M_S
(long groupId, long parentResourcePrimKey, boolean main, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.findByG_P_M_S
(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.findByG_P_M_S
(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.findByG_P_M_S
(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.static KBArticle
findByG_P_M_S_First
(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.static KBArticle
findByG_P_M_S_Last
(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.static KBArticle[]
findByG_P_M_S_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.findByG_P_S
(long groupId, long[] parentResourcePrimKeys, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and status = ?.findByG_P_S
(long groupId, long[] parentResourcePrimKeys, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and status = ?.findByG_P_S
(long groupId, long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and status = ?.findByG_P_S
(long groupId, long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and status = ?, optionally using the finder cache.findByG_P_S
(long groupId, long parentResourcePrimKey, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and status = ?.findByG_P_S
(long groupId, long parentResourcePrimKey, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and status = ?.findByG_P_S
(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and status = ?.findByG_P_S
(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and status = ?.static KBArticle
findByG_P_S_First
(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and status = ?.static KBArticle
findByG_P_S_Last
(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and status = ?.static KBArticle[]
findByG_P_S_PrevAndNext
(long kbArticleId, long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and status = ?.findByG_S
(long groupId, int status) Returns all the kb articles where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and status = ?.static KBArticle
findByG_S_First
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and status = ?.static KBArticle
findByG_S_Last
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and status = ?.static KBArticle[]
findByG_S_PrevAndNext
(long kbArticleId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and status = ?.findByLtD_S
(Date displayDate, int status) Returns all the kb articles where displayDate < ? and status = ?.findByLtD_S
(Date displayDate, int status, int start, int end) Returns a range of all the kb articles where displayDate < ? and status = ?.findByLtD_S
(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where displayDate < ? and status = ?.findByLtD_S
(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where displayDate < ? and status = ?.static KBArticle
findByLtD_S_First
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where displayDate < ? and status = ?.static KBArticle
findByLtD_S_Last
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where displayDate < ? and status = ?.static KBArticle[]
findByLtD_S_PrevAndNext
(long kbArticleId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where displayDate < ? and status = ?.findByP_L
(long[] parentResourcePrimKeys, boolean latest) Returns all the kb articles where parentResourcePrimKey = any ? and latest = ?.findByP_L
(long[] parentResourcePrimKeys, boolean latest, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = any ? and latest = ?.findByP_L
(long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = any ? and latest = ?.findByP_L
(long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ?, optionally using the finder cache.findByP_L
(long parentResourcePrimKey, boolean latest) Returns all the kb articles where parentResourcePrimKey = ? and latest = ?.findByP_L
(long parentResourcePrimKey, boolean latest, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = ? and latest = ?.findByP_L
(long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ?.findByP_L
(long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ?.static KBArticle
findByP_L_First
(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and latest = ?.static KBArticle
findByP_L_Last
(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and latest = ?.findByP_L_NotS
(long[] parentResourcePrimKeys, boolean latest, int status) Returns all the kb articles where parentResourcePrimKey = any ? and latest = ? and status ≠ ?.findByP_L_NotS
(long[] parentResourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = any ? and latest = ? and status ≠ ?.findByP_L_NotS
(long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = any ? and latest = ? and status ≠ ?.findByP_L_NotS
(long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ? and status ≠ ?, optionally using the finder cache.findByP_L_NotS
(long parentResourcePrimKey, boolean latest, int status) Returns all the kb articles where parentResourcePrimKey = ? and latest = ? and status ≠ ?.findByP_L_NotS
(long parentResourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = ? and latest = ? and status ≠ ?.findByP_L_NotS
(long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ? and status ≠ ?.findByP_L_NotS
(long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
findByP_L_NotS_First
(long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
findByP_L_NotS_Last
(long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle[]
findByP_L_NotS_PrevAndNext
(long kbArticleId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where parentResourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle[]
findByP_L_PrevAndNext
(long kbArticleId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where parentResourcePrimKey = ? and latest = ?.findByP_M
(long[] parentResourcePrimKeys, boolean main) Returns all the kb articles where parentResourcePrimKey = any ? and main = ?.findByP_M
(long[] parentResourcePrimKeys, boolean main, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = any ? and main = ?.findByP_M
(long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = any ? and main = ?.findByP_M
(long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ?, optionally using the finder cache.findByP_M
(long parentResourcePrimKey, boolean main) Returns all the kb articles where parentResourcePrimKey = ? and main = ?.findByP_M
(long parentResourcePrimKey, boolean main, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = ? and main = ?.findByP_M
(long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ?.findByP_M
(long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ?.static KBArticle
findByP_M_First
(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and main = ?.static KBArticle
findByP_M_Last
(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and main = ?.findByP_M_NotS
(long[] parentResourcePrimKeys, boolean main, int status) Returns all the kb articles where parentResourcePrimKey = any ? and main = ? and status ≠ ?.findByP_M_NotS
(long[] parentResourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = any ? and main = ? and status ≠ ?.findByP_M_NotS
(long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = any ? and main = ? and status ≠ ?.findByP_M_NotS
(long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ? and status ≠ ?, optionally using the finder cache.findByP_M_NotS
(long parentResourcePrimKey, boolean main, int status) Returns all the kb articles where parentResourcePrimKey = ? and main = ? and status ≠ ?.findByP_M_NotS
(long parentResourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = ? and main = ? and status ≠ ?.findByP_M_NotS
(long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ? and status ≠ ?.findByP_M_NotS
(long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
findByP_M_NotS_First
(long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
findByP_M_NotS_Last
(long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle[]
findByP_M_NotS_PrevAndNext
(long kbArticleId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where parentResourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle[]
findByP_M_PrevAndNext
(long kbArticleId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where parentResourcePrimKey = ? and main = ?.findByP_S
(long[] parentResourcePrimKeys, int status) Returns all the kb articles where parentResourcePrimKey = any ? and status = ?.findByP_S
(long[] parentResourcePrimKeys, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = any ? and status = ?.findByP_S
(long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = any ? and status = ?.findByP_S
(long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and status = ?, optionally using the finder cache.findByP_S
(long parentResourcePrimKey, int status) Returns all the kb articles where parentResourcePrimKey = ? and status = ?.findByP_S
(long parentResourcePrimKey, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = ? and status = ?.findByP_S
(long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and status = ?.findByP_S
(long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and status = ?.static KBArticle
findByP_S_First
(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and status = ?.static KBArticle
findByP_S_Last
(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and status = ?.static KBArticle[]
findByP_S_PrevAndNext
(long kbArticleId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where parentResourcePrimKey = ? and status = ?.static KBArticle
findByPrimaryKey
(long kbArticleId) Returns the kb article with the primary key or throws aNoSuchArticleException
if it could not be found.findByR_G
(long resourcePrimKey, long groupId) Returns all the kb articles where resourcePrimKey = ? and groupId = ?.findByR_G
(long resourcePrimKey, long groupId, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ?.findByR_G
(long resourcePrimKey, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ?.findByR_G
(long resourcePrimKey, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ?.static KBArticle
findByR_G_First
(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ?.findByR_G_L
(long[] resourcePrimKeys, long groupId, boolean latest) Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ?.findByR_G_L
(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ?.findByR_G_L
(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ?.findByR_G_L
(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?, optionally using the finder cache.findByR_G_L
(long resourcePrimKey, long groupId, boolean latest) Returns all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.findByR_G_L
(long resourcePrimKey, long groupId, boolean latest, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.findByR_G_L
(long resourcePrimKey, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.findByR_G_L
(long resourcePrimKey, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.static KBArticle
findByR_G_L_First
(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ?.static KBArticle
findByR_G_L_Last
(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ?.findByR_G_L_NotS
(long[] resourcePrimKeys, long groupId, boolean latest, int status) Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.findByR_G_L_NotS
(long[] resourcePrimKeys, long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.findByR_G_L_NotS
(long[] resourcePrimKeys, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.findByR_G_L_NotS
(long[] resourcePrimKeys, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?, optionally using the finder cache.findByR_G_L_NotS
(long resourcePrimKey, long groupId, boolean latest, int status) Returns all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.findByR_G_L_NotS
(long resourcePrimKey, long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.findByR_G_L_NotS
(long resourcePrimKey, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.findByR_G_L_NotS
(long resourcePrimKey, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.static KBArticle
findByR_G_L_NotS_First
(long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.static KBArticle
findByR_G_L_NotS_Last
(long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.static KBArticle[]
findByR_G_L_NotS_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.static KBArticle[]
findByR_G_L_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ?.static KBArticle
findByR_G_Last
(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ?.findByR_G_M
(long[] resourcePrimKeys, long groupId, boolean main) Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ?.findByR_G_M
(long[] resourcePrimKeys, long groupId, boolean main, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ?.findByR_G_M
(long[] resourcePrimKeys, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ?.findByR_G_M
(long[] resourcePrimKeys, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?, optionally using the finder cache.findByR_G_M
(long resourcePrimKey, long groupId, boolean main) Returns all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?.findByR_G_M
(long resourcePrimKey, long groupId, boolean main, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?.findByR_G_M
(long resourcePrimKey, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?.findByR_G_M
(long resourcePrimKey, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?.static KBArticle
findByR_G_M_First
(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ?.static KBArticle
findByR_G_M_Last
(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ?.findByR_G_M_NotS
(long[] resourcePrimKeys, long groupId, boolean main, int status) Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.findByR_G_M_NotS
(long[] resourcePrimKeys, long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.findByR_G_M_NotS
(long[] resourcePrimKeys, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.findByR_G_M_NotS
(long[] resourcePrimKeys, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?, optionally using the finder cache.findByR_G_M_NotS
(long resourcePrimKey, long groupId, boolean main, int status) Returns all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.findByR_G_M_NotS
(long resourcePrimKey, long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.findByR_G_M_NotS
(long resourcePrimKey, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.findByR_G_M_NotS
(long resourcePrimKey, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.static KBArticle
findByR_G_M_NotS_First
(long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.static KBArticle
findByR_G_M_NotS_Last
(long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.static KBArticle[]
findByR_G_M_NotS_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.static KBArticle[]
findByR_G_M_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ?.findByR_G_NotS
(long resourcePrimKey, long groupId, int status) Returns all the kb articles where resourcePrimKey = ? and groupId = ? and status ≠ ?.findByR_G_NotS
(long resourcePrimKey, long groupId, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ? and status ≠ ?.findByR_G_NotS
(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and status ≠ ?.findByR_G_NotS
(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and status ≠ ?.static KBArticle
findByR_G_NotS_First
(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status ≠ ?.static KBArticle
findByR_G_NotS_Last
(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status ≠ ?.static KBArticle[]
findByR_G_NotS_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status ≠ ?.static KBArticle[]
findByR_G_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ?.findByR_G_S
(long[] resourcePrimKeys, long groupId, int status) Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and status = ?.findByR_G_S
(long[] resourcePrimKeys, long groupId, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and groupId = ? and status = ?.findByR_G_S
(long[] resourcePrimKeys, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and groupId = ? and status = ?.findByR_G_S
(long[] resourcePrimKeys, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and status = ?, optionally using the finder cache.findByR_G_S
(long resourcePrimKey, long groupId, int status) Returns all the kb articles where resourcePrimKey = ? and groupId = ? and status = ?.findByR_G_S
(long resourcePrimKey, long groupId, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ? and status = ?.findByR_G_S
(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and status = ?.findByR_G_S
(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and status = ?.static KBArticle
findByR_G_S_First
(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status = ?.static KBArticle
findByR_G_S_Last
(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status = ?.static KBArticle[]
findByR_G_S_PrevAndNext
(long kbArticleId, long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status = ?.static KBArticle
findByR_G_V
(long resourcePrimKey, long groupId, int version) Returns the kb article where resourcePrimKey = ? and groupId = ? and version = ? or throws aNoSuchArticleException
if it could not be found.findByR_L
(long[] resourcePrimKeys, boolean latest) Returns all the kb articles where resourcePrimKey = any ? and latest = ?.findByR_L
(long[] resourcePrimKeys, boolean latest, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and latest = ?.findByR_L
(long[] resourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and latest = ?.findByR_L
(long[] resourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ?, optionally using the finder cache.findByR_L
(long resourcePrimKey, boolean latest) Returns all the kb articles where resourcePrimKey = ? and latest = ?.findByR_L
(long resourcePrimKey, boolean latest, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and latest = ?.findByR_L
(long resourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ?.findByR_L
(long resourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ?.static KBArticle
findByR_L_First
(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and latest = ?.static KBArticle
findByR_L_Last
(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and latest = ?.findByR_L_NotS
(long[] resourcePrimKeys, boolean latest, int status) Returns all the kb articles where resourcePrimKey = any ? and latest = ? and status ≠ ?.findByR_L_NotS
(long[] resourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and latest = ? and status ≠ ?.findByR_L_NotS
(long[] resourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and latest = ? and status ≠ ?.findByR_L_NotS
(long[] resourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ? and status ≠ ?, optionally using the finder cache.findByR_L_NotS
(long resourcePrimKey, boolean latest, int status) Returns all the kb articles where resourcePrimKey = ? and latest = ? and status ≠ ?.findByR_L_NotS
(long resourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and latest = ? and status ≠ ?.findByR_L_NotS
(long resourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ? and status ≠ ?.findByR_L_NotS
(long resourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
findByR_L_NotS_First
(long resourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle
findByR_L_NotS_Last
(long resourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle[]
findByR_L_NotS_PrevAndNext
(long kbArticleId, long resourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and latest = ? and status ≠ ?.static KBArticle[]
findByR_L_PrevAndNext
(long kbArticleId, long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and latest = ?.findByR_M
(long[] resourcePrimKeys, boolean main) Returns all the kb articles where resourcePrimKey = any ? and main = ?.findByR_M
(long[] resourcePrimKeys, boolean main, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and main = ?.findByR_M
(long[] resourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and main = ?.findByR_M
(long[] resourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ?, optionally using the finder cache.findByR_M
(long resourcePrimKey, boolean main) Returns all the kb articles where resourcePrimKey = ? and main = ?.findByR_M
(long resourcePrimKey, boolean main, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and main = ?.findByR_M
(long resourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ?.findByR_M
(long resourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ?.static KBArticle
findByR_M_First
(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and main = ?.static KBArticle
findByR_M_Last
(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and main = ?.findByR_M_NotS
(long[] resourcePrimKeys, boolean main, int status) Returns all the kb articles where resourcePrimKey = any ? and main = ? and status ≠ ?.findByR_M_NotS
(long[] resourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and main = ? and status ≠ ?.findByR_M_NotS
(long[] resourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and main = ? and status ≠ ?.findByR_M_NotS
(long[] resourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ? and status ≠ ?, optionally using the finder cache.findByR_M_NotS
(long resourcePrimKey, boolean main, int status) Returns all the kb articles where resourcePrimKey = ? and main = ? and status ≠ ?.findByR_M_NotS
(long resourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and main = ? and status ≠ ?.findByR_M_NotS
(long resourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ? and status ≠ ?.findByR_M_NotS
(long resourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
findByR_M_NotS_First
(long resourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle
findByR_M_NotS_Last
(long resourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle[]
findByR_M_NotS_PrevAndNext
(long kbArticleId, long resourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and main = ? and status ≠ ?.static KBArticle[]
findByR_M_PrevAndNext
(long kbArticleId, long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and main = ?.findByR_S
(long[] resourcePrimKeys, int[] statuses) Returns all the kb articles where resourcePrimKey = any ? and status = any ?.findByR_S
(long[] resourcePrimKeys, int[] statuses, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and status = any ?.findByR_S
(long[] resourcePrimKeys, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and status = any ?.findByR_S
(long[] resourcePrimKeys, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and status = ?, optionally using the finder cache.findByR_S
(long resourcePrimKey, int status) Returns all the kb articles where resourcePrimKey = ? and status = ?.findByR_S
(long resourcePrimKey, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and status = ?.findByR_S
(long resourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and status = ?.findByR_S
(long resourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and status = ?.static KBArticle
findByR_S_First
(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and status = ?.static KBArticle
findByR_S_Last
(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and status = ?.static KBArticle[]
findByR_S_PrevAndNext
(long kbArticleId, long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and status = ?.static KBArticle
findByR_V
(long resourcePrimKey, int version) Returns the kb article where resourcePrimKey = ? and version = ? or throws aNoSuchArticleException
if it could not be found.findByResourcePrimKey
(long resourcePrimKey) Returns all the kb articles where resourcePrimKey = ?.findByResourcePrimKey
(long resourcePrimKey, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ?.findByResourcePrimKey
(long resourcePrimKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ?.findByResourcePrimKey
(long resourcePrimKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ?.static KBArticle
findByResourcePrimKey_First
(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ?.static KBArticle
findByResourcePrimKey_Last
(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ?.static KBArticle[]
findByResourcePrimKey_PrevAndNext
(long kbArticleId, long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ?.findByUuid
(String uuid) Returns all the kb articles where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the kb articles where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the kb articles where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the kb articles where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where uuid = ? and companyId = ?.static KBArticle
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where uuid = ? and companyId = ?.static KBArticle
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where uuid = ? and companyId = ?.static KBArticle[]
findByUuid_C_PrevAndNext
(long kbArticleId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article in the ordered set where uuid = ? and companyId = ?.static KBArticle
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where uuid = ?.static KBArticle
findByUUID_G
(String uuid, long groupId) Returns the kb article where uuid = ? and groupId = ? or throws aNoSuchArticleException
if it could not be found.static KBArticle
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where uuid = ?.static KBArticle[]
findByUuid_PrevAndNext
(long kbArticleId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the kb articles before and after the current kb article 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<KBArticle> orderByComparator) static KBArticlePersistence
static KBArticle
remove
(long kbArticleId) Removes the kb article with the primary key from the database.static void
Removes all the kb articles from the database.static void
removeByC_L
(long companyId, boolean latest) Removes all the kb articles where companyId = ? and latest = ? from the database.static void
removeByC_L_NotS
(long companyId, boolean latest, int status) Removes all the kb articles where companyId = ? and latest = ? and status ≠ ? from the database.static void
removeByC_M
(long companyId, boolean main) Removes all the kb articles where companyId = ? and main = ? from the database.static void
removeByC_M_NotS
(long companyId, boolean main, int status) Removes all the kb articles where companyId = ? and main = ? and status ≠ ? from the database.static void
removeByC_S
(long companyId, int status) Removes all the kb articles where companyId = ? and status = ? from the database.static void
removeByG_ERC
(long groupId, String externalReferenceCode) Removes all the kb articles where groupId = ? and externalReferenceCode = ? from the database.static KBArticle
removeByG_ERC_V
(long groupId, String externalReferenceCode, int version) Removes the kb article where groupId = ? and externalReferenceCode = ? and version = ? from the database.static void
removeByG_KBFI_L
(long groupId, long kbFolderId, boolean latest) Removes all the kb articles where groupId = ? and kbFolderId = ? and latest = ? from the database.static void
removeByG_KBFI_L_NotS
(long groupId, long kbFolderId, boolean latest, int status) Removes all the kb articles where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ? from the database.static void
removeByG_KBFI_S
(long groupId, long kbFolderId, int status) Removes all the kb articles where groupId = ? and kbFolderId = ? and status = ? from the database.static void
removeByG_KBFI_UT
(long groupId, long kbFolderId, String urlTitle) Removes all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? from the database.static void
removeByG_KBFI_UT_NotS
(long groupId, long kbFolderId, String urlTitle, int status) Removes all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ? from the database.static void
removeByG_KBFI_UT_ST
(long groupId, long kbFolderId, String urlTitle, int status) Removes all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ? from the database.static void
removeByG_L
(long groupId, boolean latest) Removes all the kb articles where groupId = ? and latest = ? from the database.static void
removeByG_L_NotS
(long groupId, boolean latest, int status) Removes all the kb articles where groupId = ? and latest = ? and status ≠ ? from the database.static void
removeByG_LikeS_L
(long groupId, String sections, boolean latest) Removes all the kb articles where groupId = ? and sections LIKE ? and latest = ? from the database.static void
removeByG_LikeS_L_NotS
(long groupId, String sections, boolean latest, int status) Removes all the kb articles where groupId = ? and sections LIKE ? and latest = ? and status ≠ ? from the database.static void
removeByG_LikeS_M
(long groupId, String sections, boolean main) Removes all the kb articles where groupId = ? and sections LIKE ? and main = ? from the database.static void
removeByG_LikeS_M_NotS
(long groupId, String sections, boolean main, int status) Removes all the kb articles where groupId = ? and sections LIKE ? and main = ? and status ≠ ? from the database.static void
removeByG_LikeS_S
(long groupId, String sections, int status) Removes all the kb articles where groupId = ? and sections LIKE ? and status = ? from the database.static void
removeByG_M
(long groupId, boolean main) Removes all the kb articles where groupId = ? and main = ? from the database.static void
removeByG_M_NotS
(long groupId, boolean main, int status) Removes all the kb articles where groupId = ? and main = ? and status ≠ ? from the database.static void
removeByG_P_L
(long groupId, long parentResourcePrimKey, boolean latest) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? from the database.static void
removeByG_P_L_NotS
(long groupId, long parentResourcePrimKey, boolean latest, int status) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ? from the database.static void
removeByG_P_L_S
(long groupId, long parentResourcePrimKey, boolean latest, int status) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ? from the database.static void
removeByG_P_M
(long groupId, long parentResourcePrimKey, boolean main) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? from the database.static void
removeByG_P_M_NotS
(long groupId, long parentResourcePrimKey, boolean main, int status) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ? from the database.static void
removeByG_P_M_S
(long groupId, long parentResourcePrimKey, boolean main, int status) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ? from the database.static void
removeByG_P_S
(long groupId, long parentResourcePrimKey, int status) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and status = ? from the database.static void
removeByG_S
(long groupId, int status) Removes all the kb articles where groupId = ? and status = ? from the database.static void
removeByLtD_S
(Date displayDate, int status) Removes all the kb articles where displayDate < ? and status = ? from the database.static void
removeByP_L
(long parentResourcePrimKey, boolean latest) Removes all the kb articles where parentResourcePrimKey = ? and latest = ? from the database.static void
removeByP_L_NotS
(long parentResourcePrimKey, boolean latest, int status) Removes all the kb articles where parentResourcePrimKey = ? and latest = ? and status ≠ ? from the database.static void
removeByP_M
(long parentResourcePrimKey, boolean main) Removes all the kb articles where parentResourcePrimKey = ? and main = ? from the database.static void
removeByP_M_NotS
(long parentResourcePrimKey, boolean main, int status) Removes all the kb articles where parentResourcePrimKey = ? and main = ? and status ≠ ? from the database.static void
removeByP_S
(long parentResourcePrimKey, int status) Removes all the kb articles where parentResourcePrimKey = ? and status = ? from the database.static void
removeByR_G
(long resourcePrimKey, long groupId) Removes all the kb articles where resourcePrimKey = ? and groupId = ? from the database.static void
removeByR_G_L
(long resourcePrimKey, long groupId, boolean latest) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? from the database.static void
removeByR_G_L_NotS
(long resourcePrimKey, long groupId, boolean latest, int status) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ? from the database.static void
removeByR_G_M
(long resourcePrimKey, long groupId, boolean main) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? from the database.static void
removeByR_G_M_NotS
(long resourcePrimKey, long groupId, boolean main, int status) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ? from the database.static void
removeByR_G_NotS
(long resourcePrimKey, long groupId, int status) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and status ≠ ? from the database.static void
removeByR_G_S
(long resourcePrimKey, long groupId, int status) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and status = ? from the database.static KBArticle
removeByR_G_V
(long resourcePrimKey, long groupId, int version) Removes the kb article where resourcePrimKey = ? and groupId = ? and version = ? from the database.static void
removeByR_L
(long resourcePrimKey, boolean latest) Removes all the kb articles where resourcePrimKey = ? and latest = ? from the database.static void
removeByR_L_NotS
(long resourcePrimKey, boolean latest, int status) Removes all the kb articles where resourcePrimKey = ? and latest = ? and status ≠ ? from the database.static void
removeByR_M
(long resourcePrimKey, boolean main) Removes all the kb articles where resourcePrimKey = ? and main = ? from the database.static void
removeByR_M_NotS
(long resourcePrimKey, boolean main, int status) Removes all the kb articles where resourcePrimKey = ? and main = ? and status ≠ ? from the database.static void
removeByR_S
(long resourcePrimKey, int status) Removes all the kb articles where resourcePrimKey = ? and status = ? from the database.static KBArticle
removeByR_V
(long resourcePrimKey, int version) Removes the kb article where resourcePrimKey = ? and version = ? from the database.static void
removeByResourcePrimKey
(long resourcePrimKey) Removes all the kb articles where resourcePrimKey = ? from the database.static void
removeByUuid
(String uuid) Removes all the kb articles where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the kb articles where uuid = ? and companyId = ? from the database.static KBArticle
removeByUUID_G
(String uuid, long groupId) Removes the kb article where uuid = ? and groupId = ? from the database.static void
setPersistence
(KBArticlePersistence persistence) static KBArticle
static KBArticle
static KBArticle
updateImpl
(KBArticle kbArticle)
-
Constructor Details
-
KBArticleUtil
public KBArticleUtil()
-
-
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<KBArticle> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KBArticle> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<KBArticle> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KBArticle update(KBArticle kbArticle, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByResourcePrimKey
Returns all the kb articles where resourcePrimKey = ?.- Parameters:
resourcePrimKey
- the resource prim key- Returns:
- the matching kb articles
-
findByResourcePrimKey
Returns a range of all the kb articles where resourcePrimKey = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keystart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByResourcePrimKey
public static List<KBArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keystart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByResourcePrimKey
public static List<KBArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keystart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByResourcePrimKey_First
public static KBArticle findByResourcePrimKey_First(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ?.- Parameters:
resourcePrimKey
- the resource prim keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByResourcePrimKey_First
public static KBArticle fetchByResourcePrimKey_First(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ?.- Parameters:
resourcePrimKey
- the resource prim keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByResourcePrimKey_Last
public static KBArticle findByResourcePrimKey_Last(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ?.- Parameters:
resourcePrimKey
- the resource prim keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByResourcePrimKey_Last
public static KBArticle fetchByResourcePrimKey_Last(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ?.- Parameters:
resourcePrimKey
- the resource prim keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByResourcePrimKey_PrevAndNext
public static KBArticle[] findByResourcePrimKey_PrevAndNext(long kbArticleId, long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByResourcePrimKey
public static void removeByResourcePrimKey(long resourcePrimKey) Removes all the kb articles where resourcePrimKey = ? from the database.- Parameters:
resourcePrimKey
- the resource prim key
-
countByResourcePrimKey
public static int countByResourcePrimKey(long resourcePrimKey) Returns the number of kb articles where resourcePrimKey = ?.- Parameters:
resourcePrimKey
- the resource prim key- Returns:
- the number of matching kb articles
-
findByUuid
Returns all the kb articles where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching kb articles
-
findByUuid
Returns a range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByUuid
public static List<KBArticle> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByUuid
public static List<KBArticle> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByUuid_First
public static KBArticle findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByUuid_First
public static KBArticle fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByUuid_Last
public static KBArticle findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByUuid_Last
public static KBArticle fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByUuid_PrevAndNext
public static KBArticle[] findByUuid_PrevAndNext(long kbArticleId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where uuid = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByUuid
Removes all the kb articles where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of kb articles where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching kb articles
-
findByUUID_G
Returns the kb article where uuid = ? and groupId = ? or throws aNoSuchArticleException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByUUID_G
Returns the kb article 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 kb article, or
null
if a matching kb article could not be found
-
fetchByUUID_G
Returns the kb article 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 kb article, or
null
if a matching kb article could not be found
-
removeByUUID_G
Removes the kb article where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the kb article that was removed
- Throws:
NoSuchArticleException
-
countByUUID_G
Returns the number of kb articles where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching kb articles
-
findByUuid_C
Returns all the kb articles where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching kb articles
-
findByUuid_C
Returns a range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByUuid_C
public static List<KBArticle> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByUuid_C
public static List<KBArticle> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByUuid_C_First
public static KBArticle findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article 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 kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByUuid_C_First
public static KBArticle fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article 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 kb article, or
null
if a matching kb article could not be found
-
findByUuid_C_Last
public static KBArticle findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article 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 kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByUuid_C_Last
public static KBArticle fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article 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 kb article, or
null
if a matching kb article could not be found
-
findByUuid_C_PrevAndNext
public static KBArticle[] findByUuid_C_PrevAndNext(long kbArticleId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where uuid = ? and companyId = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByUuid_C
Removes all the kb articles where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of kb articles where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching kb articles
-
findByR_G
Returns all the kb articles where resourcePrimKey = ? and groupId = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group ID- Returns:
- the matching kb articles
-
findByR_G
Returns a range of all the kb articles where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G
public static List<KBArticle> findByR_G(long resourcePrimKey, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G
public static List<KBArticle> findByR_G(long resourcePrimKey, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_G_First
public static KBArticle findByR_G_First(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_First
public static KBArticle fetchByR_G_First(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_Last
public static KBArticle findByR_G_Last(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_Last
public static KBArticle fetchByR_G_Last(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_PrevAndNext
public static KBArticle[] findByR_G_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G
Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group ID- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G
public static List<KBArticle> filterFindByR_G(long resourcePrimKey, long groupId, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G
public static List<KBArticle> filterFindByR_G(long resourcePrimKey, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByR_G_PrevAndNext
public static KBArticle[] filterFindByR_G_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByR_G
public static void removeByR_G(long resourcePrimKey, long groupId) Removes all the kb articles where resourcePrimKey = ? and groupId = ? from the database.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group ID
-
countByR_G
public static int countByR_G(long resourcePrimKey, long groupId) Returns the number of kb articles where resourcePrimKey = ? and groupId = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group ID- Returns:
- the number of matching kb articles
-
filterCountByR_G
public static int filterCountByR_G(long resourcePrimKey, long groupId) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group ID- Returns:
- the number of matching kb articles that the user has permission to view
-
findByR_V
Returns the kb article where resourcePrimKey = ? and version = ? or throws aNoSuchArticleException
if it could not be found.- Parameters:
resourcePrimKey
- the resource prim keyversion
- the version- Returns:
- the matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_V
Returns the kb article where resourcePrimKey = ? and version = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
resourcePrimKey
- the resource prim keyversion
- the version- Returns:
- the matching kb article, or
null
if a matching kb article could not be found
-
fetchByR_V
Returns the kb article where resourcePrimKey = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
resourcePrimKey
- the resource prim keyversion
- the versionuseFinderCache
- whether to use the finder cache- Returns:
- the matching kb article, or
null
if a matching kb article could not be found
-
removeByR_V
public static KBArticle removeByR_V(long resourcePrimKey, int version) throws NoSuchArticleException Removes the kb article where resourcePrimKey = ? and version = ? from the database.- Parameters:
resourcePrimKey
- the resource prim keyversion
- the version- Returns:
- the kb article that was removed
- Throws:
NoSuchArticleException
-
countByR_V
public static int countByR_V(long resourcePrimKey, int version) Returns the number of kb articles where resourcePrimKey = ? and version = ?.- Parameters:
resourcePrimKey
- the resource prim keyversion
- the version- Returns:
- the number of matching kb articles
-
findByR_L
Returns all the kb articles where resourcePrimKey = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the latest- Returns:
- the matching kb articles
-
findByR_L
Returns a range of all the kb articles where resourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_L
public static List<KBArticle> findByR_L(long resourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_L
public static List<KBArticle> findByR_L(long resourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_L_First
public static KBArticle findByR_L_First(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_L_First
public static KBArticle fetchByR_L_First(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_L_Last
public static KBArticle findByR_L_Last(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_L_Last
public static KBArticle fetchByR_L_Last(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_L_PrevAndNext
public static KBArticle[] findByR_L_PrevAndNext(long kbArticleId, long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
findByR_L
Returns all the kb articles where resourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keyslatest
- the latest- Returns:
- the matching kb articles
-
findByR_L
public static List<KBArticle> findByR_L(long[] resourcePrimKeys, boolean latest, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_L
public static List<KBArticle> findByR_L(long[] resourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_L
public static List<KBArticle> findByR_L(long[] resourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ?, 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByR_L
public static void removeByR_L(long resourcePrimKey, boolean latest) Removes all the kb articles where resourcePrimKey = ? and latest = ? from the database.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the latest
-
countByR_L
public static int countByR_L(long resourcePrimKey, boolean latest) Returns the number of kb articles where resourcePrimKey = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the latest- Returns:
- the number of matching kb articles
-
countByR_L
public static int countByR_L(long[] resourcePrimKeys, boolean latest) Returns the number of kb articles where resourcePrimKey = any ? and latest = ?.- Parameters:
resourcePrimKeys
- the resource prim keyslatest
- the latest- Returns:
- the number of matching kb articles
-
findByR_M
Returns all the kb articles where resourcePrimKey = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the main- Returns:
- the matching kb articles
-
findByR_M
Returns a range of all the kb articles where resourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_M
public static List<KBArticle> findByR_M(long resourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_M
public static List<KBArticle> findByR_M(long resourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_M_First
public static KBArticle findByR_M_First(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_M_First
public static KBArticle fetchByR_M_First(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_M_Last
public static KBArticle findByR_M_Last(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_M_Last
public static KBArticle fetchByR_M_Last(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_M_PrevAndNext
public static KBArticle[] findByR_M_PrevAndNext(long kbArticleId, long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
findByR_M
Returns all the kb articles where resourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysmain
- the main- Returns:
- the matching kb articles
-
findByR_M
Returns a range of all the kb articles where resourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_M
public static List<KBArticle> findByR_M(long[] resourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_M
public static List<KBArticle> findByR_M(long[] resourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ?, 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByR_M
public static void removeByR_M(long resourcePrimKey, boolean main) Removes all the kb articles where resourcePrimKey = ? and main = ? from the database.- Parameters:
resourcePrimKey
- the resource prim keymain
- the main
-
countByR_M
public static int countByR_M(long resourcePrimKey, boolean main) Returns the number of kb articles where resourcePrimKey = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the main- Returns:
- the number of matching kb articles
-
countByR_M
public static int countByR_M(long[] resourcePrimKeys, boolean main) Returns the number of kb articles where resourcePrimKey = any ? and main = ?.- Parameters:
resourcePrimKeys
- the resource prim keysmain
- the main- Returns:
- the number of matching kb articles
-
findByR_S
Returns all the kb articles where resourcePrimKey = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keystatus
- the status- Returns:
- the matching kb articles
-
findByR_S
Returns a range of all the kb articles where resourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_S
public static List<KBArticle> findByR_S(long resourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_S
public static List<KBArticle> findByR_S(long resourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_S_First
public static KBArticle findByR_S_First(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_S_First
public static KBArticle fetchByR_S_First(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_S_Last
public static KBArticle findByR_S_Last(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_S_Last
public static KBArticle fetchByR_S_Last(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_S_PrevAndNext
public static KBArticle[] findByR_S_PrevAndNext(long kbArticleId, long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
findByR_S
Returns all the kb articles where resourcePrimKey = any ? and status = 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysstatuses
- the statuses- Returns:
- the matching kb articles
-
findByR_S
public static List<KBArticle> findByR_S(long[] resourcePrimKeys, int[] statuses, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and status = 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysstatuses
- the statusesstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_S
public static List<KBArticle> findByR_S(long[] resourcePrimKeys, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and status = 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysstatuses
- the statusesstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_S
public static List<KBArticle> findByR_S(long[] resourcePrimKeys, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysstatuses
- the statusesstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByR_S
public static void removeByR_S(long resourcePrimKey, int status) Removes all the kb articles where resourcePrimKey = ? and status = ? from the database.- Parameters:
resourcePrimKey
- the resource prim keystatus
- the status
-
countByR_S
public static int countByR_S(long resourcePrimKey, int status) Returns the number of kb articles where resourcePrimKey = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keystatus
- the status- Returns:
- the number of matching kb articles
-
countByR_S
public static int countByR_S(long[] resourcePrimKeys, int[] statuses) Returns the number of kb articles where resourcePrimKey = any ? and status = any ?.- Parameters:
resourcePrimKeys
- the resource prim keysstatuses
- the statuses- Returns:
- the number of matching kb articles
-
findByG_ERC
Returns all the kb articles where groupId = ? and externalReferenceCode = ?.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference code- Returns:
- the matching kb articles
-
findByG_ERC
public static List<KBArticle> findByG_ERC(long groupId, String externalReferenceCode, int start, int end) Returns a range of all the kb articles where groupId = ? and externalReferenceCode = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codestart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_ERC
public static List<KBArticle> findByG_ERC(long groupId, String externalReferenceCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and externalReferenceCode = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codestart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_ERC
public static List<KBArticle> findByG_ERC(long groupId, String externalReferenceCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and externalReferenceCode = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codestart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_ERC_First
public static KBArticle findByG_ERC_First(long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and externalReferenceCode = ?.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_ERC_First
public static KBArticle fetchByG_ERC_First(long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and externalReferenceCode = ?.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_ERC_Last
public static KBArticle findByG_ERC_Last(long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and externalReferenceCode = ?.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_ERC_Last
public static KBArticle fetchByG_ERC_Last(long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and externalReferenceCode = ?.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_ERC_PrevAndNext
public static KBArticle[] findByG_ERC_PrevAndNext(long kbArticleId, long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and externalReferenceCode = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDexternalReferenceCode
- the external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_ERC
Returns all the kb articles that the user has permission to view where groupId = ? and externalReferenceCode = ?.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference code- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_ERC
public static List<KBArticle> filterFindByG_ERC(long groupId, String externalReferenceCode, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and externalReferenceCode = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codestart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_ERC
public static List<KBArticle> filterFindByG_ERC(long groupId, String externalReferenceCode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and externalReferenceCode = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codestart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_ERC_PrevAndNext
public static KBArticle[] filterFindByG_ERC_PrevAndNext(long kbArticleId, long groupId, String externalReferenceCode, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and externalReferenceCode = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDexternalReferenceCode
- the external reference codeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_ERC
Removes all the kb articles where groupId = ? and externalReferenceCode = ? from the database.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference code
-
countByG_ERC
Returns the number of kb articles where groupId = ? and externalReferenceCode = ?.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference code- Returns:
- the number of matching kb articles
-
filterCountByG_ERC
Returns the number of kb articles that the user has permission to view where groupId = ? and externalReferenceCode = ?.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference code- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_L
Returns all the kb articles where groupId = ? and latest = ?.- Parameters:
groupId
- the group IDlatest
- the latest- Returns:
- the matching kb articles
-
findByG_L
Returns a range of all the kb articles where groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_L
public static List<KBArticle> findByG_L(long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_L
public static List<KBArticle> findByG_L(long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_L_First
public static KBArticle findByG_L_First(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and latest = ?.- Parameters:
groupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_L_First
public static KBArticle fetchByG_L_First(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and latest = ?.- Parameters:
groupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_L_Last
public static KBArticle findByG_L_Last(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and latest = ?.- Parameters:
groupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_L_Last
public static KBArticle fetchByG_L_Last(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and latest = ?.- Parameters:
groupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_L_PrevAndNext
public static KBArticle[] findByG_L_PrevAndNext(long kbArticleId, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_L
Returns all the kb articles that the user has permission to view where groupId = ? and latest = ?.- Parameters:
groupId
- the group IDlatest
- the latest- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_L
Returns a range of all the kb articles that the user has permission to view where groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_L
public static List<KBArticle> filterFindByG_L(long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_L_PrevAndNext
public static KBArticle[] filterFindByG_L_PrevAndNext(long kbArticleId, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_L
public static void removeByG_L(long groupId, boolean latest) Removes all the kb articles where groupId = ? and latest = ? from the database.- Parameters:
groupId
- the group IDlatest
- the latest
-
countByG_L
public static int countByG_L(long groupId, boolean latest) Returns the number of kb articles where groupId = ? and latest = ?.- Parameters:
groupId
- the group IDlatest
- the latest- Returns:
- the number of matching kb articles
-
filterCountByG_L
public static int filterCountByG_L(long groupId, boolean latest) Returns the number of kb articles that the user has permission to view where groupId = ? and latest = ?.- Parameters:
groupId
- the group IDlatest
- the latest- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_M
Returns all the kb articles where groupId = ? and main = ?.- Parameters:
groupId
- the group IDmain
- the main- Returns:
- the matching kb articles
-
findByG_M
Returns a range of all the kb articles where groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_M
public static List<KBArticle> findByG_M(long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_M
public static List<KBArticle> findByG_M(long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_M_First
public static KBArticle findByG_M_First(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and main = ?.- Parameters:
groupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_M_First
public static KBArticle fetchByG_M_First(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and main = ?.- Parameters:
groupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_M_Last
public static KBArticle findByG_M_Last(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and main = ?.- Parameters:
groupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_M_Last
public static KBArticle fetchByG_M_Last(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and main = ?.- Parameters:
groupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_M_PrevAndNext
public static KBArticle[] findByG_M_PrevAndNext(long kbArticleId, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_M
Returns all the kb articles that the user has permission to view where groupId = ? and main = ?.- Parameters:
groupId
- the group IDmain
- the main- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_M
Returns a range of all the kb articles that the user has permission to view where groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_M
public static List<KBArticle> filterFindByG_M(long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_M_PrevAndNext
public static KBArticle[] filterFindByG_M_PrevAndNext(long kbArticleId, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_M
public static void removeByG_M(long groupId, boolean main) Removes all the kb articles where groupId = ? and main = ? from the database.- Parameters:
groupId
- the group IDmain
- the main
-
countByG_M
public static int countByG_M(long groupId, boolean main) Returns the number of kb articles where groupId = ? and main = ?.- Parameters:
groupId
- the group IDmain
- the main- Returns:
- the number of matching kb articles
-
filterCountByG_M
public static int filterCountByG_M(long groupId, boolean main) Returns the number of kb articles that the user has permission to view where groupId = ? and main = ?.- Parameters:
groupId
- the group IDmain
- the main- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_S
Returns all the kb articles where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the matching kb articles
-
findByG_S
Returns a range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_S
public static List<KBArticle> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_S
public static List<KBArticle> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_S_First
public static KBArticle findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article 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 kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_S_First
public static KBArticle fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article 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 kb article, or
null
if a matching kb article could not be found
-
findByG_S_Last
public static KBArticle findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article 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 kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_S_Last
public static KBArticle fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article 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 kb article, or
null
if a matching kb article could not be found
-
findByG_S_PrevAndNext
public static KBArticle[] findByG_S_PrevAndNext(long kbArticleId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_S
Returns all the kb articles that the user has permission to view where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_S
Returns a range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_S
public static List<KBArticle> filterFindByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_S_PrevAndNext
public static KBArticle[] filterFindByG_S_PrevAndNext(long kbArticleId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_S
public static void removeByG_S(long groupId, int status) Removes all the kb articles 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 kb articles where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_S
public static int filterCountByG_S(long groupId, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByC_L
Returns all the kb articles where companyId = ? and latest = ?.- Parameters:
companyId
- the company IDlatest
- the latest- Returns:
- the matching kb articles
-
findByC_L
Returns a range of all the kb articles where companyId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByC_L
public static List<KBArticle> findByC_L(long companyId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where companyId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByC_L
public static List<KBArticle> findByC_L(long companyId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where companyId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByC_L_First
public static KBArticle findByC_L_First(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where companyId = ? and latest = ?.- Parameters:
companyId
- the company IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByC_L_First
public static KBArticle fetchByC_L_First(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and latest = ?.- Parameters:
companyId
- the company IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByC_L_Last
public static KBArticle findByC_L_Last(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where companyId = ? and latest = ?.- Parameters:
companyId
- the company IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByC_L_Last
public static KBArticle fetchByC_L_Last(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and latest = ?.- Parameters:
companyId
- the company IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByC_L_PrevAndNext
public static KBArticle[] findByC_L_PrevAndNext(long kbArticleId, long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where companyId = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlecompanyId
- the company IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByC_L
public static void removeByC_L(long companyId, boolean latest) Removes all the kb articles where companyId = ? and latest = ? from the database.- Parameters:
companyId
- the company IDlatest
- the latest
-
countByC_L
public static int countByC_L(long companyId, boolean latest) Returns the number of kb articles where companyId = ? and latest = ?.- Parameters:
companyId
- the company IDlatest
- the latest- Returns:
- the number of matching kb articles
-
findByC_M
Returns all the kb articles where companyId = ? and main = ?.- Parameters:
companyId
- the company IDmain
- the main- Returns:
- the matching kb articles
-
findByC_M
Returns a range of all the kb articles where companyId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByC_M
public static List<KBArticle> findByC_M(long companyId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where companyId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByC_M
public static List<KBArticle> findByC_M(long companyId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where companyId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByC_M_First
public static KBArticle findByC_M_First(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where companyId = ? and main = ?.- Parameters:
companyId
- the company IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByC_M_First
public static KBArticle fetchByC_M_First(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and main = ?.- Parameters:
companyId
- the company IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByC_M_Last
public static KBArticle findByC_M_Last(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where companyId = ? and main = ?.- Parameters:
companyId
- the company IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByC_M_Last
public static KBArticle fetchByC_M_Last(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and main = ?.- Parameters:
companyId
- the company IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByC_M_PrevAndNext
public static KBArticle[] findByC_M_PrevAndNext(long kbArticleId, long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where companyId = ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlecompanyId
- the company IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByC_M
public static void removeByC_M(long companyId, boolean main) Removes all the kb articles where companyId = ? and main = ? from the database.- Parameters:
companyId
- the company IDmain
- the main
-
countByC_M
public static int countByC_M(long companyId, boolean main) Returns the number of kb articles where companyId = ? and main = ?.- Parameters:
companyId
- the company IDmain
- the main- Returns:
- the number of matching kb articles
-
findByC_S
Returns all the kb articles where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching kb articles
-
findByC_S
Returns a range of all the kb articles where companyId = ? 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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByC_S
public static List<KBArticle> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where companyId = ? 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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByC_S
public static List<KBArticle> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where companyId = ? 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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByC_S_First
public static KBArticle findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByC_S_First
public static KBArticle fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByC_S_Last
public static KBArticle findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByC_S_Last
public static KBArticle fetchByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByC_S_PrevAndNext
public static KBArticle[] findByC_S_PrevAndNext(long kbArticleId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where companyId = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlecompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByC_S
public static void removeByC_S(long companyId, int status) Removes all the kb articles where companyId = ? and status = ? from the database.- Parameters:
companyId
- the company IDstatus
- the status
-
countByC_S
public static int countByC_S(long companyId, int status) Returns the number of kb articles where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching kb articles
-
findByP_L
Returns all the kb articles where parentResourcePrimKey = ? and latest = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the latest- Returns:
- the matching kb articles
-
findByP_L
public static List<KBArticle> findByP_L(long parentResourcePrimKey, boolean latest, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByP_L
public static List<KBArticle> findByP_L(long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByP_L
public static List<KBArticle> findByP_L(long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByP_L_First
public static KBArticle findByP_L_First(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where parentResourcePrimKey = ? and latest = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByP_L_First
public static KBArticle fetchByP_L_First(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and latest = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByP_L_Last
public static KBArticle findByP_L_Last(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where parentResourcePrimKey = ? and latest = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByP_L_Last
public static KBArticle fetchByP_L_Last(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and latest = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByP_L_PrevAndNext
public static KBArticle[] findByP_L_PrevAndNext(long kbArticleId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where parentResourcePrimKey = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
findByP_L
Returns all the kb articles where parentResourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keyslatest
- the latest- Returns:
- the matching kb articles
-
findByP_L
public static List<KBArticle> findByP_L(long[] parentResourcePrimKeys, boolean latest, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByP_L
public static List<KBArticle> findByP_L(long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByP_L
public static List<KBArticle> findByP_L(long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ?, 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByP_L
public static void removeByP_L(long parentResourcePrimKey, boolean latest) Removes all the kb articles where parentResourcePrimKey = ? and latest = ? from the database.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the latest
-
countByP_L
public static int countByP_L(long parentResourcePrimKey, boolean latest) Returns the number of kb articles where parentResourcePrimKey = ? and latest = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the latest- Returns:
- the number of matching kb articles
-
countByP_L
public static int countByP_L(long[] parentResourcePrimKeys, boolean latest) Returns the number of kb articles where parentResourcePrimKey = any ? and latest = ?.- Parameters:
parentResourcePrimKeys
- the parent resource prim keyslatest
- the latest- Returns:
- the number of matching kb articles
-
findByP_M
Returns all the kb articles where parentResourcePrimKey = ? and main = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the main- Returns:
- the matching kb articles
-
findByP_M
public static List<KBArticle> findByP_M(long parentResourcePrimKey, boolean main, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByP_M
public static List<KBArticle> findByP_M(long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByP_M
public static List<KBArticle> findByP_M(long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByP_M_First
public static KBArticle findByP_M_First(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where parentResourcePrimKey = ? and main = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByP_M_First
public static KBArticle fetchByP_M_First(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and main = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByP_M_Last
public static KBArticle findByP_M_Last(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where parentResourcePrimKey = ? and main = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByP_M_Last
public static KBArticle fetchByP_M_Last(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and main = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByP_M_PrevAndNext
public static KBArticle[] findByP_M_PrevAndNext(long kbArticleId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where parentResourcePrimKey = ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
findByP_M
Returns all the kb articles where parentResourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysmain
- the main- Returns:
- the matching kb articles
-
findByP_M
public static List<KBArticle> findByP_M(long[] parentResourcePrimKeys, boolean main, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByP_M
public static List<KBArticle> findByP_M(long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByP_M
public static List<KBArticle> findByP_M(long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ?, 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByP_M
public static void removeByP_M(long parentResourcePrimKey, boolean main) Removes all the kb articles where parentResourcePrimKey = ? and main = ? from the database.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the main
-
countByP_M
public static int countByP_M(long parentResourcePrimKey, boolean main) Returns the number of kb articles where parentResourcePrimKey = ? and main = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the main- Returns:
- the number of matching kb articles
-
countByP_M
public static int countByP_M(long[] parentResourcePrimKeys, boolean main) Returns the number of kb articles where parentResourcePrimKey = any ? and main = ?.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysmain
- the main- Returns:
- the number of matching kb articles
-
findByP_S
Returns all the kb articles where parentResourcePrimKey = ? and status = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keystatus
- the status- Returns:
- the matching kb articles
-
findByP_S
Returns a range of all the kb articles where parentResourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByP_S
public static List<KBArticle> findByP_S(long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByP_S
public static List<KBArticle> findByP_S(long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByP_S_First
public static KBArticle findByP_S_First(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where parentResourcePrimKey = ? and status = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByP_S_First
public static KBArticle fetchByP_S_First(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and status = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByP_S_Last
public static KBArticle findByP_S_Last(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where parentResourcePrimKey = ? and status = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByP_S_Last
public static KBArticle fetchByP_S_Last(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and status = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByP_S_PrevAndNext
public static KBArticle[] findByP_S_PrevAndNext(long kbArticleId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where parentResourcePrimKey = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
findByP_S
Returns all the kb articles where parentResourcePrimKey = 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysstatus
- the status- Returns:
- the matching kb articles
-
findByP_S
public static List<KBArticle> findByP_S(long[] parentResourcePrimKeys, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByP_S
public static List<KBArticle> findByP_S(long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByP_S
public static List<KBArticle> findByP_S(long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByP_S
public static void removeByP_S(long parentResourcePrimKey, int status) Removes all the kb articles where parentResourcePrimKey = ? and status = ? from the database.- Parameters:
parentResourcePrimKey
- the parent resource prim keystatus
- the status
-
countByP_S
public static int countByP_S(long parentResourcePrimKey, int status) Returns the number of kb articles where parentResourcePrimKey = ? and status = ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keystatus
- the status- Returns:
- the number of matching kb articles
-
countByP_S
public static int countByP_S(long[] parentResourcePrimKeys, int status) Returns the number of kb articles where parentResourcePrimKey = any ? and status = ?.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysstatus
- the status- Returns:
- the number of matching kb articles
-
findByLtD_S
Returns all the kb articles where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the matching kb articles
-
findByLtD_S
Returns a range of all the kb articles where displayDate < ? 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 fromKBArticleModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByLtD_S
public static List<KBArticle> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where displayDate < ? 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 fromKBArticleModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByLtD_S
public static List<KBArticle> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where displayDate < ? 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 fromKBArticleModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByLtD_S_First
public static KBArticle findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByLtD_S_First
public static KBArticle fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByLtD_S_Last
public static KBArticle findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByLtD_S_Last
public static KBArticle fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByLtD_S_PrevAndNext
public static KBArticle[] findByLtD_S_PrevAndNext(long kbArticleId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where displayDate < ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articledisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByLtD_S
Removes all the kb articles where displayDate < ? and status = ? from the database.- Parameters:
displayDate
- the display datestatus
- the status
-
countByLtD_S
Returns the number of kb articles where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the number of matching kb articles
-
findByR_G_V
public static KBArticle findByR_G_V(long resourcePrimKey, long groupId, int version) throws NoSuchArticleException Returns the kb article where resourcePrimKey = ? and groupId = ? and version = ? or throws aNoSuchArticleException
if it could not be found.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDversion
- the version- Returns:
- the matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_V
Returns the kb article where resourcePrimKey = ? and groupId = ? and version = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDversion
- the version- Returns:
- the matching kb article, or
null
if a matching kb article could not be found
-
fetchByR_G_V
public static KBArticle fetchByR_G_V(long resourcePrimKey, long groupId, int version, boolean useFinderCache) Returns the kb article where resourcePrimKey = ? and groupId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDversion
- the versionuseFinderCache
- whether to use the finder cache- Returns:
- the matching kb article, or
null
if a matching kb article could not be found
-
removeByR_G_V
public static KBArticle removeByR_G_V(long resourcePrimKey, long groupId, int version) throws NoSuchArticleException Removes the kb article where resourcePrimKey = ? and groupId = ? and version = ? from the database.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDversion
- the version- Returns:
- the kb article that was removed
- Throws:
NoSuchArticleException
-
countByR_G_V
public static int countByR_G_V(long resourcePrimKey, long groupId, int version) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and version = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDversion
- the version- Returns:
- the number of matching kb articles
-
findByR_G_L
Returns all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latest- Returns:
- the matching kb articles
-
findByR_G_L
public static List<KBArticle> findByR_G_L(long resourcePrimKey, long groupId, boolean latest, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_L
public static List<KBArticle> findByR_G_L(long resourcePrimKey, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_L
public static List<KBArticle> findByR_G_L(long resourcePrimKey, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_G_L_First
public static KBArticle findByR_G_L_First(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_L_First
public static KBArticle fetchByR_G_L_First(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_L_Last
public static KBArticle findByR_G_L_Last(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_L_Last
public static KBArticle fetchByR_G_L_Last(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_L_PrevAndNext
public static KBArticle[] findByR_G_L_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_L
Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latest- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_L
public static List<KBArticle> filterFindByR_G_L(long resourcePrimKey, long groupId, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_L
public static List<KBArticle> filterFindByR_G_L(long resourcePrimKey, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByR_G_L_PrevAndNext
public static KBArticle[] filterFindByR_G_L_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_L
public static List<KBArticle> filterFindByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest) Returns all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the latest- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_L
public static List<KBArticle> filterFindByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_L
public static List<KBArticle> filterFindByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByR_G_L
Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the latest- Returns:
- the matching kb articles
-
findByR_G_L
public static List<KBArticle> findByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_L
public static List<KBArticle> findByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_L
public static List<KBArticle> findByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?, 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByR_G_L
public static void removeByR_G_L(long resourcePrimKey, long groupId, boolean latest) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? from the database.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latest
-
countByR_G_L
public static int countByR_G_L(long resourcePrimKey, long groupId, boolean latest) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latest- Returns:
- the number of matching kb articles
-
countByR_G_L
public static int countByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest) Returns the number of kb articles where resourcePrimKey = any ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the latest- Returns:
- the number of matching kb articles
-
filterCountByR_G_L
public static int filterCountByR_G_L(long resourcePrimKey, long groupId, boolean latest) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latest- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByR_G_L
public static int filterCountByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest) Returns the number of kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the latest- Returns:
- the number of matching kb articles that the user has permission to view
-
findByR_G_M
Returns all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the main- Returns:
- the matching kb articles
-
findByR_G_M
public static List<KBArticle> findByR_G_M(long resourcePrimKey, long groupId, boolean main, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_M
public static List<KBArticle> findByR_G_M(long resourcePrimKey, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_M
public static List<KBArticle> findByR_G_M(long resourcePrimKey, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_G_M_First
public static KBArticle findByR_G_M_First(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_M_First
public static KBArticle fetchByR_G_M_First(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_M_Last
public static KBArticle findByR_G_M_Last(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_M_Last
public static KBArticle fetchByR_G_M_Last(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_M_PrevAndNext
public static KBArticle[] findByR_G_M_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_M
Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the main- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_M
public static List<KBArticle> filterFindByR_G_M(long resourcePrimKey, long groupId, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_M
public static List<KBArticle> filterFindByR_G_M(long resourcePrimKey, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByR_G_M_PrevAndNext
public static KBArticle[] filterFindByR_G_M_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_M
public static List<KBArticle> filterFindByR_G_M(long[] resourcePrimKeys, long groupId, boolean main) Returns all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the main- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_M
public static List<KBArticle> filterFindByR_G_M(long[] resourcePrimKeys, long groupId, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_M
public static List<KBArticle> filterFindByR_G_M(long[] resourcePrimKeys, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByR_G_M
Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the main- Returns:
- the matching kb articles
-
findByR_G_M
public static List<KBArticle> findByR_G_M(long[] resourcePrimKeys, long groupId, boolean main, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_M
public static List<KBArticle> findByR_G_M(long[] resourcePrimKeys, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_M
public static List<KBArticle> findByR_G_M(long[] resourcePrimKeys, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?, 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByR_G_M
public static void removeByR_G_M(long resourcePrimKey, long groupId, boolean main) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? from the database.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the main
-
countByR_G_M
public static int countByR_G_M(long resourcePrimKey, long groupId, boolean main) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the main- Returns:
- the number of matching kb articles
-
countByR_G_M
public static int countByR_G_M(long[] resourcePrimKeys, long groupId, boolean main) Returns the number of kb articles where resourcePrimKey = any ? and groupId = ? and main = ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the main- Returns:
- the number of matching kb articles
-
filterCountByR_G_M
public static int filterCountByR_G_M(long resourcePrimKey, long groupId, boolean main) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the main- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByR_G_M
public static int filterCountByR_G_M(long[] resourcePrimKeys, long groupId, boolean main) Returns the number of kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the main- Returns:
- the number of matching kb articles that the user has permission to view
-
findByR_G_S
Returns all the kb articles where resourcePrimKey = ? and groupId = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the status- Returns:
- the matching kb articles
-
findByR_G_S
public static List<KBArticle> findByR_G_S(long resourcePrimKey, long groupId, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_S
public static List<KBArticle> findByR_G_S(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_S
public static List<KBArticle> findByR_G_S(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_G_S_First
public static KBArticle findByR_G_S_First(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_S_First
public static KBArticle fetchByR_G_S_First(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_S_Last
public static KBArticle findByR_G_S_Last(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_S_Last
public static KBArticle fetchByR_G_S_Last(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_S_PrevAndNext
public static KBArticle[] findByR_G_S_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_S
Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_S
public static List<KBArticle> filterFindByR_G_S(long resourcePrimKey, long groupId, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_S
public static List<KBArticle> filterFindByR_G_S(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByR_G_S_PrevAndNext
public static KBArticle[] filterFindByR_G_S_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_S
Returns all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and status = ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_S
public static List<KBArticle> filterFindByR_G_S(long[] resourcePrimKeys, long groupId, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_S
public static List<KBArticle> filterFindByR_G_S(long[] resourcePrimKeys, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByR_G_S
Returns all the kb articles where resourcePrimKey = any ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the status- Returns:
- the matching kb articles
-
findByR_G_S
public static List<KBArticle> findByR_G_S(long[] resourcePrimKeys, long groupId, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_S
public static List<KBArticle> findByR_G_S(long[] resourcePrimKeys, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_S
public static List<KBArticle> findByR_G_S(long[] resourcePrimKeys, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByR_G_S
public static void removeByR_G_S(long resourcePrimKey, long groupId, int status) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and status = ? from the database.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the status
-
countByR_G_S
public static int countByR_G_S(long resourcePrimKey, long groupId, int status) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the status- Returns:
- the number of matching kb articles
-
countByR_G_S
public static int countByR_G_S(long[] resourcePrimKeys, long groupId, int status) Returns the number of kb articles where resourcePrimKey = any ? and groupId = ? and status = ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByR_G_S
public static int filterCountByR_G_S(long resourcePrimKey, long groupId, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status = ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByR_G_S
public static int filterCountByR_G_S(long[] resourcePrimKeys, long groupId, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and status = ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByR_G_NotS
Returns all the kb articles where resourcePrimKey = ? and groupId = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the status- Returns:
- the matching kb articles
-
findByR_G_NotS
public static List<KBArticle> findByR_G_NotS(long resourcePrimKey, long groupId, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_NotS
public static List<KBArticle> findByR_G_NotS(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_NotS
public static List<KBArticle> findByR_G_NotS(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_G_NotS_First
public static KBArticle findByR_G_NotS_First(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_NotS_First
public static KBArticle fetchByR_G_NotS_First(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_NotS_Last
public static KBArticle findByR_G_NotS_Last(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_NotS_Last
public static KBArticle fetchByR_G_NotS_Last(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_NotS_PrevAndNext
public static KBArticle[] findByR_G_NotS_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_NotS
Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_NotS
public static List<KBArticle> filterFindByR_G_NotS(long resourcePrimKey, long groupId, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_NotS
public static List<KBArticle> filterFindByR_G_NotS(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByR_G_NotS_PrevAndNext
public static KBArticle[] filterFindByR_G_NotS_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByR_G_NotS
public static void removeByR_G_NotS(long resourcePrimKey, long groupId, int status) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and status ≠ ? from the database.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the status
-
countByR_G_NotS
public static int countByR_G_NotS(long resourcePrimKey, long groupId, int status) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByR_G_NotS
public static int filterCountByR_G_NotS(long resourcePrimKey, long groupId, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByR_L_NotS
Returns all the kb articles where resourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByR_L_NotS
public static List<KBArticle> findByR_L_NotS(long resourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_L_NotS
public static List<KBArticle> findByR_L_NotS(long resourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_L_NotS
public static List<KBArticle> findByR_L_NotS(long resourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_L_NotS_First
public static KBArticle findByR_L_NotS_First(long resourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_L_NotS_First
public static KBArticle fetchByR_L_NotS_First(long resourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_L_NotS_Last
public static KBArticle findByR_L_NotS_Last(long resourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_L_NotS_Last
public static KBArticle fetchByR_L_NotS_Last(long resourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_L_NotS_PrevAndNext
public static KBArticle[] findByR_L_NotS_PrevAndNext(long kbArticleId, long resourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
findByR_L_NotS
Returns all the kb articles where resourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keyslatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByR_L_NotS
public static List<KBArticle> findByR_L_NotS(long[] resourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_L_NotS
public static List<KBArticle> findByR_L_NotS(long[] resourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_L_NotS
public static List<KBArticle> findByR_L_NotS(long[] resourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByR_L_NotS
public static void removeByR_L_NotS(long resourcePrimKey, boolean latest, int status) Removes all the kb articles where resourcePrimKey = ? and latest = ? and status ≠ ? from the database.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststatus
- the status
-
countByR_L_NotS
public static int countByR_L_NotS(long resourcePrimKey, boolean latest, int status) Returns the number of kb articles where resourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keylatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
countByR_L_NotS
public static int countByR_L_NotS(long[] resourcePrimKeys, boolean latest, int status) Returns the number of kb articles where resourcePrimKey = any ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKeys
- the resource prim keyslatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
findByR_M_NotS
Returns all the kb articles where resourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByR_M_NotS
public static List<KBArticle> findByR_M_NotS(long resourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_M_NotS
public static List<KBArticle> findByR_M_NotS(long resourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_M_NotS
public static List<KBArticle> findByR_M_NotS(long resourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_M_NotS_First
public static KBArticle findByR_M_NotS_First(long resourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_M_NotS_First
public static KBArticle fetchByR_M_NotS_First(long resourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_M_NotS_Last
public static KBArticle findByR_M_NotS_Last(long resourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_M_NotS_Last
public static KBArticle fetchByR_M_NotS_Last(long resourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_M_NotS_PrevAndNext
public static KBArticle[] findByR_M_NotS_PrevAndNext(long kbArticleId, long resourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
findByR_M_NotS
Returns all the kb articles where resourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysmain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByR_M_NotS
public static List<KBArticle> findByR_M_NotS(long[] resourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_M_NotS
public static List<KBArticle> findByR_M_NotS(long[] resourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_M_NotS
public static List<KBArticle> findByR_M_NotS(long[] resourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByR_M_NotS
public static void removeByR_M_NotS(long resourcePrimKey, boolean main, int status) Removes all the kb articles where resourcePrimKey = ? and main = ? and status ≠ ? from the database.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstatus
- the status
-
countByR_M_NotS
public static int countByR_M_NotS(long resourcePrimKey, boolean main, int status) Returns the number of kb articles where resourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keymain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
countByR_M_NotS
public static int countByR_M_NotS(long[] resourcePrimKeys, boolean main, int status) Returns the number of kb articles where resourcePrimKey = any ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKeys
- the resource prim keysmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
findByG_ERC_V
public static KBArticle findByG_ERC_V(long groupId, String externalReferenceCode, int version) throws NoSuchArticleException Returns the kb article where groupId = ? and externalReferenceCode = ? and version = ? or throws aNoSuchArticleException
if it could not be found.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codeversion
- the version- Returns:
- the matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_ERC_V
Returns the kb article where groupId = ? and externalReferenceCode = ? and version = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codeversion
- the version- Returns:
- the matching kb article, or
null
if a matching kb article could not be found
-
fetchByG_ERC_V
public static KBArticle fetchByG_ERC_V(long groupId, String externalReferenceCode, int version, boolean useFinderCache) Returns the kb article where groupId = ? and externalReferenceCode = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codeversion
- the versionuseFinderCache
- whether to use the finder cache- Returns:
- the matching kb article, or
null
if a matching kb article could not be found
-
removeByG_ERC_V
public static KBArticle removeByG_ERC_V(long groupId, String externalReferenceCode, int version) throws NoSuchArticleException Removes the kb article where groupId = ? and externalReferenceCode = ? and version = ? from the database.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codeversion
- the version- Returns:
- the kb article that was removed
- Throws:
NoSuchArticleException
-
countByG_ERC_V
Returns the number of kb articles where groupId = ? and externalReferenceCode = ? and version = ?.- Parameters:
groupId
- the group IDexternalReferenceCode
- the external reference codeversion
- the version- Returns:
- the number of matching kb articles
-
findByG_P_L
Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latest- Returns:
- the matching kb articles
-
findByG_P_L
public static List<KBArticle> findByG_P_L(long groupId, long parentResourcePrimKey, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_L
public static List<KBArticle> findByG_P_L(long groupId, long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_L
public static List<KBArticle> findByG_P_L(long groupId, long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_P_L_First
public static KBArticle findByG_P_L_First(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_L_First
public static KBArticle fetchByG_P_L_First(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_L_Last
public static KBArticle findByG_P_L_Last(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_L_Last
public static KBArticle fetchByG_P_L_Last(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_L_PrevAndNext
public static KBArticle[] findByG_P_L_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_L
public static List<KBArticle> filterFindByG_P_L(long groupId, long parentResourcePrimKey, boolean latest) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latest- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_L
public static List<KBArticle> filterFindByG_P_L(long groupId, long parentResourcePrimKey, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_L
public static List<KBArticle> filterFindByG_P_L(long groupId, long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_P_L_PrevAndNext
public static KBArticle[] filterFindByG_P_L_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_L
public static List<KBArticle> filterFindByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the latest- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_L
public static List<KBArticle> filterFindByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_L
public static List<KBArticle> filterFindByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_P_L
public static List<KBArticle> findByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the latest- Returns:
- the matching kb articles
-
findByG_P_L
public static List<KBArticle> findByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_L
public static List<KBArticle> findByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_L
public static List<KBArticle> findByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?, 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_P_L
public static void removeByG_P_L(long groupId, long parentResourcePrimKey, boolean latest) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? from the database.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latest
-
countByG_P_L
public static int countByG_P_L(long groupId, long parentResourcePrimKey, boolean latest) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latest- Returns:
- the number of matching kb articles
-
countByG_P_L
public static int countByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the latest- Returns:
- the number of matching kb articles
-
filterCountByG_P_L
public static int filterCountByG_P_L(long groupId, long parentResourcePrimKey, boolean latest) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latest- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_P_L
public static int filterCountByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the latest- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_P_M
Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the main- Returns:
- the matching kb articles
-
findByG_P_M
public static List<KBArticle> findByG_P_M(long groupId, long parentResourcePrimKey, boolean main, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_M
public static List<KBArticle> findByG_P_M(long groupId, long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_M
public static List<KBArticle> findByG_P_M(long groupId, long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_P_M_First
public static KBArticle findByG_P_M_First(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_M_First
public static KBArticle fetchByG_P_M_First(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_M_Last
public static KBArticle findByG_P_M_Last(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_M_Last
public static KBArticle fetchByG_P_M_Last(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_M_PrevAndNext
public static KBArticle[] findByG_P_M_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_M
public static List<KBArticle> filterFindByG_P_M(long groupId, long parentResourcePrimKey, boolean main) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the main- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_M
public static List<KBArticle> filterFindByG_P_M(long groupId, long parentResourcePrimKey, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_M
public static List<KBArticle> filterFindByG_P_M(long groupId, long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_P_M_PrevAndNext
public static KBArticle[] filterFindByG_P_M_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_M
public static List<KBArticle> filterFindByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the main- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_M
public static List<KBArticle> filterFindByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_M
public static List<KBArticle> filterFindByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_P_M
public static List<KBArticle> findByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the main- Returns:
- the matching kb articles
-
findByG_P_M
public static List<KBArticle> findByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_M
public static List<KBArticle> findByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_M
public static List<KBArticle> findByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?, 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_P_M
public static void removeByG_P_M(long groupId, long parentResourcePrimKey, boolean main) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? from the database.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the main
-
countByG_P_M
public static int countByG_P_M(long groupId, long parentResourcePrimKey, boolean main) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the main- Returns:
- the number of matching kb articles
-
countByG_P_M
public static int countByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the main- Returns:
- the number of matching kb articles
-
filterCountByG_P_M
public static int filterCountByG_P_M(long groupId, long parentResourcePrimKey, boolean main) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the main- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_P_M
public static int filterCountByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the main- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_P_S
Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the status- Returns:
- the matching kb articles
-
findByG_P_S
public static List<KBArticle> findByG_P_S(long groupId, long parentResourcePrimKey, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_S
public static List<KBArticle> findByG_P_S(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_S
public static List<KBArticle> findByG_P_S(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_P_S_First
public static KBArticle findByG_P_S_First(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_S_First
public static KBArticle fetchByG_P_S_First(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_S_Last
public static KBArticle findByG_P_S_Last(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_S_Last
public static KBArticle fetchByG_P_S_Last(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_S_PrevAndNext
public static KBArticle[] findByG_P_S_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_S
public static List<KBArticle> filterFindByG_P_S(long groupId, long parentResourcePrimKey, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_S
public static List<KBArticle> filterFindByG_P_S(long groupId, long parentResourcePrimKey, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_S
public static List<KBArticle> filterFindByG_P_S(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_P_S_PrevAndNext
public static KBArticle[] filterFindByG_P_S_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_S
public static List<KBArticle> filterFindByG_P_S(long groupId, long[] parentResourcePrimKeys, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_S
public static List<KBArticle> filterFindByG_P_S(long groupId, long[] parentResourcePrimKeys, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_S
public static List<KBArticle> filterFindByG_P_S(long groupId, long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_P_S
Returns all the kb articles where groupId = ? and parentResourcePrimKey = 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the status- Returns:
- the matching kb articles
-
findByG_P_S
public static List<KBArticle> findByG_P_S(long groupId, long[] parentResourcePrimKeys, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_S
public static List<KBArticle> findByG_P_S(long groupId, long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_S
public static List<KBArticle> findByG_P_S(long groupId, long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_P_S
public static void removeByG_P_S(long groupId, long parentResourcePrimKey, int status) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and status = ? from the database.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the status
-
countByG_P_S
public static int countByG_P_S(long groupId, long parentResourcePrimKey, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the status- Returns:
- the number of matching kb articles
-
countByG_P_S
public static int countByG_P_S(long groupId, long[] parentResourcePrimKeys, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_P_S
public static int filterCountByG_P_S(long groupId, long parentResourcePrimKey, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_P_S
public static int filterCountByG_P_S(long groupId, long[] parentResourcePrimKeys, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_KBFI_UT
Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url title- Returns:
- the matching kb articles
-
findByG_KBFI_UT
public static List<KBArticle> findByG_KBFI_UT(long groupId, long kbFolderId, String urlTitle, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_KBFI_UT
public static List<KBArticle> findByG_KBFI_UT(long groupId, long kbFolderId, String urlTitle, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_UT
public static List<KBArticle> findByG_KBFI_UT(long groupId, long kbFolderId, String urlTitle, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_UT_First
public static KBArticle findByG_KBFI_UT_First(long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_UT_First
public static KBArticle fetchByG_KBFI_UT_First(long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_UT_Last
public static KBArticle findByG_KBFI_UT_Last(long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_UT_Last
public static KBArticle fetchByG_KBFI_UT_Last(long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_UT_PrevAndNext
public static KBArticle[] findByG_KBFI_UT_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_KBFI_UT
Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url title- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT
public static List<KBArticle> filterFindByG_KBFI_UT(long groupId, long kbFolderId, String urlTitle, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT
public static List<KBArticle> filterFindByG_KBFI_UT(long groupId, long kbFolderId, String urlTitle, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and urlTitle = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT_PrevAndNext
public static KBArticle[] filterFindByG_KBFI_UT_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titleorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_KBFI_UT
Removes all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? from the database.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url title
-
countByG_KBFI_UT
Returns the number of kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url title- Returns:
- the number of matching kb articles
-
filterCountByG_KBFI_UT
Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url title- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_KBFI_L
Returns all the kb articles where groupId = ? and kbFolderId = ? and latest = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latest- Returns:
- the matching kb articles
-
findByG_KBFI_L
public static List<KBArticle> findByG_KBFI_L(long groupId, long kbFolderId, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_KBFI_L
public static List<KBArticle> findByG_KBFI_L(long groupId, long kbFolderId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_L
public static List<KBArticle> findByG_KBFI_L(long groupId, long kbFolderId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_L_First
public static KBArticle findByG_KBFI_L_First(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_L_First
public static KBArticle fetchByG_KBFI_L_First(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_L_Last
public static KBArticle findByG_KBFI_L_Last(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_L_Last
public static KBArticle fetchByG_KBFI_L_Last(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_L_PrevAndNext
public static KBArticle[] findByG_KBFI_L_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_KBFI_L
Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latest- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_KBFI_L
public static List<KBArticle> filterFindByG_KBFI_L(long groupId, long kbFolderId, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_L
public static List<KBArticle> filterFindByG_KBFI_L(long groupId, long kbFolderId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_L_PrevAndNext
public static KBArticle[] filterFindByG_KBFI_L_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_KBFI_L
public static void removeByG_KBFI_L(long groupId, long kbFolderId, boolean latest) Removes all the kb articles where groupId = ? and kbFolderId = ? and latest = ? from the database.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latest
-
countByG_KBFI_L
public static int countByG_KBFI_L(long groupId, long kbFolderId, boolean latest) Returns the number of kb articles where groupId = ? and kbFolderId = ? and latest = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latest- Returns:
- the number of matching kb articles
-
filterCountByG_KBFI_L
public static int filterCountByG_KBFI_L(long groupId, long kbFolderId, boolean latest) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latest- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_KBFI_S
Returns all the kb articles where groupId = ? and kbFolderId = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the status- Returns:
- the matching kb articles
-
findByG_KBFI_S
public static List<KBArticle> findByG_KBFI_S(long groupId, long kbFolderId, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_KBFI_S
public static List<KBArticle> findByG_KBFI_S(long groupId, long kbFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_S
public static List<KBArticle> findByG_KBFI_S(long groupId, long kbFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_S_First
public static KBArticle findByG_KBFI_S_First(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_S_First
public static KBArticle fetchByG_KBFI_S_First(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_S_Last
public static KBArticle findByG_KBFI_S_Last(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_S_Last
public static KBArticle fetchByG_KBFI_S_Last(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_S_PrevAndNext
public static KBArticle[] findByG_KBFI_S_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_KBFI_S
Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_KBFI_S
public static List<KBArticle> filterFindByG_KBFI_S(long groupId, long kbFolderId, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_S
public static List<KBArticle> filterFindByG_KBFI_S(long groupId, long kbFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_S_PrevAndNext
public static KBArticle[] filterFindByG_KBFI_S_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_KBFI_S
public static void removeByG_KBFI_S(long groupId, long kbFolderId, int status) Removes all the kb articles where groupId = ? and kbFolderId = ? and status = ? from the database.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the status
-
countByG_KBFI_S
public static int countByG_KBFI_S(long groupId, long kbFolderId, int status) Returns the number of kb articles where groupId = ? and kbFolderId = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_KBFI_S
public static int filterCountByG_KBFI_S(long groupId, long kbFolderId, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_LikeS_L
Returns all the kb articles where groupId = ? and sections LIKE ? and latest = ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the latest- Returns:
- the matching kb articles
-
findByG_LikeS_L
public static List<KBArticle> findByG_LikeS_L(long groupId, String sections, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_LikeS_L
public static List<KBArticle> findByG_LikeS_L(long groupId, String sections, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_L
public static List<KBArticle> findByG_LikeS_L(long groupId, String sections, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_L_First
public static KBArticle findByG_LikeS_L_First(long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_LikeS_L_First
public static KBArticle fetchByG_LikeS_L_First(long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_LikeS_L_Last
public static KBArticle findByG_LikeS_L_Last(long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_LikeS_L_Last
public static KBArticle fetchByG_LikeS_L_Last(long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_LikeS_L_PrevAndNext
public static KBArticle[] findByG_LikeS_L_PrevAndNext(long kbArticleId, long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_LikeS_L
Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the latest- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_LikeS_L
public static List<KBArticle> filterFindByG_LikeS_L(long groupId, String sections, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_L
public static List<KBArticle> filterFindByG_LikeS_L(long groupId, String sections, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and sections LIKE ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_L_PrevAndNext
public static KBArticle[] filterFindByG_LikeS_L_PrevAndNext(long kbArticleId, long groupId, String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_LikeS_L
public static List<KBArticle> filterFindByG_LikeS_L(long groupId, String[] sectionses, boolean latest) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ?.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the latest- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_LikeS_L
public static List<KBArticle> filterFindByG_LikeS_L(long groupId, String[] sectionses, boolean latest, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_L
public static List<KBArticle> filterFindByG_LikeS_L(long groupId, String[] sectionses, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_LikeS_L
Returns all the kb articles where groupId = ? and sections LIKE any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the latest- Returns:
- the matching kb articles
-
findByG_LikeS_L
public static List<KBArticle> findByG_LikeS_L(long groupId, String[] sectionses, boolean latest, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_LikeS_L
public static List<KBArticle> findByG_LikeS_L(long groupId, String[] sectionses, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE any ? and latest = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_L
public static List<KBArticle> findByG_LikeS_L(long groupId, String[] sectionses, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ?, 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_LikeS_L
Removes all the kb articles where groupId = ? and sections LIKE ? and latest = ? from the database.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the latest
-
countByG_LikeS_L
Returns the number of kb articles where groupId = ? and sections LIKE ? and latest = ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the latest- Returns:
- the number of matching kb articles
-
countByG_LikeS_L
Returns the number of kb articles where groupId = ? and sections LIKE any ? and latest = ?.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the latest- Returns:
- the number of matching kb articles
-
filterCountByG_LikeS_L
Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the latest- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_LikeS_L
Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ?.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the latest- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_LikeS_M
Returns all the kb articles where groupId = ? and sections LIKE ? and main = ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the main- Returns:
- the matching kb articles
-
findByG_LikeS_M
public static List<KBArticle> findByG_LikeS_M(long groupId, String sections, boolean main, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_LikeS_M
public static List<KBArticle> findByG_LikeS_M(long groupId, String sections, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_M
public static List<KBArticle> findByG_LikeS_M(long groupId, String sections, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_M_First
public static KBArticle findByG_LikeS_M_First(long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and main = ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_LikeS_M_First
public static KBArticle fetchByG_LikeS_M_First(long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and main = ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_LikeS_M_Last
public static KBArticle findByG_LikeS_M_Last(long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and main = ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_LikeS_M_Last
public static KBArticle fetchByG_LikeS_M_Last(long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and main = ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_LikeS_M_PrevAndNext
public static KBArticle[] findByG_LikeS_M_PrevAndNext(long kbArticleId, long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and sections LIKE ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_LikeS_M
Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the main- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_LikeS_M
public static List<KBArticle> filterFindByG_LikeS_M(long groupId, String sections, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_M
public static List<KBArticle> filterFindByG_LikeS_M(long groupId, String sections, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and sections LIKE ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_M_PrevAndNext
public static KBArticle[] filterFindByG_LikeS_M_PrevAndNext(long kbArticleId, long groupId, String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_LikeS_M
public static List<KBArticle> filterFindByG_LikeS_M(long groupId, String[] sectionses, boolean main) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ?.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the main- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_LikeS_M
public static List<KBArticle> filterFindByG_LikeS_M(long groupId, String[] sectionses, boolean main, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_M
public static List<KBArticle> filterFindByG_LikeS_M(long groupId, String[] sectionses, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_LikeS_M
Returns all the kb articles where groupId = ? and sections LIKE any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the main- Returns:
- the matching kb articles
-
findByG_LikeS_M
public static List<KBArticle> findByG_LikeS_M(long groupId, String[] sectionses, boolean main, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_LikeS_M
public static List<KBArticle> findByG_LikeS_M(long groupId, String[] sectionses, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE any ? and main = ?.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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_M
public static List<KBArticle> findByG_LikeS_M(long groupId, String[] sectionses, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ?, 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_LikeS_M
Removes all the kb articles where groupId = ? and sections LIKE ? and main = ? from the database.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the main
-
countByG_LikeS_M
Returns the number of kb articles where groupId = ? and sections LIKE ? and main = ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the main- Returns:
- the number of matching kb articles
-
countByG_LikeS_M
Returns the number of kb articles where groupId = ? and sections LIKE any ? and main = ?.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the main- Returns:
- the number of matching kb articles
-
filterCountByG_LikeS_M
Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the main- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_LikeS_M
Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ?.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the main- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_LikeS_S
Returns all the kb articles where groupId = ? and sections LIKE ? and status = ?.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the status- Returns:
- the matching kb articles
-
findByG_LikeS_S
public static List<KBArticle> findByG_LikeS_S(long groupId, String sections, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_LikeS_S
public static List<KBArticle> findByG_LikeS_S(long groupId, String sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_S
public static List<KBArticle> findByG_LikeS_S(long groupId, String sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_S_First
public static KBArticle findByG_LikeS_S_First(long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and status = ?.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_LikeS_S_First
public static KBArticle fetchByG_LikeS_S_First(long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and status = ?.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_LikeS_S_Last
public static KBArticle findByG_LikeS_S_Last(long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and status = ?.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_LikeS_S_Last
public static KBArticle fetchByG_LikeS_S_Last(long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and status = ?.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_LikeS_S_PrevAndNext
public static KBArticle[] findByG_LikeS_S_PrevAndNext(long kbArticleId, long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and sections LIKE ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_LikeS_S
Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and status = ?.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_LikeS_S
public static List<KBArticle> filterFindByG_LikeS_S(long groupId, String sections, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_S
public static List<KBArticle> filterFindByG_LikeS_S(long groupId, String sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and sections LIKE ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_S_PrevAndNext
public static KBArticle[] filterFindByG_LikeS_S_PrevAndNext(long kbArticleId, long groupId, String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_LikeS_S
Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and status = ?.- Parameters:
groupId
- the group IDsectionses
- the sectionsesstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_LikeS_S
public static List<KBArticle> filterFindByG_LikeS_S(long groupId, String[] sectionses, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_S
public static List<KBArticle> filterFindByG_LikeS_S(long groupId, String[] sectionses, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_LikeS_S
Returns all the kb articles where groupId = ? and sections LIKE 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesstatus
- the status- Returns:
- the matching kb articles
-
findByG_LikeS_S
public static List<KBArticle> findByG_LikeS_S(long groupId, String[] sectionses, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_LikeS_S
public static List<KBArticle> findByG_LikeS_S(long groupId, String[] sectionses, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_S
public static List<KBArticle> findByG_LikeS_S(long groupId, String[] sectionses, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_LikeS_S
Removes all the kb articles where groupId = ? and sections LIKE ? and status = ? from the database.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the status
-
countByG_LikeS_S
Returns the number of kb articles where groupId = ? and sections LIKE ? and status = ?.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the status- Returns:
- the number of matching kb articles
-
countByG_LikeS_S
Returns the number of kb articles where groupId = ? and sections LIKE any ? and status = ?.- Parameters:
groupId
- the group IDsectionses
- the sectionsesstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_LikeS_S
Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and status = ?.- Parameters:
groupId
- the group IDsections
- the sectionsstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_LikeS_S
Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and status = ?.- Parameters:
groupId
- the group IDsectionses
- the sectionsesstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_L_NotS
Returns all the kb articles where groupId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByG_L_NotS
public static List<KBArticle> findByG_L_NotS(long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_L_NotS
public static List<KBArticle> findByG_L_NotS(long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_L_NotS
public static List<KBArticle> findByG_L_NotS(long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_L_NotS_First
public static KBArticle findByG_L_NotS_First(long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_L_NotS_First
public static KBArticle fetchByG_L_NotS_First(long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_L_NotS_Last
public static KBArticle findByG_L_NotS_Last(long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_L_NotS_Last
public static KBArticle fetchByG_L_NotS_Last(long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_L_NotS_PrevAndNext
public static KBArticle[] findByG_L_NotS_PrevAndNext(long kbArticleId, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_L_NotS
Returns all the kb articles that the user has permission to view where groupId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_L_NotS
public static List<KBArticle> filterFindByG_L_NotS(long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_L_NotS
public static List<KBArticle> filterFindByG_L_NotS(long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_L_NotS_PrevAndNext
public static KBArticle[] filterFindByG_L_NotS_PrevAndNext(long kbArticleId, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_L_NotS
public static void removeByG_L_NotS(long groupId, boolean latest, int status) Removes all the kb articles where groupId = ? and latest = ? and status ≠ ? from the database.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the status
-
countByG_L_NotS
public static int countByG_L_NotS(long groupId, boolean latest, int status) Returns the number of kb articles where groupId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_L_NotS
public static int filterCountByG_L_NotS(long groupId, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_M_NotS
Returns all the kb articles where groupId = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByG_M_NotS
public static List<KBArticle> findByG_M_NotS(long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_M_NotS
public static List<KBArticle> findByG_M_NotS(long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_M_NotS
public static List<KBArticle> findByG_M_NotS(long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_M_NotS_First
public static KBArticle findByG_M_NotS_First(long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_M_NotS_First
public static KBArticle fetchByG_M_NotS_First(long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_M_NotS_Last
public static KBArticle findByG_M_NotS_Last(long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_M_NotS_Last
public static KBArticle fetchByG_M_NotS_Last(long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_M_NotS_PrevAndNext
public static KBArticle[] findByG_M_NotS_PrevAndNext(long kbArticleId, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_M_NotS
Returns all the kb articles that the user has permission to view where groupId = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_M_NotS
public static List<KBArticle> filterFindByG_M_NotS(long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_M_NotS
public static List<KBArticle> filterFindByG_M_NotS(long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_M_NotS_PrevAndNext
public static KBArticle[] filterFindByG_M_NotS_PrevAndNext(long kbArticleId, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_M_NotS
public static void removeByG_M_NotS(long groupId, boolean main, int status) Removes all the kb articles where groupId = ? and main = ? and status ≠ ? from the database.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the status
-
countByG_M_NotS
public static int countByG_M_NotS(long groupId, boolean main, int status) Returns the number of kb articles where groupId = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_M_NotS
public static int filterCountByG_M_NotS(long groupId, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByC_L_NotS
Returns all the kb articles where companyId = ? and latest = ? and status ≠ ?.- Parameters:
companyId
- the company IDlatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByC_L_NotS
public static List<KBArticle> findByC_L_NotS(long companyId, boolean latest, int status, int start, int end) Returns a range of all the kb articles where companyId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByC_L_NotS
public static List<KBArticle> findByC_L_NotS(long companyId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where companyId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByC_L_NotS
public static List<KBArticle> findByC_L_NotS(long companyId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where companyId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByC_L_NotS_First
public static KBArticle findByC_L_NotS_First(long companyId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where companyId = ? and latest = ? and status ≠ ?.- Parameters:
companyId
- the company IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByC_L_NotS_First
public static KBArticle fetchByC_L_NotS_First(long companyId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and latest = ? and status ≠ ?.- Parameters:
companyId
- the company IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByC_L_NotS_Last
public static KBArticle findByC_L_NotS_Last(long companyId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where companyId = ? and latest = ? and status ≠ ?.- Parameters:
companyId
- the company IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByC_L_NotS_Last
public static KBArticle fetchByC_L_NotS_Last(long companyId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and latest = ? and status ≠ ?.- Parameters:
companyId
- the company IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByC_L_NotS_PrevAndNext
public static KBArticle[] findByC_L_NotS_PrevAndNext(long kbArticleId, long companyId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where companyId = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlecompanyId
- the company IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByC_L_NotS
public static void removeByC_L_NotS(long companyId, boolean latest, int status) Removes all the kb articles where companyId = ? and latest = ? and status ≠ ? from the database.- Parameters:
companyId
- the company IDlatest
- the lateststatus
- the status
-
countByC_L_NotS
public static int countByC_L_NotS(long companyId, boolean latest, int status) Returns the number of kb articles where companyId = ? and latest = ? and status ≠ ?.- Parameters:
companyId
- the company IDlatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
findByC_M_NotS
Returns all the kb articles where companyId = ? and main = ? and status ≠ ?.- Parameters:
companyId
- the company IDmain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByC_M_NotS
public static List<KBArticle> findByC_M_NotS(long companyId, boolean main, int status, int start, int end) Returns a range of all the kb articles where companyId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByC_M_NotS
public static List<KBArticle> findByC_M_NotS(long companyId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where companyId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByC_M_NotS
public static List<KBArticle> findByC_M_NotS(long companyId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where companyId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
companyId
- the company IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByC_M_NotS_First
public static KBArticle findByC_M_NotS_First(long companyId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where companyId = ? and main = ? and status ≠ ?.- Parameters:
companyId
- the company IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByC_M_NotS_First
public static KBArticle fetchByC_M_NotS_First(long companyId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where companyId = ? and main = ? and status ≠ ?.- Parameters:
companyId
- the company IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByC_M_NotS_Last
public static KBArticle findByC_M_NotS_Last(long companyId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where companyId = ? and main = ? and status ≠ ?.- Parameters:
companyId
- the company IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByC_M_NotS_Last
public static KBArticle fetchByC_M_NotS_Last(long companyId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where companyId = ? and main = ? and status ≠ ?.- Parameters:
companyId
- the company IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByC_M_NotS_PrevAndNext
public static KBArticle[] findByC_M_NotS_PrevAndNext(long kbArticleId, long companyId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where companyId = ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlecompanyId
- the company IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByC_M_NotS
public static void removeByC_M_NotS(long companyId, boolean main, int status) Removes all the kb articles where companyId = ? and main = ? and status ≠ ? from the database.- Parameters:
companyId
- the company IDmain
- the mainstatus
- the status
-
countByC_M_NotS
public static int countByC_M_NotS(long companyId, boolean main, int status) Returns the number of kb articles where companyId = ? and main = ? and status ≠ ?.- Parameters:
companyId
- the company IDmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
findByP_L_NotS
public static List<KBArticle> findByP_L_NotS(long parentResourcePrimKey, boolean latest, int status) Returns all the kb articles where parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByP_L_NotS
public static List<KBArticle> findByP_L_NotS(long parentResourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByP_L_NotS
public static List<KBArticle> findByP_L_NotS(long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByP_L_NotS
public static List<KBArticle> findByP_L_NotS(long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByP_L_NotS_First
public static KBArticle findByP_L_NotS_First(long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByP_L_NotS_First
public static KBArticle fetchByP_L_NotS_First(long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByP_L_NotS_Last
public static KBArticle findByP_L_NotS_Last(long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByP_L_NotS_Last
public static KBArticle fetchByP_L_NotS_Last(long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByP_L_NotS_PrevAndNext
public static KBArticle[] findByP_L_NotS_PrevAndNext(long kbArticleId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articleparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
findByP_L_NotS
public static List<KBArticle> findByP_L_NotS(long[] parentResourcePrimKeys, boolean latest, int status) Returns all the kb articles where parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByP_L_NotS
public static List<KBArticle> findByP_L_NotS(long[] parentResourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByP_L_NotS
public static List<KBArticle> findByP_L_NotS(long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByP_L_NotS
public static List<KBArticle> findByP_L_NotS(long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByP_L_NotS
public static void removeByP_L_NotS(long parentResourcePrimKey, boolean latest, int status) Removes all the kb articles where parentResourcePrimKey = ? and latest = ? and status ≠ ? from the database.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status
-
countByP_L_NotS
public static int countByP_L_NotS(long parentResourcePrimKey, boolean latest, int status) Returns the number of kb articles where parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
countByP_L_NotS
public static int countByP_L_NotS(long[] parentResourcePrimKeys, boolean latest, int status) Returns the number of kb articles where parentResourcePrimKey = any ? and latest = ? and status ≠ ?.- Parameters:
parentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
findByP_M_NotS
Returns all the kb articles where parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByP_M_NotS
public static List<KBArticle> findByP_M_NotS(long parentResourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByP_M_NotS
public static List<KBArticle> findByP_M_NotS(long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByP_M_NotS
public static List<KBArticle> findByP_M_NotS(long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByP_M_NotS_First
public static KBArticle findByP_M_NotS_First(long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByP_M_NotS_First
public static KBArticle fetchByP_M_NotS_First(long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByP_M_NotS_Last
public static KBArticle findByP_M_NotS_Last(long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByP_M_NotS_Last
public static KBArticle fetchByP_M_NotS_Last(long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByP_M_NotS_PrevAndNext
public static KBArticle[] findByP_M_NotS_PrevAndNext(long kbArticleId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articleparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
findByP_M_NotS
public static List<KBArticle> findByP_M_NotS(long[] parentResourcePrimKeys, boolean main, int status) Returns all the kb articles where parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByP_M_NotS
public static List<KBArticle> findByP_M_NotS(long[] parentResourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles where parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByP_M_NotS
public static List<KBArticle> findByP_M_NotS(long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByP_M_NotS
public static List<KBArticle> findByP_M_NotS(long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByP_M_NotS
public static void removeByP_M_NotS(long parentResourcePrimKey, boolean main, int status) Removes all the kb articles where parentResourcePrimKey = ? and main = ? and status ≠ ? from the database.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status
-
countByP_M_NotS
public static int countByP_M_NotS(long parentResourcePrimKey, boolean main, int status) Returns the number of kb articles where parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
parentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
countByP_M_NotS
public static int countByP_M_NotS(long[] parentResourcePrimKeys, boolean main, int status) Returns the number of kb articles where parentResourcePrimKey = any ? and main = ? and status ≠ ?.- Parameters:
parentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
findByR_G_L_NotS
public static List<KBArticle> findByR_G_L_NotS(long resourcePrimKey, long groupId, boolean latest, int status) Returns all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByR_G_L_NotS
public static List<KBArticle> findByR_G_L_NotS(long resourcePrimKey, long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_L_NotS
public static List<KBArticle> findByR_G_L_NotS(long resourcePrimKey, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_L_NotS
public static List<KBArticle> findByR_G_L_NotS(long resourcePrimKey, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_G_L_NotS_First
public static KBArticle findByR_G_L_NotS_First(long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_L_NotS_First
public static KBArticle fetchByR_G_L_NotS_First(long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_L_NotS_Last
public static KBArticle findByR_G_L_NotS_Last(long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_L_NotS_Last
public static KBArticle fetchByR_G_L_NotS_Last(long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_L_NotS_PrevAndNext
public static KBArticle[] findByR_G_L_NotS_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_L_NotS
public static List<KBArticle> filterFindByR_G_L_NotS(long resourcePrimKey, long groupId, boolean latest, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_L_NotS
public static List<KBArticle> filterFindByR_G_L_NotS(long resourcePrimKey, long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_L_NotS
public static List<KBArticle> filterFindByR_G_L_NotS(long resourcePrimKey, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByR_G_L_NotS_PrevAndNext
public static KBArticle[] filterFindByR_G_L_NotS_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_L_NotS
public static List<KBArticle> filterFindByR_G_L_NotS(long[] resourcePrimKeys, long groupId, boolean latest, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_L_NotS
public static List<KBArticle> filterFindByR_G_L_NotS(long[] resourcePrimKeys, long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_L_NotS
public static List<KBArticle> filterFindByR_G_L_NotS(long[] resourcePrimKeys, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByR_G_L_NotS
public static List<KBArticle> findByR_G_L_NotS(long[] resourcePrimKeys, long groupId, boolean latest, int status) Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByR_G_L_NotS
public static List<KBArticle> findByR_G_L_NotS(long[] resourcePrimKeys, long groupId, boolean latest, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_L_NotS
public static List<KBArticle> findByR_G_L_NotS(long[] resourcePrimKeys, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_L_NotS
public static List<KBArticle> findByR_G_L_NotS(long[] resourcePrimKeys, long groupId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByR_G_L_NotS
public static void removeByR_G_L_NotS(long resourcePrimKey, long groupId, boolean latest, int status) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ? from the database.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the status
-
countByR_G_L_NotS
public static int countByR_G_L_NotS(long resourcePrimKey, long groupId, boolean latest, int status) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
countByR_G_L_NotS
public static int countByR_G_L_NotS(long[] resourcePrimKeys, long groupId, boolean latest, int status) Returns the number of kb articles where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByR_G_L_NotS
public static int filterCountByR_G_L_NotS(long resourcePrimKey, long groupId, boolean latest, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByR_G_L_NotS
public static int filterCountByR_G_L_NotS(long[] resourcePrimKeys, long groupId, boolean latest, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and latest = ? and status ≠ ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByR_G_M_NotS
public static List<KBArticle> findByR_G_M_NotS(long resourcePrimKey, long groupId, boolean main, int status) Returns all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByR_G_M_NotS
public static List<KBArticle> findByR_G_M_NotS(long resourcePrimKey, long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_M_NotS
public static List<KBArticle> findByR_G_M_NotS(long resourcePrimKey, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_M_NotS
public static List<KBArticle> findByR_G_M_NotS(long resourcePrimKey, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByR_G_M_NotS_First
public static KBArticle findByR_G_M_NotS_First(long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_M_NotS_First
public static KBArticle fetchByR_G_M_NotS_First(long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_M_NotS_Last
public static KBArticle findByR_G_M_NotS_Last(long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByR_G_M_NotS_Last
public static KBArticle fetchByR_G_M_NotS_Last(long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByR_G_M_NotS_PrevAndNext
public static KBArticle[] findByR_G_M_NotS_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_M_NotS
public static List<KBArticle> filterFindByR_G_M_NotS(long resourcePrimKey, long groupId, boolean main, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_M_NotS
public static List<KBArticle> filterFindByR_G_M_NotS(long resourcePrimKey, long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_M_NotS
public static List<KBArticle> filterFindByR_G_M_NotS(long resourcePrimKey, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where resourcePrimKey = ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByR_G_M_NotS_PrevAndNext
public static KBArticle[] filterFindByR_G_M_NotS_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByR_G_M_NotS
public static List<KBArticle> filterFindByR_G_M_NotS(long[] resourcePrimKeys, long groupId, boolean main, int status) Returns all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByR_G_M_NotS
public static List<KBArticle> filterFindByR_G_M_NotS(long[] resourcePrimKeys, long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByR_G_M_NotS
public static List<KBArticle> filterFindByR_G_M_NotS(long[] resourcePrimKeys, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByR_G_M_NotS
public static List<KBArticle> findByR_G_M_NotS(long[] resourcePrimKeys, long groupId, boolean main, int status) Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByR_G_M_NotS
public static List<KBArticle> findByR_G_M_NotS(long[] resourcePrimKeys, long groupId, boolean main, int status, int start, int end) Returns a range of all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByR_G_M_NotS
public static List<KBArticle> findByR_G_M_NotS(long[] resourcePrimKeys, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByR_G_M_NotS
public static List<KBArticle> findByR_G_M_NotS(long[] resourcePrimKeys, long groupId, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByR_G_M_NotS
public static void removeByR_G_M_NotS(long resourcePrimKey, long groupId, boolean main, int status) Removes all the kb articles where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ? from the database.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the status
-
countByR_G_M_NotS
public static int countByR_G_M_NotS(long resourcePrimKey, long groupId, boolean main, int status) Returns the number of kb articles where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
countByR_G_M_NotS
public static int countByR_G_M_NotS(long[] resourcePrimKeys, long groupId, boolean main, int status) Returns the number of kb articles where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByR_G_M_NotS
public static int filterCountByR_G_M_NotS(long resourcePrimKey, long groupId, boolean main, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByR_G_M_NotS
public static int filterCountByR_G_M_NotS(long[] resourcePrimKeys, long groupId, boolean main, int status) Returns the number of kb articles that the user has permission to view where resourcePrimKey = any ? and groupId = ? and main = ? and status ≠ ?.- Parameters:
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_P_L_S
public static List<KBArticle> findByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByG_P_L_S
public static List<KBArticle> findByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_L_S
public static List<KBArticle> findByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_L_S
public static List<KBArticle> findByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_P_L_S_First
public static KBArticle findByG_P_L_S_First(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_L_S_First
public static KBArticle fetchByG_P_L_S_First(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_L_S_Last
public static KBArticle findByG_P_L_S_Last(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_L_S_Last
public static KBArticle fetchByG_P_L_S_Last(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_L_S_PrevAndNext
public static KBArticle[] findByG_P_L_S_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_L_S
public static List<KBArticle> filterFindByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_L_S
public static List<KBArticle> filterFindByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_L_S
public static List<KBArticle> filterFindByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_P_L_S_PrevAndNext
public static KBArticle[] filterFindByG_P_L_S_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_L_S
public static List<KBArticle> filterFindByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_L_S
public static List<KBArticle> filterFindByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_L_S
public static List<KBArticle> filterFindByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_P_L_S
public static List<KBArticle> findByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByG_P_L_S
public static List<KBArticle> findByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_L_S
public static List<KBArticle> findByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_L_S
public static List<KBArticle> findByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_P_L_S
public static void removeByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ? from the database.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status
-
countByG_P_L_S
public static int countByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
countByG_P_L_S
public static int countByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_P_L_S
public static int filterCountByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_P_L_S
public static int filterCountByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_P_L_NotS
public static List<KBArticle> findByG_P_L_NotS(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByG_P_L_NotS
public static List<KBArticle> findByG_P_L_NotS(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_L_NotS
public static List<KBArticle> findByG_P_L_NotS(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_L_NotS
public static List<KBArticle> findByG_P_L_NotS(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_P_L_NotS_First
public static KBArticle findByG_P_L_NotS_First(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_L_NotS_First
public static KBArticle fetchByG_P_L_NotS_First(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_L_NotS_Last
public static KBArticle findByG_P_L_NotS_Last(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_L_NotS_Last
public static KBArticle fetchByG_P_L_NotS_Last(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_L_NotS_PrevAndNext
public static KBArticle[] findByG_P_L_NotS_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_L_NotS
public static List<KBArticle> filterFindByG_P_L_NotS(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_L_NotS
public static List<KBArticle> filterFindByG_P_L_NotS(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_L_NotS
public static List<KBArticle> filterFindByG_P_L_NotS(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_P_L_NotS_PrevAndNext
public static KBArticle[] filterFindByG_P_L_NotS_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_L_NotS
public static List<KBArticle> filterFindByG_P_L_NotS(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_L_NotS
public static List<KBArticle> filterFindByG_P_L_NotS(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_L_NotS
public static List<KBArticle> filterFindByG_P_L_NotS(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_P_L_NotS
public static List<KBArticle> findByG_P_L_NotS(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByG_P_L_NotS
public static List<KBArticle> findByG_P_L_NotS(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_L_NotS
public static List<KBArticle> findByG_P_L_NotS(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_L_NotS
public static List<KBArticle> findByG_P_L_NotS(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_P_L_NotS
public static void removeByG_P_L_NotS(long groupId, long parentResourcePrimKey, boolean latest, int status) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ? from the database.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status
-
countByG_P_L_NotS
public static int countByG_P_L_NotS(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
countByG_P_L_NotS
public static int countByG_P_L_NotS(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_P_L_NotS
public static int filterCountByG_P_L_NotS(long groupId, long parentResourcePrimKey, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_P_L_NotS
public static int filterCountByG_P_L_NotS(long groupId, long[] parentResourcePrimKeys, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_P_M_S
public static List<KBArticle> findByG_P_M_S(long groupId, long parentResourcePrimKey, boolean main, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByG_P_M_S
public static List<KBArticle> findByG_P_M_S(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_M_S
public static List<KBArticle> findByG_P_M_S(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_M_S
public static List<KBArticle> findByG_P_M_S(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_P_M_S_First
public static KBArticle findByG_P_M_S_First(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_M_S_First
public static KBArticle fetchByG_P_M_S_First(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_M_S_Last
public static KBArticle findByG_P_M_S_Last(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_M_S_Last
public static KBArticle fetchByG_P_M_S_Last(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_M_S_PrevAndNext
public static KBArticle[] findByG_P_M_S_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_M_S
public static List<KBArticle> filterFindByG_P_M_S(long groupId, long parentResourcePrimKey, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_M_S
public static List<KBArticle> filterFindByG_P_M_S(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_M_S
public static List<KBArticle> filterFindByG_P_M_S(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_P_M_S_PrevAndNext
public static KBArticle[] filterFindByG_P_M_S_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_M_S
public static List<KBArticle> filterFindByG_P_M_S(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_M_S
public static List<KBArticle> filterFindByG_P_M_S(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_M_S
public static List<KBArticle> filterFindByG_P_M_S(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_P_M_S
public static List<KBArticle> findByG_P_M_S(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByG_P_M_S
public static List<KBArticle> findByG_P_M_S(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_M_S
public static List<KBArticle> findByG_P_M_S(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_M_S
public static List<KBArticle> findByG_P_M_S(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_P_M_S
public static void removeByG_P_M_S(long groupId, long parentResourcePrimKey, boolean main, int status) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ? from the database.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status
-
countByG_P_M_S
public static int countByG_P_M_S(long groupId, long parentResourcePrimKey, boolean main, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
countByG_P_M_S
public static int countByG_P_M_S(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_P_M_S
public static int filterCountByG_P_M_S(long groupId, long parentResourcePrimKey, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_P_M_S
public static int filterCountByG_P_M_S(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status = ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_P_M_NotS
public static List<KBArticle> findByG_P_M_NotS(long groupId, long parentResourcePrimKey, boolean main, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByG_P_M_NotS
public static List<KBArticle> findByG_P_M_NotS(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_M_NotS
public static List<KBArticle> findByG_P_M_NotS(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_M_NotS
public static List<KBArticle> findByG_P_M_NotS(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_P_M_NotS_First
public static KBArticle findByG_P_M_NotS_First(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_M_NotS_First
public static KBArticle fetchByG_P_M_NotS_First(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_M_NotS_Last
public static KBArticle findByG_P_M_NotS_Last(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_P_M_NotS_Last
public static KBArticle fetchByG_P_M_NotS_Last(long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_P_M_NotS_PrevAndNext
public static KBArticle[] findByG_P_M_NotS_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_M_NotS
public static List<KBArticle> filterFindByG_P_M_NotS(long groupId, long parentResourcePrimKey, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_M_NotS
public static List<KBArticle> filterFindByG_P_M_NotS(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_M_NotS
public static List<KBArticle> filterFindByG_P_M_NotS(long groupId, long parentResourcePrimKey, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_P_M_NotS_PrevAndNext
public static KBArticle[] filterFindByG_P_M_NotS_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_P_M_NotS
public static List<KBArticle> filterFindByG_P_M_NotS(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_P_M_NotS
public static List<KBArticle> filterFindByG_P_M_NotS(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_P_M_NotS
public static List<KBArticle> filterFindByG_P_M_NotS(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_P_M_NotS
public static List<KBArticle> findByG_P_M_NotS(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByG_P_M_NotS
public static List<KBArticle> findByG_P_M_NotS(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_P_M_NotS
public static List<KBArticle> findByG_P_M_NotS(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_P_M_NotS
public static List<KBArticle> findByG_P_M_NotS(long groupId, long[] parentResourcePrimKeys, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_P_M_NotS
public static void removeByG_P_M_NotS(long groupId, long parentResourcePrimKey, boolean main, int status) Removes all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ? from the database.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status
-
countByG_P_M_NotS
public static int countByG_P_M_NotS(long groupId, long parentResourcePrimKey, boolean main, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
countByG_P_M_NotS
public static int countByG_P_M_NotS(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns the number of kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_P_M_NotS
public static int filterCountByG_P_M_NotS(long groupId, long parentResourcePrimKey, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_P_M_NotS
public static int filterCountByG_P_M_NotS(long groupId, long[] parentResourcePrimKeys, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and parentResourcePrimKey = any ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_KBFI_UT_ST
public static List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int status) Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the status- Returns:
- the matching kb articles
-
findByG_KBFI_UT_ST
public static List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_KBFI_UT_ST
public static List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_UT_ST
public static List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_UT_ST_First
public static KBArticle findByG_KBFI_UT_ST_First(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_UT_ST_First
public static KBArticle fetchByG_KBFI_UT_ST_First(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_UT_ST_Last
public static KBArticle findByG_KBFI_UT_ST_Last(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_UT_ST_Last
public static KBArticle fetchByG_KBFI_UT_ST_Last(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_UT_ST_PrevAndNext
public static KBArticle[] findByG_KBFI_UT_ST_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_KBFI_UT_ST
public static List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int status) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT_ST
public static List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT_ST
public static List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT_ST_PrevAndNext
public static KBArticle[] filterFindByG_KBFI_UT_ST_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_KBFI_UT_ST
public static List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int[] statuses) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statuses- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT_ST
public static List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int[] statuses, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statusesstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT_ST
public static List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statusesstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_KBFI_UT_ST
public static List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int[] statuses) Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statuses- Returns:
- the matching kb articles
-
findByG_KBFI_UT_ST
public static List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int[] statuses, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statusesstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_KBFI_UT_ST
public static List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statusesstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_UT_ST
public static List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statusesstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_KBFI_UT_ST
Removes all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ? from the database.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the status
-
countByG_KBFI_UT_ST
Returns the number of kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the status- Returns:
- the number of matching kb articles
-
countByG_KBFI_UT_ST
public static int countByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int[] statuses) Returns the number of kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statuses- Returns:
- the number of matching kb articles
-
filterCountByG_KBFI_UT_ST
public static int filterCountByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_KBFI_UT_ST
public static int filterCountByG_KBFI_UT_ST(long groupId, long kbFolderId, String urlTitle, int[] statuses) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statuses- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_KBFI_UT_NotS
public static List<KBArticle> findByG_KBFI_UT_NotS(long groupId, long kbFolderId, String urlTitle, int status) Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the status- Returns:
- the matching kb articles
-
findByG_KBFI_UT_NotS
public static List<KBArticle> findByG_KBFI_UT_NotS(long groupId, long kbFolderId, String urlTitle, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_KBFI_UT_NotS
public static List<KBArticle> findByG_KBFI_UT_NotS(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_UT_NotS
public static List<KBArticle> findByG_KBFI_UT_NotS(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_UT_NotS_First
public static KBArticle findByG_KBFI_UT_NotS_First(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_UT_NotS_First
public static KBArticle fetchByG_KBFI_UT_NotS_First(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_UT_NotS_Last
public static KBArticle findByG_KBFI_UT_NotS_Last(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_UT_NotS_Last
public static KBArticle fetchByG_KBFI_UT_NotS_Last(long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_UT_NotS_PrevAndNext
public static KBArticle[] findByG_KBFI_UT_NotS_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_KBFI_UT_NotS
public static List<KBArticle> filterFindByG_KBFI_UT_NotS(long groupId, long kbFolderId, String urlTitle, int status) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT_NotS
public static List<KBArticle> filterFindByG_KBFI_UT_NotS(long groupId, long kbFolderId, String urlTitle, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT_NotS
public static List<KBArticle> filterFindByG_KBFI_UT_NotS(long groupId, long kbFolderId, String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and urlTitle = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_UT_NotS_PrevAndNext
public static KBArticle[] filterFindByG_KBFI_UT_NotS_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_KBFI_UT_NotS
public static void removeByG_KBFI_UT_NotS(long groupId, long kbFolderId, String urlTitle, int status) Removes all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ? from the database.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the status
-
countByG_KBFI_UT_NotS
Returns the number of kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_KBFI_UT_NotS
public static int filterCountByG_KBFI_UT_NotS(long groupId, long kbFolderId, String urlTitle, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_KBFI_L_NotS
public static List<KBArticle> findByG_KBFI_L_NotS(long groupId, long kbFolderId, boolean latest, int status) Returns all the kb articles where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByG_KBFI_L_NotS
public static List<KBArticle> findByG_KBFI_L_NotS(long groupId, long kbFolderId, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_KBFI_L_NotS
public static List<KBArticle> findByG_KBFI_L_NotS(long groupId, long kbFolderId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_L_NotS
public static List<KBArticle> findByG_KBFI_L_NotS(long groupId, long kbFolderId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and kbFolderId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_KBFI_L_NotS_First
public static KBArticle findByG_KBFI_L_NotS_First(long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_L_NotS_First
public static KBArticle fetchByG_KBFI_L_NotS_First(long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_L_NotS_Last
public static KBArticle findByG_KBFI_L_NotS_Last(long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_KBFI_L_NotS_Last
public static KBArticle fetchByG_KBFI_L_NotS_Last(long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_KBFI_L_NotS_PrevAndNext
public static KBArticle[] findByG_KBFI_L_NotS_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_KBFI_L_NotS
public static List<KBArticle> filterFindByG_KBFI_L_NotS(long groupId, long kbFolderId, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_KBFI_L_NotS
public static List<KBArticle> filterFindByG_KBFI_L_NotS(long groupId, long kbFolderId, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_L_NotS
public static List<KBArticle> filterFindByG_KBFI_L_NotS(long groupId, long kbFolderId, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and kbFolderId = ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_KBFI_L_NotS_PrevAndNext
public static KBArticle[] filterFindByG_KBFI_L_NotS_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
removeByG_KBFI_L_NotS
public static void removeByG_KBFI_L_NotS(long groupId, long kbFolderId, boolean latest, int status) Removes all the kb articles where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ? from the database.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the status
-
countByG_KBFI_L_NotS
public static int countByG_KBFI_L_NotS(long groupId, long kbFolderId, boolean latest, int status) Returns the number of kb articles where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_KBFI_L_NotS
public static int filterCountByG_KBFI_L_NotS(long groupId, long kbFolderId, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_LikeS_L_NotS
public static List<KBArticle> findByG_LikeS_L_NotS(long groupId, String sections, boolean latest, int status) Returns all the kb articles where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByG_LikeS_L_NotS
public static List<KBArticle> findByG_LikeS_L_NotS(long groupId, String sections, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_LikeS_L_NotS
public static List<KBArticle> findByG_LikeS_L_NotS(long groupId, String sections, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_L_NotS
public static List<KBArticle> findByG_LikeS_L_NotS(long groupId, String sections, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_L_NotS_First
public static KBArticle findByG_LikeS_L_NotS_First(long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_LikeS_L_NotS_First
public static KBArticle fetchByG_LikeS_L_NotS_First(long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_LikeS_L_NotS_Last
public static KBArticle findByG_LikeS_L_NotS_Last(long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_LikeS_L_NotS_Last
public static KBArticle fetchByG_LikeS_L_NotS_Last(long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_LikeS_L_NotS_PrevAndNext
public static KBArticle[] findByG_LikeS_L_NotS_PrevAndNext(long kbArticleId, long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_LikeS_L_NotS
public static List<KBArticle> filterFindByG_LikeS_L_NotS(long groupId, String sections, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_LikeS_L_NotS
public static List<KBArticle> filterFindByG_LikeS_L_NotS(long groupId, String sections, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_L_NotS
public static List<KBArticle> filterFindByG_LikeS_L_NotS(long groupId, String sections, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and sections LIKE ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_L_NotS_PrevAndNext
public static KBArticle[] filterFindByG_LikeS_L_NotS_PrevAndNext(long kbArticleId, long groupId, String sections, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_LikeS_L_NotS
public static List<KBArticle> filterFindByG_LikeS_L_NotS(long groupId, String[] sectionses, boolean latest, int status) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_LikeS_L_NotS
public static List<KBArticle> filterFindByG_LikeS_L_NotS(long groupId, String[] sectionses, boolean latest, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_L_NotS
public static List<KBArticle> filterFindByG_LikeS_L_NotS(long groupId, String[] sectionses, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_LikeS_L_NotS
public static List<KBArticle> findByG_LikeS_L_NotS(long groupId, String[] sectionses, boolean latest, int status) Returns all the kb articles where groupId = ? and sections LIKE any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststatus
- the status- Returns:
- the matching kb articles
-
findByG_LikeS_L_NotS
public static List<KBArticle> findByG_LikeS_L_NotS(long groupId, String[] sectionses, boolean latest, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_LikeS_L_NotS
public static List<KBArticle> findByG_LikeS_L_NotS(long groupId, String[] sectionses, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE any ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_L_NotS
public static List<KBArticle> findByG_LikeS_L_NotS(long groupId, String[] sectionses, boolean latest, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and latest = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_LikeS_L_NotS
public static void removeByG_LikeS_L_NotS(long groupId, String sections, boolean latest, int status) Removes all the kb articles where groupId = ? and sections LIKE ? and latest = ? and status ≠ ? from the database.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the status
-
countByG_LikeS_L_NotS
Returns the number of kb articles where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
countByG_LikeS_L_NotS
public static int countByG_LikeS_L_NotS(long groupId, String[] sectionses, boolean latest, int status) Returns the number of kb articles where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_LikeS_L_NotS
public static int filterCountByG_LikeS_L_NotS(long groupId, String sections, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionslatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_LikeS_L_NotS
public static int filterCountByG_LikeS_L_NotS(long groupId, String[] sectionses, boolean latest, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ? and status ≠ ?.- Parameters:
groupId
- the group IDsectionses
- the sectionseslatest
- the lateststatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
findByG_LikeS_M_NotS
public static List<KBArticle> findByG_LikeS_M_NotS(long groupId, String sections, boolean main, int status) Returns all the kb articles where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByG_LikeS_M_NotS
public static List<KBArticle> findByG_LikeS_M_NotS(long groupId, String sections, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_LikeS_M_NotS
public static List<KBArticle> findByG_LikeS_M_NotS(long groupId, String sections, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_M_NotS
public static List<KBArticle> findByG_LikeS_M_NotS(long groupId, String sections, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_M_NotS_First
public static KBArticle findByG_LikeS_M_NotS_First(long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_LikeS_M_NotS_First
public static KBArticle fetchByG_LikeS_M_NotS_First(long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the first kb article in the ordered set where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb article, or
null
if a matching kb article could not be found
-
findByG_LikeS_M_NotS_Last
public static KBArticle findByG_LikeS_M_NotS_Last(long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article
- Throws:
NoSuchArticleException
- if a matching kb article could not be foundNoSuchArticleException
-
fetchByG_LikeS_M_NotS_Last
public static KBArticle fetchByG_LikeS_M_NotS_Last(long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns the last kb article in the ordered set where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb article, or
null
if a matching kb article could not be found
-
findByG_LikeS_M_NotS_PrevAndNext
public static KBArticle[] findByG_LikeS_M_NotS_PrevAndNext(long kbArticleId, long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_LikeS_M_NotS
public static List<KBArticle> filterFindByG_LikeS_M_NotS(long groupId, String sections, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_LikeS_M_NotS
public static List<KBArticle> filterFindByG_LikeS_M_NotS(long groupId, String sections, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_M_NotS
public static List<KBArticle> filterFindByG_LikeS_M_NotS(long groupId, String sections, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permissions to view where groupId = ? and sections LIKE ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_M_NotS_PrevAndNext
public static KBArticle[] filterFindByG_LikeS_M_NotS_PrevAndNext(long kbArticleId, long groupId, String sections, boolean main, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException Returns the kb articles before and after the current kb article in the ordered set of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.- Parameters:
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
filterFindByG_LikeS_M_NotS
public static List<KBArticle> filterFindByG_LikeS_M_NotS(long groupId, String[] sectionses, boolean main, int status) Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstatus
- the status- Returns:
- the matching kb articles that the user has permission to view
-
filterFindByG_LikeS_M_NotS
public static List<KBArticle> filterFindByG_LikeS_M_NotS(long groupId, String[] sectionses, boolean main, int status, int start, int end) Returns a range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles that the user has permission to view
-
filterFindByG_LikeS_M_NotS
public static List<KBArticle> filterFindByG_LikeS_M_NotS(long groupId, String[] sectionses, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles that the user has permission to view
-
findByG_LikeS_M_NotS
public static List<KBArticle> findByG_LikeS_M_NotS(long groupId, String[] sectionses, boolean main, int status) Returns all the kb articles where groupId = ? and sections LIKE any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstatus
- the status- Returns:
- the matching kb articles
-
findByG_LikeS_M_NotS
public static List<KBArticle> findByG_LikeS_M_NotS(long groupId, String[] sectionses, boolean main, int status, int start, int end) Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of matching kb articles
-
findByG_LikeS_M_NotS
public static List<KBArticle> findByG_LikeS_M_NotS(long groupId, String[] sectionses, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE any ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb articles
-
findByG_LikeS_M_NotS
public static List<KBArticle> findByG_LikeS_M_NotS(long groupId, String[] sectionses, boolean main, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles where groupId = ? and sections LIKE ? and main = ? 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 fromKBArticleModelImpl
.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstatus
- the statusstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb articles
-
removeByG_LikeS_M_NotS
Removes all the kb articles where groupId = ? and sections LIKE ? and main = ? and status ≠ ? from the database.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the status
-
countByG_LikeS_M_NotS
Returns the number of kb articles where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
countByG_LikeS_M_NotS
public static int countByG_LikeS_M_NotS(long groupId, String[] sectionses, boolean main, int status) Returns the number of kb articles where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles
-
filterCountByG_LikeS_M_NotS
public static int filterCountByG_LikeS_M_NotS(long groupId, String sections, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsections
- the sectionsmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
filterCountByG_LikeS_M_NotS
public static int filterCountByG_LikeS_M_NotS(long groupId, String[] sectionses, boolean main, int status) Returns the number of kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ? and status ≠ ?.- Parameters:
groupId
- the group IDsectionses
- the sectionsesmain
- the mainstatus
- the status- Returns:
- the number of matching kb articles that the user has permission to view
-
cacheResult
Caches the kb article in the entity cache if it is enabled.- Parameters:
kbArticle
- the kb article
-
cacheResult
Caches the kb articles in the entity cache if it is enabled.- Parameters:
kbArticles
- the kb articles
-
create
Creates a new kb article with the primary key. Does not add the kb article to the database.- Parameters:
kbArticleId
- the primary key for the new kb article- Returns:
- the new kb article
-
remove
Removes the kb article with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kbArticleId
- the primary key of the kb article- Returns:
- the kb article that was removed
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
updateImpl
-
findByPrimaryKey
Returns the kb article with the primary key or throws aNoSuchArticleException
if it could not be found.- Parameters:
kbArticleId
- the primary key of the kb article- Returns:
- the kb article
- Throws:
NoSuchArticleException
- if a kb article with the primary key could not be foundNoSuchArticleException
-
fetchByPrimaryKey
Returns the kb article with the primary key or returnsnull
if it could not be found.- Parameters:
kbArticleId
- the primary key of the kb article- Returns:
- the kb article, or
null
if a kb article with the primary key could not be found
-
findAll
Returns all the kb articles.- Returns:
- the kb articles
-
findAll
Returns a range of all the kb articles.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 fromKBArticleModelImpl
.- Parameters:
start
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)- Returns:
- the range of kb articles
-
findAll
public static List<KBArticle> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) Returns an ordered range of all the kb articles.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 fromKBArticleModelImpl
.- Parameters:
start
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of kb articles
-
findAll
public static List<KBArticle> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb articles.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 fromKBArticleModelImpl
.- Parameters:
start
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kb articles
-
removeAll
public static void removeAll()Removes all the kb articles from the database. -
countAll
public static int countAll()Returns the number of kb articles.- Returns:
- the number of kb articles
-
getPersistence
-
setPersistence
-