public class KBArticleUtil
extends java.lang.Object
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
KBArticlePersistence
Constructor and Description |
---|
KBArticleUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KBArticle kbArticle)
Caches the kb article in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KBArticle> kbArticles)
Caches the kb articles in the entity cache if it is enabled.
|
static void |
clearCache() |
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_M(long companyId,
boolean main)
Returns the number of kb articles where companyId = ? and main = ?.
|
static int |
countByC_S(long companyId,
int status)
Returns the number of kb articles where companyId = ? and status = ?.
|
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_S(long groupId,
long kbFolderId,
int status)
Returns the number of kb articles where groupId = ? and kbFolderId = ? and status = ?.
|
static int |
countByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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,
java.lang.String urlTitle,
int[] statuses)
Returns the number of kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.
|
static int |
countByG_KBFI_UT(long groupId,
long kbFolderId,
java.lang.String urlTitle)
Returns the number of kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.
|
static int |
countByG_L(long groupId,
boolean latest)
Returns the number of kb articles where groupId = ? and latest = ?.
|
static int |
countByG_M(long groupId,
boolean main)
Returns the number of kb articles where groupId = ? and main = ?.
|
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_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_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_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_L(long groupId,
java.lang.String[] sectionses,
boolean latest)
Returns the number of kb articles where groupId = ? and sections LIKE any ? and latest = ?.
|
static int |
countByG_S_L(long groupId,
java.lang.String sections,
boolean latest)
Returns the number of kb articles where groupId = ? and sections LIKE ? and latest = ?.
|
static int |
countByG_S_M(long groupId,
java.lang.String[] sectionses,
boolean main)
Returns the number of kb articles where groupId = ? and sections LIKE any ? and main = ?.
|
static int |
countByG_S_M(long groupId,
java.lang.String sections,
boolean main)
Returns the number of kb articles where groupId = ? and sections LIKE ? and main = ?.
|
static int |
countByG_S_S(long groupId,
java.lang.String[] sectionses,
int status)
Returns the number of kb articles where groupId = ? and sections LIKE any ? and status = ?.
|
static int |
countByG_S_S(long groupId,
java.lang.String sections,
int status)
Returns the number of kb articles where groupId = ? and sections LIKE ? and status = ?.
|
static int |
countByG_S(long groupId,
int status)
Returns the number of kb articles where groupId = ? 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_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_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_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_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_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_G(long resourcePrimKey,
long groupId)
Returns the number of kb articles where resourcePrimKey = ? and groupId = ?.
|
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_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_S(long[] resourcePrimKeys,
int status)
Returns the number of kb articles where resourcePrimKey = any ? and status = ?.
|
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_C(java.lang.String uuid,
long companyId)
Returns the number of kb articles where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of kb articles where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of kb articles where uuid = ?.
|
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_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_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_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_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,
java.lang.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,
java.lang.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_ST_First(long groupId,
long kbFolderId,
java.lang.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,
java.lang.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_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_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_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_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_L_First(long groupId,
java.lang.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_S_L_Last(long groupId,
java.lang.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_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 |
fetchByG_S_M_First(long groupId,
java.lang.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_S_M_Last(long groupId,
java.lang.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_S_S_First(long groupId,
java.lang.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_S_S_Last(long groupId,
java.lang.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 |
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_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_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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KBArticle> |
fetchByPrimaryKeys(java.util.Set<java.io.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_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_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 returns
null 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 returns
null 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_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_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 returns
null 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 returns
null 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(java.lang.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(java.lang.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(java.lang.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(java.lang.String uuid,
long groupId)
Returns the kb article where uuid = ? and groupId = ? or returns
null if it could not be found. |
static KBArticle |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the kb article where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static KBArticle |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Returns the last kb article in the ordered set where uuid = ?.
|
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_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_ST(long groupId,
long kbFolderId,
java.lang.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,
java.lang.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_KBFI_UT(long groupId,
long kbFolderId,
java.lang.String urlTitle)
Returns the number of kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ?.
|
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_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_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_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_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_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_L(long groupId,
java.lang.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_S_L(long groupId,
java.lang.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_S_M(long groupId,
java.lang.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_S_M(long groupId,
java.lang.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_S_S(long groupId,
java.lang.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_S_S(long groupId,
java.lang.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_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_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_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_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 = ?.
|
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 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 = ?.
|
static java.util.List<KBArticle> |
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static KBArticle[] |
filterFindByG_KBFI_UT_PrevAndNext(long kbArticleId,
long groupId,
long kbFolderId,
java.lang.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 = ?.
|
static KBArticle[] |
filterFindByG_KBFI_UT_ST_PrevAndNext(long kbArticleId,
long groupId,
long kbFolderId,
java.lang.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 java.util.List<KBArticle> |
filterFindByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.String urlTitle,
int status)
Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.
|
static java.util.List<KBArticle> |
filterFindByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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 ?.
|
static java.util.List<KBArticle> |
filterFindByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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 ?.
|
static java.util.List<KBArticle> |
filterFindByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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 ?.
|
static java.util.List<KBArticle> |
filterFindByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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 java.util.List<KBArticle> |
filterFindByG_KBFI_UT(long groupId,
long kbFolderId,
java.lang.String urlTitle)
Returns all the kb articles that the user has permission to view where groupId = ? and kbFolderId = ? and urlTitle = ?.
|
static java.util.List<KBArticle> |
filterFindByG_KBFI_UT(long groupId,
long kbFolderId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_KBFI_UT(long groupId,
long kbFolderId,
java.lang.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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_L(long groupId,
boolean latest)
Returns all the kb articles that the user has permission to view where groupId = ? and latest = ?.
|
static java.util.List<KBArticle> |
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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_M(long groupId,
boolean main)
Returns all the kb articles that the user has permission to view where groupId = ? and main = ?.
|
static java.util.List<KBArticle> |
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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static KBArticle[] |
filterFindByG_S_L_PrevAndNext(long kbArticleId,
long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_L(long groupId,
java.lang.String[] sectionses,
boolean latest)
Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and latest = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_L(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_L(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_L(long groupId,
java.lang.String sections,
boolean latest)
Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and latest = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_L(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_L(long groupId,
java.lang.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 = ?.
|
static KBArticle[] |
filterFindByG_S_M_PrevAndNext(long kbArticleId,
long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_M(long groupId,
java.lang.String[] sectionses,
boolean main)
Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and main = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_M(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_M(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_M(long groupId,
java.lang.String sections,
boolean main)
Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and main = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_M(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_M(long groupId,
java.lang.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 = ?.
|
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 = ?.
|
static KBArticle[] |
filterFindByG_S_S_PrevAndNext(long kbArticleId,
long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_S(long groupId,
java.lang.String[] sectionses,
int status)
Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE any ? and status = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_S(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_S(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_S(long groupId,
java.lang.String sections,
int status)
Returns all the kb articles that the user has permission to view where groupId = ? and sections LIKE ? and status = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_S(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByG_S_S(long groupId,
java.lang.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 java.util.List<KBArticle> |
filterFindByG_S(long groupId,
int status)
Returns all the kb articles that the user has permission to view where groupId = ? and status = ?.
|
static java.util.List<KBArticle> |
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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.List<KBArticle> |
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.List<KBArticle> |
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.List<KBArticle> |
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.List<KBArticle> |
filterFindByR_G(long resourcePrimKey,
long groupId)
Returns all the kb articles that the user has permission to view where resourcePrimKey = ? and groupId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.List<KBArticle> |
findAll()
Returns all the kb articles.
|
static java.util.List<KBArticle> |
findAll(int start,
int end)
Returns a range of all the kb articles.
|
static java.util.List<KBArticle> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Returns an ordered range of all the kb articles.
|
static java.util.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.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByC_L(long companyId,
boolean latest)
Returns all the kb articles where companyId = ? and latest = ?.
|
static java.util.List<KBArticle> |
findByC_L(long companyId,
boolean latest,
int start,
int end)
Returns a range of all the kb articles where companyId = ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByC_M(long companyId,
boolean main)
Returns all the kb articles where companyId = ? and main = ?.
|
static java.util.List<KBArticle> |
findByC_M(long companyId,
boolean main,
int start,
int end)
Returns a range of all the kb articles where companyId = ? and main = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByC_S(long companyId,
int status)
Returns all the kb articles where companyId = ? and status = ?.
|
static java.util.List<KBArticle> |
findByC_S(long companyId,
int status,
int start,
int end)
Returns a range of all the kb articles where companyId = ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_L(long groupId,
long kbFolderId,
boolean latest)
Returns all the kb articles where groupId = ? and kbFolderId = ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_S(long groupId,
long kbFolderId,
int status)
Returns all the kb articles where groupId = ? and kbFolderId = ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static KBArticle |
findByG_KBFI_UT_First(long groupId,
long kbFolderId,
java.lang.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,
java.lang.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[] |
findByG_KBFI_UT_PrevAndNext(long kbArticleId,
long groupId,
long kbFolderId,
java.lang.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 = ?.
|
static KBArticle |
findByG_KBFI_UT_ST_First(long groupId,
long kbFolderId,
java.lang.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,
java.lang.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,
java.lang.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 java.util.List<KBArticle> |
findByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.String urlTitle,
int status)
Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.String urlTitle,
int[] statuses)
Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = any ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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 ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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 ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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.
|
static java.util.List<KBArticle> |
findByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.String urlTitle,
int status,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? and status = ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_UT_ST(long groupId,
long kbFolderId,
java.lang.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 java.util.List<KBArticle> |
findByG_KBFI_UT(long groupId,
long kbFolderId,
java.lang.String urlTitle)
Returns all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_UT(long groupId,
long kbFolderId,
java.lang.String urlTitle,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_UT(long groupId,
long kbFolderId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_KBFI_UT(long groupId,
long kbFolderId,
java.lang.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_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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByG_L(long groupId,
boolean latest)
Returns all the kb articles where groupId = ? and latest = ?.
|
static java.util.List<KBArticle> |
findByG_L(long groupId,
boolean latest,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByG_M(long groupId,
boolean main)
Returns all the kb articles where groupId = ? and main = ?.
|
static java.util.List<KBArticle> |
findByG_M(long groupId,
boolean main,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and main = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.List<KBArticle> |
findByG_P_L(long groupId,
long[] parentResourcePrimKeys,
boolean latest)
Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByG_P_L(long groupId,
long parentResourcePrimKey,
boolean latest)
Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByG_P_M(long groupId,
long[] parentResourcePrimKeys,
boolean main)
Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and main = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByG_P_M(long groupId,
long parentResourcePrimKey,
boolean main)
Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and main = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByG_P_S(long groupId,
long[] parentResourcePrimKeys,
int status)
Returns all the kb articles where groupId = ? and parentResourcePrimKey = any ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByG_P_S(long groupId,
long parentResourcePrimKey,
int status)
Returns all the kb articles where groupId = ? and parentResourcePrimKey = ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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_L_First(long groupId,
java.lang.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_S_L_Last(long groupId,
java.lang.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[] |
findByG_S_L_PrevAndNext(long kbArticleId,
long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_S_L(long groupId,
java.lang.String[] sectionses,
boolean latest)
Returns all the kb articles where groupId = ? and sections LIKE any ? and latest = ?.
|
static java.util.List<KBArticle> |
findByG_S_L(long groupId,
java.lang.String[] sectionses,
boolean latest,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and latest = ?.
|
static java.util.List<KBArticle> |
findByG_S_L(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_S_L(long groupId,
java.lang.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.
|
static java.util.List<KBArticle> |
findByG_S_L(long groupId,
java.lang.String sections,
boolean latest)
Returns all the kb articles where groupId = ? and sections LIKE ? and latest = ?.
|
static java.util.List<KBArticle> |
findByG_S_L(long groupId,
java.lang.String sections,
boolean latest,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and sections LIKE ? and latest = ?.
|
static java.util.List<KBArticle> |
findByG_S_L(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_S_L(long groupId,
java.lang.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_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_M_First(long groupId,
java.lang.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_S_M_Last(long groupId,
java.lang.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[] |
findByG_S_M_PrevAndNext(long kbArticleId,
long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_S_M(long groupId,
java.lang.String[] sectionses,
boolean main)
Returns all the kb articles where groupId = ? and sections LIKE any ? and main = ?.
|
static java.util.List<KBArticle> |
findByG_S_M(long groupId,
java.lang.String[] sectionses,
boolean main,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and main = ?.
|
static java.util.List<KBArticle> |
findByG_S_M(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_S_M(long groupId,
java.lang.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.
|
static java.util.List<KBArticle> |
findByG_S_M(long groupId,
java.lang.String sections,
boolean main)
Returns all the kb articles where groupId = ? and sections LIKE ? and main = ?.
|
static java.util.List<KBArticle> |
findByG_S_M(long groupId,
java.lang.String sections,
boolean main,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and sections LIKE ? and main = ?.
|
static java.util.List<KBArticle> |
findByG_S_M(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_S_M(long groupId,
java.lang.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_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 = ?.
|
static KBArticle |
findByG_S_S_First(long groupId,
java.lang.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_S_S_Last(long groupId,
java.lang.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_S_S_PrevAndNext(long kbArticleId,
long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_S_S(long groupId,
java.lang.String[] sectionses,
int status)
Returns all the kb articles where groupId = ? and sections LIKE any ? and status = ?.
|
static java.util.List<KBArticle> |
findByG_S_S(long groupId,
java.lang.String[] sectionses,
int status,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and sections LIKE any ? and status = ?.
|
static java.util.List<KBArticle> |
findByG_S_S(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_S_S(long groupId,
java.lang.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.
|
static java.util.List<KBArticle> |
findByG_S_S(long groupId,
java.lang.String sections,
int status)
Returns all the kb articles where groupId = ? and sections LIKE ? and status = ?.
|
static java.util.List<KBArticle> |
findByG_S_S(long groupId,
java.lang.String sections,
int status,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and sections LIKE ? and status = ?.
|
static java.util.List<KBArticle> |
findByG_S_S(long groupId,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByG_S_S(long groupId,
java.lang.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 java.util.List<KBArticle> |
findByG_S(long groupId,
int status)
Returns all the kb articles where groupId = ? and status = ?.
|
static java.util.List<KBArticle> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the kb articles where groupId = ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByP_L(long[] parentResourcePrimKeys,
boolean latest)
Returns all the kb articles where parentResourcePrimKey = any ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByP_L(long parentResourcePrimKey,
boolean latest)
Returns all the kb articles where parentResourcePrimKey = ? and latest = ?.
|
static java.util.List<KBArticle> |
findByP_L(long parentResourcePrimKey,
boolean latest,
int start,
int end)
Returns a range of all the kb articles where parentResourcePrimKey = ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByP_M(long[] parentResourcePrimKeys,
boolean main)
Returns all the kb articles where parentResourcePrimKey = any ? and main = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByP_M(long parentResourcePrimKey,
boolean main)
Returns all the kb articles where parentResourcePrimKey = ? and main = ?.
|
static java.util.List<KBArticle> |
findByP_M(long parentResourcePrimKey,
boolean main,
int start,
int end)
Returns a range of all the kb articles where parentResourcePrimKey = ? and main = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 java.util.List<KBArticle> |
findByP_S(long[] parentResourcePrimKeys,
int status)
Returns all the kb articles where parentResourcePrimKey = any ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByP_S(long parentResourcePrimKey,
int status)
Returns all the kb articles where parentResourcePrimKey = ? and status = ?.
|
static java.util.List<KBArticle> |
findByP_S(long parentResourcePrimKey,
int status,
int start,
int end)
Returns a range of all the kb articles where parentResourcePrimKey = ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static KBArticle |
findByPrimaryKey(long kbArticleId)
Returns the kb article with the primary key or throws a
NoSuchArticleException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 java.util.List<KBArticle> |
findByR_G_L(long[] resourcePrimKeys,
long groupId,
boolean latest)
Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByR_G_L(long resourcePrimKey,
long groupId,
boolean latest)
Returns all the kb articles where resourcePrimKey = ? and groupId = ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByR_G_M(long[] resourcePrimKeys,
long groupId,
boolean main)
Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and main = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByR_G_M(long resourcePrimKey,
long groupId,
boolean main)
Returns all the kb articles where resourcePrimKey = ? and groupId = ? and main = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 java.util.List<KBArticle> |
findByR_G_S(long[] resourcePrimKeys,
long groupId,
int status)
Returns all the kb articles where resourcePrimKey = any ? and groupId = ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByR_G_S(long resourcePrimKey,
long groupId,
int status)
Returns all the kb articles where resourcePrimKey = ? and groupId = ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static KBArticle |
findByR_G_V(long resourcePrimKey,
long groupId,
int version)
Returns the kb article where resourcePrimKey = ? and groupId = ? and version = ? or throws a
NoSuchArticleException if it could not be found. |
static java.util.List<KBArticle> |
findByR_G(long resourcePrimKey,
long groupId)
Returns all the kb articles where resourcePrimKey = ? and groupId = ?.
|
static java.util.List<KBArticle> |
findByR_G(long resourcePrimKey,
long groupId,
int start,
int end)
Returns a range of all the kb articles where resourcePrimKey = ? and groupId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByR_L(long[] resourcePrimKeys,
boolean latest)
Returns all the kb articles where resourcePrimKey = any ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByR_L(long resourcePrimKey,
boolean latest)
Returns all the kb articles where resourcePrimKey = ? and latest = ?.
|
static java.util.List<KBArticle> |
findByR_L(long resourcePrimKey,
boolean latest,
int start,
int end)
Returns a range of all the kb articles where resourcePrimKey = ? and latest = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
static java.util.List<KBArticle> |
findByR_M(long[] resourcePrimKeys,
boolean main)
Returns all the kb articles where resourcePrimKey = any ? and main = ?.
|
static java.util.List<KBArticle> |
findByR_M(long[] resourcePrimKeys,
boolean main,
int start,
int end)
Returns a range of all the kb articles where resourcePrimKey = any ? and main = ?.
|
static java.util.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 = ?.
|
static java.util.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.
|
static java.util.List<KBArticle> |
findByR_M(long resourcePrimKey,
boolean main)
Returns all the kb articles where resourcePrimKey = ? and main = ?.
|
static java.util.List<KBArticle> |
findByR_M(long resourcePrimKey,
boolean main,
int start,
int end)
Returns a range of all the kb articles where resourcePrimKey = ? and main = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
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 java.util.List<KBArticle> |
findByR_S(long[] resourcePrimKeys,
int status)
Returns all the kb articles where resourcePrimKey = any ? and status = ?.
|
static java.util.List<KBArticle> |
findByR_S(long[] resourcePrimKeys,
int status,
int start,
int end)
Returns a range of all the kb articles where resourcePrimKey = any ? and status = ?.
|
static java.util.List<KBArticle> |
findByR_S(long[] resourcePrimKeys,
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 status = ?.
|
static java.util.List<KBArticle> |
findByR_S(long[] resourcePrimKeys,
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 = ?, optionally using the finder cache.
|
static java.util.List<KBArticle> |
findByR_S(long resourcePrimKey,
int status)
Returns all the kb articles where resourcePrimKey = ? and status = ?.
|
static java.util.List<KBArticle> |
findByR_S(long resourcePrimKey,
int status,
int start,
int end)
Returns a range of all the kb articles where resourcePrimKey = ? and status = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static KBArticle |
findByR_V(long resourcePrimKey,
int version)
Returns the kb article where resourcePrimKey = ? and version = ? or throws a
NoSuchArticleException if it could not be found. |
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 = ?.
|
static java.util.List<KBArticle> |
findByResourcePrimKey(long resourcePrimKey)
Returns all the kb articles where resourcePrimKey = ?.
|
static java.util.List<KBArticle> |
findByResourcePrimKey(long resourcePrimKey,
int start,
int end)
Returns a range of all the kb articles where resourcePrimKey = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static KBArticle |
findByUuid_C_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<KBArticle> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the kb articles where uuid = ? and companyId = ?.
|
static java.util.List<KBArticle> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the kb articles where uuid = ? and companyId = ?.
|
static java.util.List<KBArticle> |
findByUuid_C(java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByUuid_C(java.lang.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_First(java.lang.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(java.lang.String uuid,
long groupId)
Returns the kb article where uuid = ? and groupId = ? or throws a
NoSuchArticleException if it could not be found. |
static KBArticle |
findByUuid_Last(java.lang.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,
java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByUuid(java.lang.String uuid)
Returns all the kb articles where uuid = ?.
|
static java.util.List<KBArticle> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the kb articles where uuid = ?.
|
static java.util.List<KBArticle> |
findByUuid(java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findByUuid(java.lang.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 = ?.
|
static java.util.List<KBArticle> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KBArticle> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KBArticle> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) |
static KBArticlePersistence |
getPersistence() |
static KBArticle |
remove(long kbArticleId)
Removes the kb article with the primary key from the database.
|
static void |
removeAll()
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_M(long companyId,
boolean main)
Removes all the kb articles where companyId = ? and main = ? 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_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_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_ST(long groupId,
long kbFolderId,
java.lang.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(long groupId,
long kbFolderId,
java.lang.String urlTitle)
Removes all the kb articles where groupId = ? and kbFolderId = ? and urlTitle = ? 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_M(long groupId,
boolean main)
Removes all the kb articles where groupId = ? and main = ? 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_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_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_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_L(long groupId,
java.lang.String sections,
boolean latest)
Removes all the kb articles where groupId = ? and sections LIKE ? and latest = ? from the database.
|
static void |
removeByG_S_M(long groupId,
java.lang.String sections,
boolean main)
Removes all the kb articles where groupId = ? and sections LIKE ? and main = ? from the database.
|
static void |
removeByG_S_S(long groupId,
java.lang.String sections,
int status)
Removes all the kb articles where groupId = ? and sections LIKE ? 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 |
removeByP_L(long parentResourcePrimKey,
boolean latest)
Removes all the kb articles where parentResourcePrimKey = ? and latest = ? 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_S(long parentResourcePrimKey,
int status)
Removes all the kb articles where parentResourcePrimKey = ? and status = ? 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_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_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_G(long resourcePrimKey,
long groupId)
Removes all the kb articles where resourcePrimKey = ? and groupId = ? 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_M(long resourcePrimKey,
boolean main)
Removes all the kb articles where resourcePrimKey = ? and main = ? 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_C(java.lang.String uuid,
long companyId)
Removes all the kb articles where uuid = ? and companyId = ? from the database.
|
static KBArticle |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the kb article where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the kb articles where uuid = ? from the database.
|
static KBArticle |
update(KBArticle kbArticle) |
static KBArticle |
update(KBArticle kbArticle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KBArticle |
updateImpl(KBArticle kbArticle) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KBArticle kbArticle)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,KBArticle> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KBArticle> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KBArticle> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KBArticle> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KBArticle update(KBArticle kbArticle)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KBArticle update(KBArticle kbArticle, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KBArticle> findByResourcePrimKey(long resourcePrimKey)
resourcePrimKey
- the resource prim keypublic static java.util.List<KBArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByResourcePrimKey_First(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByResourcePrimKey_First(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByResourcePrimKey_Last(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByResourcePrimKey_Last(long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByResourcePrimKey_PrevAndNext(long kbArticleId, long resourcePrimKey, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByResourcePrimKey(long resourcePrimKey)
resourcePrimKey
- the resource prim keypublic static int countByResourcePrimKey(long resourcePrimKey)
resourcePrimKey
- the resource prim keypublic static java.util.List<KBArticle> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<KBArticle> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)public static java.util.List<KBArticle> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByUuid_PrevAndNext(long kbArticleId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static KBArticle findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchArticleException
NoSuchArticleException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching kb article could not be foundpublic static KBArticle fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching kb article could not be foundpublic static KBArticle removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchArticleException
uuid
- the uuidgroupId
- the group IDNoSuchArticleException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<KBArticle> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<KBArticle> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByUuid_C_PrevAndNext(long kbArticleId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<KBArticle> findByR_G(long resourcePrimKey, long groupId)
resourcePrimKey
- the resource prim keygroupId
- the group IDpublic static java.util.List<KBArticle> findByR_G(long resourcePrimKey, long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_G(long resourcePrimKey, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByR_G(long resourcePrimKey, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByR_G_First(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_G_First(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByR_G_Last(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_G_Last(long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByR_G_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByR_G(long resourcePrimKey, long groupId)
resourcePrimKey
- the resource prim keygroupId
- the group IDpublic static java.util.List<KBArticle> filterFindByR_G(long resourcePrimKey, long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByR_G(long resourcePrimKey, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static KBArticle[] filterFindByR_G_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByR_G(long resourcePrimKey, long groupId)
resourcePrimKey
- the resource prim keygroupId
- the group IDpublic static int countByR_G(long resourcePrimKey, long groupId)
resourcePrimKey
- the resource prim keygroupId
- the group IDpublic static int filterCountByR_G(long resourcePrimKey, long groupId)
resourcePrimKey
- the resource prim keygroupId
- the group IDpublic static KBArticle findByR_V(long resourcePrimKey, int version) throws NoSuchArticleException
NoSuchArticleException
if it could not be found.resourcePrimKey
- the resource prim keyversion
- the versionNoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_V(long resourcePrimKey, int version)
null
if it could not be found. Uses the finder cache.resourcePrimKey
- the resource prim keyversion
- the versionnull
if a matching kb article could not be foundpublic static KBArticle fetchByR_V(long resourcePrimKey, int version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.resourcePrimKey
- the resource prim keyversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching kb article could not be foundpublic static KBArticle removeByR_V(long resourcePrimKey, int version) throws NoSuchArticleException
resourcePrimKey
- the resource prim keyversion
- the versionNoSuchArticleException
public static int countByR_V(long resourcePrimKey, int version)
resourcePrimKey
- the resource prim keyversion
- the versionpublic static java.util.List<KBArticle> findByR_L(long resourcePrimKey, boolean latest)
resourcePrimKey
- the resource prim keylatest
- the latestpublic static java.util.List<KBArticle> findByR_L(long resourcePrimKey, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_L(long resourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByR_L(long resourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByR_L_First(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_L_First(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByR_L_Last(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_L_Last(long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByR_L_PrevAndNext(long kbArticleId, long resourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> findByR_L(long[] resourcePrimKeys, boolean latest)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
resourcePrimKeys
- the resource prim keyslatest
- the latestpublic static java.util.List<KBArticle> findByR_L(long[] resourcePrimKeys, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_L(long[] resourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByR_L(long[] resourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByR_L(long resourcePrimKey, boolean latest)
resourcePrimKey
- the resource prim keylatest
- the latestpublic static int countByR_L(long resourcePrimKey, boolean latest)
resourcePrimKey
- the resource prim keylatest
- the latestpublic static int countByR_L(long[] resourcePrimKeys, boolean latest)
resourcePrimKeys
- the resource prim keyslatest
- the latestpublic static java.util.List<KBArticle> findByR_M(long resourcePrimKey, boolean main)
resourcePrimKey
- the resource prim keymain
- the mainpublic static java.util.List<KBArticle> findByR_M(long resourcePrimKey, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_M(long resourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByR_M(long resourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByR_M_First(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_M_First(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByR_M_Last(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_M_Last(long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByR_M_PrevAndNext(long kbArticleId, long resourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> findByR_M(long[] resourcePrimKeys, boolean main)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
resourcePrimKeys
- the resource prim keysmain
- the mainpublic static java.util.List<KBArticle> findByR_M(long[] resourcePrimKeys, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_M(long[] resourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByR_M(long[] resourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByR_M(long resourcePrimKey, boolean main)
resourcePrimKey
- the resource prim keymain
- the mainpublic static int countByR_M(long resourcePrimKey, boolean main)
resourcePrimKey
- the resource prim keymain
- the mainpublic static int countByR_M(long[] resourcePrimKeys, boolean main)
resourcePrimKeys
- the resource prim keysmain
- the mainpublic static java.util.List<KBArticle> findByR_S(long resourcePrimKey, int status)
resourcePrimKey
- the resource prim keystatus
- the statuspublic static java.util.List<KBArticle> findByR_S(long resourcePrimKey, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_S(long resourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByR_S(long resourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByR_S_First(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_S_First(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByR_S_Last(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_S_Last(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByR_S_PrevAndNext(long kbArticleId, long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleresourcePrimKey
- the resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> findByR_S(long[] resourcePrimKeys, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
resourcePrimKeys
- the resource prim keysstatus
- the statuspublic static java.util.List<KBArticle> findByR_S(long[] resourcePrimKeys, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
resourcePrimKeys
- the 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)public static java.util.List<KBArticle> findByR_S(long[] resourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
resourcePrimKeys
- the 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 (optionally null
)public static java.util.List<KBArticle> findByR_S(long[] resourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByR_S(long resourcePrimKey, int status)
resourcePrimKey
- the resource prim keystatus
- the statuspublic static int countByR_S(long resourcePrimKey, int status)
resourcePrimKey
- the resource prim keystatus
- the statuspublic static int countByR_S(long[] resourcePrimKeys, int status)
resourcePrimKeys
- the resource prim keysstatus
- the statuspublic static java.util.List<KBArticle> findByG_L(long groupId, boolean latest)
groupId
- the group IDlatest
- the latestpublic static java.util.List<KBArticle> findByG_L(long groupId, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_L(long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_L(long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_L_First(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_L_First(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_L_Last(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_L_Last(long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_L_PrevAndNext(long kbArticleId, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_L(long groupId, boolean latest)
groupId
- the group IDlatest
- the latestpublic static java.util.List<KBArticle> filterFindByG_L(long groupId, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_L(long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static KBArticle[] filterFindByG_L_PrevAndNext(long kbArticleId, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByG_L(long groupId, boolean latest)
groupId
- the group IDlatest
- the latestpublic static int countByG_L(long groupId, boolean latest)
groupId
- the group IDlatest
- the latestpublic static int filterCountByG_L(long groupId, boolean latest)
groupId
- the group IDlatest
- the latestpublic static java.util.List<KBArticle> findByG_M(long groupId, boolean main)
groupId
- the group IDmain
- the mainpublic static java.util.List<KBArticle> findByG_M(long groupId, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_M(long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_M(long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_M_First(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_M_First(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_M_Last(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_M_Last(long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_M_PrevAndNext(long kbArticleId, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_M(long groupId, boolean main)
groupId
- the group IDmain
- the mainpublic static java.util.List<KBArticle> filterFindByG_M(long groupId, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_M(long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static KBArticle[] filterFindByG_M_PrevAndNext(long kbArticleId, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByG_M(long groupId, boolean main)
groupId
- the group IDmain
- the mainpublic static int countByG_M(long groupId, boolean main)
groupId
- the group IDmain
- the mainpublic static int filterCountByG_M(long groupId, boolean main)
groupId
- the group IDmain
- the mainpublic static java.util.List<KBArticle> findByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static java.util.List<KBArticle> findByG_S(long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_S_PrevAndNext(long kbArticleId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static java.util.List<KBArticle> filterFindByG_S(long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static KBArticle[] filterFindByG_S_PrevAndNext(long kbArticleId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static int countByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static int filterCountByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statuspublic static java.util.List<KBArticle> findByC_L(long companyId, boolean latest)
companyId
- the company IDlatest
- the latestpublic static java.util.List<KBArticle> findByC_L(long companyId, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByC_L(long companyId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByC_L(long companyId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByC_L_First(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
companyId
- the company IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByC_L_First(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
companyId
- the company IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByC_L_Last(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
companyId
- the company IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByC_L_Last(long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
companyId
- the company IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByC_L_PrevAndNext(long kbArticleId, long companyId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlecompanyId
- the company IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByC_L(long companyId, boolean latest)
companyId
- the company IDlatest
- the latestpublic static int countByC_L(long companyId, boolean latest)
companyId
- the company IDlatest
- the latestpublic static java.util.List<KBArticle> findByC_M(long companyId, boolean main)
companyId
- the company IDmain
- the mainpublic static java.util.List<KBArticle> findByC_M(long companyId, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByC_M(long companyId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByC_M(long companyId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByC_M_First(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
companyId
- the company IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByC_M_First(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
companyId
- the company IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByC_M_Last(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
companyId
- the company IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByC_M_Last(long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
companyId
- the company IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByC_M_PrevAndNext(long kbArticleId, long companyId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlecompanyId
- the company IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByC_M(long companyId, boolean main)
companyId
- the company IDmain
- the mainpublic static int countByC_M(long companyId, boolean main)
companyId
- the company IDmain
- the mainpublic static java.util.List<KBArticle> findByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static java.util.List<KBArticle> findByC_S(long companyId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByC_S_PrevAndNext(long kbArticleId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlecompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static int countByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static java.util.List<KBArticle> findByP_L(long parentResourcePrimKey, boolean latest)
parentResourcePrimKey
- the parent resource prim keylatest
- the latestpublic static java.util.List<KBArticle> findByP_L(long parentResourcePrimKey, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByP_L(long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByP_L(long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByP_L_First(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
parentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByP_L_First(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
parentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByP_L_Last(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
parentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByP_L_Last(long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
parentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByP_L_PrevAndNext(long kbArticleId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> findByP_L(long[] parentResourcePrimKeys, boolean latest)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
parentResourcePrimKeys
- the parent resource prim keyslatest
- the latestpublic static java.util.List<KBArticle> findByP_L(long[] parentResourcePrimKeys, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByP_L(long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByP_L(long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByP_L(long parentResourcePrimKey, boolean latest)
parentResourcePrimKey
- the parent resource prim keylatest
- the latestpublic static int countByP_L(long parentResourcePrimKey, boolean latest)
parentResourcePrimKey
- the parent resource prim keylatest
- the latestpublic static int countByP_L(long[] parentResourcePrimKeys, boolean latest)
parentResourcePrimKeys
- the parent resource prim keyslatest
- the latestpublic static java.util.List<KBArticle> findByP_M(long parentResourcePrimKey, boolean main)
parentResourcePrimKey
- the parent resource prim keymain
- the mainpublic static java.util.List<KBArticle> findByP_M(long parentResourcePrimKey, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByP_M(long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByP_M(long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByP_M_First(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
parentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByP_M_First(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
parentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByP_M_Last(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
parentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByP_M_Last(long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
parentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByP_M_PrevAndNext(long kbArticleId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> findByP_M(long[] parentResourcePrimKeys, boolean main)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
parentResourcePrimKeys
- the parent resource prim keysmain
- the mainpublic static java.util.List<KBArticle> findByP_M(long[] parentResourcePrimKeys, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByP_M(long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByP_M(long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByP_M(long parentResourcePrimKey, boolean main)
parentResourcePrimKey
- the parent resource prim keymain
- the mainpublic static int countByP_M(long parentResourcePrimKey, boolean main)
parentResourcePrimKey
- the parent resource prim keymain
- the mainpublic static int countByP_M(long[] parentResourcePrimKeys, boolean main)
parentResourcePrimKeys
- the parent resource prim keysmain
- the mainpublic static java.util.List<KBArticle> findByP_S(long parentResourcePrimKey, int status)
parentResourcePrimKey
- the parent resource prim keystatus
- the statuspublic static java.util.List<KBArticle> findByP_S(long parentResourcePrimKey, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByP_S(long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByP_S(long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByP_S_First(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
parentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByP_S_First(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
parentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByP_S_Last(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
parentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByP_S_Last(long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
parentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByP_S_PrevAndNext(long kbArticleId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articleparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> findByP_S(long[] parentResourcePrimKeys, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
parentResourcePrimKeys
- the parent resource prim keysstatus
- the statuspublic static java.util.List<KBArticle> findByP_S(long[] parentResourcePrimKeys, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByP_S(long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByP_S(long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByP_S(long parentResourcePrimKey, int status)
parentResourcePrimKey
- the parent resource prim keystatus
- the statuspublic static int countByP_S(long parentResourcePrimKey, int status)
parentResourcePrimKey
- the parent resource prim keystatus
- the statuspublic static int countByP_S(long[] parentResourcePrimKeys, int status)
parentResourcePrimKeys
- the parent resource prim keysstatus
- the statuspublic static KBArticle findByR_G_V(long resourcePrimKey, long groupId, int version) throws NoSuchArticleException
NoSuchArticleException
if it could not be found.resourcePrimKey
- the resource prim keygroupId
- the group IDversion
- the versionNoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_G_V(long resourcePrimKey, long groupId, int version)
null
if it could not be found. Uses the finder cache.resourcePrimKey
- the resource prim keygroupId
- the group IDversion
- the versionnull
if a matching kb article could not be foundpublic static KBArticle fetchByR_G_V(long resourcePrimKey, long groupId, int version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.resourcePrimKey
- the resource prim keygroupId
- the group IDversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching kb article could not be foundpublic static KBArticle removeByR_G_V(long resourcePrimKey, long groupId, int version) throws NoSuchArticleException
resourcePrimKey
- the resource prim keygroupId
- the group IDversion
- the versionNoSuchArticleException
public static int countByR_G_V(long resourcePrimKey, long groupId, int version)
resourcePrimKey
- the resource prim keygroupId
- the group IDversion
- the versionpublic static java.util.List<KBArticle> findByR_G_L(long resourcePrimKey, long groupId, boolean latest)
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestpublic static java.util.List<KBArticle> findByR_G_L(long resourcePrimKey, long groupId, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_G_L(long resourcePrimKey, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByR_G_L_First(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_G_L_First(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByR_G_L_Last(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_G_L_Last(long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByR_G_L_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByR_G_L(long resourcePrimKey, long groupId, boolean latest)
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestpublic static java.util.List<KBArticle> filterFindByR_G_L(long resourcePrimKey, long groupId, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByR_G_L(long resourcePrimKey, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest)
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the latestpublic static java.util.List<KBArticle> filterFindByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the latestpublic static java.util.List<KBArticle> findByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByR_G_L(long resourcePrimKey, long groupId, boolean latest)
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestpublic static int countByR_G_L(long resourcePrimKey, long groupId, boolean latest)
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestpublic static int countByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest)
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the latestpublic static int filterCountByR_G_L(long resourcePrimKey, long groupId, boolean latest)
resourcePrimKey
- the resource prim keygroupId
- the group IDlatest
- the latestpublic static int filterCountByR_G_L(long[] resourcePrimKeys, long groupId, boolean latest)
resourcePrimKeys
- the resource prim keysgroupId
- the group IDlatest
- the latestpublic static java.util.List<KBArticle> findByR_G_M(long resourcePrimKey, long groupId, boolean main)
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainpublic static java.util.List<KBArticle> findByR_G_M(long resourcePrimKey, long groupId, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_G_M(long resourcePrimKey, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByR_G_M_First(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_G_M_First(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByR_G_M_Last(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_G_M_Last(long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByR_G_M_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByR_G_M(long resourcePrimKey, long groupId, boolean main)
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainpublic static java.util.List<KBArticle> filterFindByR_G_M(long resourcePrimKey, long groupId, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByR_G_M(long resourcePrimKey, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByR_G_M(long[] resourcePrimKeys, long groupId, boolean main)
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainpublic static java.util.List<KBArticle> filterFindByR_G_M(long[] resourcePrimKeys, long groupId, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByR_G_M(long[] resourcePrimKeys, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByR_G_M(long[] resourcePrimKeys, long groupId, boolean main)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainpublic static java.util.List<KBArticle> findByR_G_M(long[] resourcePrimKeys, long groupId, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_G_M(long[] resourcePrimKeys, long groupId, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByR_G_M(long resourcePrimKey, long groupId, boolean main)
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainpublic static int countByR_G_M(long resourcePrimKey, long groupId, boolean main)
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainpublic static int countByR_G_M(long[] resourcePrimKeys, long groupId, boolean main)
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainpublic static int filterCountByR_G_M(long resourcePrimKey, long groupId, boolean main)
resourcePrimKey
- the resource prim keygroupId
- the group IDmain
- the mainpublic static int filterCountByR_G_M(long[] resourcePrimKeys, long groupId, boolean main)
resourcePrimKeys
- the resource prim keysgroupId
- the group IDmain
- the mainpublic static java.util.List<KBArticle> findByR_G_S(long resourcePrimKey, long groupId, int status)
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statuspublic static java.util.List<KBArticle> findByR_G_S(long resourcePrimKey, long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_G_S(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByR_G_S_First(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_G_S_First(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByR_G_S_Last(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByR_G_S_Last(long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByR_G_S_PrevAndNext(long kbArticleId, long resourcePrimKey, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByR_G_S(long resourcePrimKey, long groupId, int status)
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statuspublic static java.util.List<KBArticle> filterFindByR_G_S(long resourcePrimKey, long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByR_G_S(long resourcePrimKey, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByR_G_S(long[] resourcePrimKeys, long groupId, int status)
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the statuspublic static java.util.List<KBArticle> filterFindByR_G_S(long[] resourcePrimKeys, long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByR_G_S(long[] resourcePrimKeys, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByR_G_S(long[] resourcePrimKeys, long groupId, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the statuspublic static java.util.List<KBArticle> findByR_G_S(long[] resourcePrimKeys, long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByR_G_S(long[] resourcePrimKeys, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByR_G_S(long resourcePrimKey, long groupId, int status)
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statuspublic static int countByR_G_S(long resourcePrimKey, long groupId, int status)
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statuspublic static int countByR_G_S(long[] resourcePrimKeys, long groupId, int status)
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the statuspublic static int filterCountByR_G_S(long resourcePrimKey, long groupId, int status)
resourcePrimKey
- the resource prim keygroupId
- the group IDstatus
- the statuspublic static int filterCountByR_G_S(long[] resourcePrimKeys, long groupId, int status)
resourcePrimKeys
- the resource prim keysgroupId
- the group IDstatus
- the statuspublic static java.util.List<KBArticle> findByG_P_L(long groupId, long parentResourcePrimKey, boolean latest)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestpublic static java.util.List<KBArticle> findByG_P_L(long groupId, long parentResourcePrimKey, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_P_L(long groupId, long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_P_L_First(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_P_L_First(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_P_L_Last(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_P_L_Last(long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_P_L_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_P_L(long groupId, long parentResourcePrimKey, boolean latest)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestpublic static java.util.List<KBArticle> filterFindByG_P_L(long groupId, long parentResourcePrimKey, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_P_L(long groupId, long parentResourcePrimKey, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the latestpublic static java.util.List<KBArticle> filterFindByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the latestpublic static java.util.List<KBArticle> findByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_P_L(long groupId, long parentResourcePrimKey, boolean latest)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestpublic static int countByG_P_L(long groupId, long parentResourcePrimKey, boolean latest)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestpublic static int countByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the latestpublic static int filterCountByG_P_L(long groupId, long parentResourcePrimKey, boolean latest)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the latestpublic static int filterCountByG_P_L(long groupId, long[] parentResourcePrimKeys, boolean latest)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the latestpublic static java.util.List<KBArticle> findByG_P_M(long groupId, long parentResourcePrimKey, boolean main)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainpublic static java.util.List<KBArticle> findByG_P_M(long groupId, long parentResourcePrimKey, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_P_M(long groupId, long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_P_M_First(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_P_M_First(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_P_M_Last(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_P_M_Last(long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_P_M_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_P_M(long groupId, long parentResourcePrimKey, boolean main)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainpublic static java.util.List<KBArticle> filterFindByG_P_M(long groupId, long parentResourcePrimKey, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_P_M(long groupId, long parentResourcePrimKey, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainpublic static java.util.List<KBArticle> filterFindByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainpublic static java.util.List<KBArticle> findByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_P_M(long groupId, long parentResourcePrimKey, boolean main)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainpublic static int countByG_P_M(long groupId, long parentResourcePrimKey, boolean main)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainpublic static int countByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainpublic static int filterCountByG_P_M(long groupId, long parentResourcePrimKey, boolean main)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keymain
- the mainpublic static int filterCountByG_P_M(long groupId, long[] parentResourcePrimKeys, boolean main)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysmain
- the mainpublic static java.util.List<KBArticle> findByG_P_S(long groupId, long parentResourcePrimKey, int status)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statuspublic static java.util.List<KBArticle> findByG_P_S(long groupId, long parentResourcePrimKey, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_P_S(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_P_S_First(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_P_S_First(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_P_S_Last(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_P_S_Last(long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_P_S_PrevAndNext(long kbArticleId, long groupId, long parentResourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_P_S(long groupId, long parentResourcePrimKey, int status)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statuspublic static java.util.List<KBArticle> filterFindByG_P_S(long groupId, long parentResourcePrimKey, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_P_S(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_P_S(long groupId, long[] parentResourcePrimKeys, int status)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the statuspublic static java.util.List<KBArticle> filterFindByG_P_S(long groupId, long[] parentResourcePrimKeys, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_P_S(long groupId, long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_P_S(long groupId, long[] parentResourcePrimKeys, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the statuspublic static java.util.List<KBArticle> findByG_P_S(long groupId, long[] parentResourcePrimKeys, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_P_S(long groupId, long[] parentResourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_P_S(long groupId, long parentResourcePrimKey, int status)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statuspublic static int countByG_P_S(long groupId, long parentResourcePrimKey, int status)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statuspublic static int countByG_P_S(long groupId, long[] parentResourcePrimKeys, int status)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the statuspublic static int filterCountByG_P_S(long groupId, long parentResourcePrimKey, int status)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keystatus
- the statuspublic static int filterCountByG_P_S(long groupId, long[] parentResourcePrimKeys, int status)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keysstatus
- the statuspublic static java.util.List<KBArticle> findByG_KBFI_UT(long groupId, long kbFolderId, java.lang.String urlTitle)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlepublic static java.util.List<KBArticle> findByG_KBFI_UT(long groupId, long kbFolderId, java.lang.String urlTitle, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_KBFI_UT(long groupId, long kbFolderId, java.lang.String urlTitle, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_KBFI_UT(long groupId, long kbFolderId, java.lang.String urlTitle, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_KBFI_UT_First(long groupId, long kbFolderId, java.lang.String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titleorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_KBFI_UT_First(long groupId, long kbFolderId, java.lang.String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titleorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_KBFI_UT_Last(long groupId, long kbFolderId, java.lang.String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titleorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_KBFI_UT_Last(long groupId, long kbFolderId, java.lang.String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titleorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_KBFI_UT_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, java.lang.String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_KBFI_UT(long groupId, long kbFolderId, java.lang.String urlTitle)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlepublic static java.util.List<KBArticle> filterFindByG_KBFI_UT(long groupId, long kbFolderId, java.lang.String urlTitle, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_KBFI_UT(long groupId, long kbFolderId, java.lang.String urlTitle, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static KBArticle[] filterFindByG_KBFI_UT_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, java.lang.String urlTitle, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByG_KBFI_UT(long groupId, long kbFolderId, java.lang.String urlTitle)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlepublic static int countByG_KBFI_UT(long groupId, long kbFolderId, java.lang.String urlTitle)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlepublic static int filterCountByG_KBFI_UT(long groupId, long kbFolderId, java.lang.String urlTitle)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlepublic static java.util.List<KBArticle> findByG_KBFI_L(long groupId, long kbFolderId, boolean latest)
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestpublic static java.util.List<KBArticle> findByG_KBFI_L(long groupId, long kbFolderId, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_KBFI_L(long groupId, long kbFolderId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_KBFI_L_First(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_KBFI_L_First(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_KBFI_L_Last(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_KBFI_L_Last(long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_KBFI_L_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_KBFI_L(long groupId, long kbFolderId, boolean latest)
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestpublic static java.util.List<KBArticle> filterFindByG_KBFI_L(long groupId, long kbFolderId, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_KBFI_L(long groupId, long kbFolderId, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByG_KBFI_L(long groupId, long kbFolderId, boolean latest)
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestpublic static int countByG_KBFI_L(long groupId, long kbFolderId, boolean latest)
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestpublic static int filterCountByG_KBFI_L(long groupId, long kbFolderId, boolean latest)
groupId
- the group IDkbFolderId
- the kb folder IDlatest
- the latestpublic static java.util.List<KBArticle> findByG_KBFI_S(long groupId, long kbFolderId, int status)
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statuspublic static java.util.List<KBArticle> findByG_KBFI_S(long groupId, long kbFolderId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_KBFI_S(long groupId, long kbFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_KBFI_S_First(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_KBFI_S_First(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_KBFI_S_Last(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_KBFI_S_Last(long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_KBFI_S_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_KBFI_S(long groupId, long kbFolderId, int status)
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statuspublic static java.util.List<KBArticle> filterFindByG_KBFI_S(long groupId, long kbFolderId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_KBFI_S(long groupId, long kbFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static void removeByG_KBFI_S(long groupId, long kbFolderId, int status)
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statuspublic static int countByG_KBFI_S(long groupId, long kbFolderId, int status)
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statuspublic static int filterCountByG_KBFI_S(long groupId, long kbFolderId, int status)
groupId
- the group IDkbFolderId
- the kb folder IDstatus
- the statuspublic static java.util.List<KBArticle> findByG_S_L(long groupId, java.lang.String sections, boolean latest)
groupId
- the group IDsections
- the sectionslatest
- the latestpublic static java.util.List<KBArticle> findByG_S_L(long groupId, java.lang.String sections, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_S_L(long groupId, java.lang.String sections, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_S_L(long groupId, java.lang.String sections, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_S_L_First(long groupId, java.lang.String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_S_L_First(long groupId, java.lang.String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_S_L_Last(long groupId, java.lang.String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_S_L_Last(long groupId, java.lang.String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_S_L_PrevAndNext(long kbArticleId, long groupId, java.lang.String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_S_L(long groupId, java.lang.String sections, boolean latest)
groupId
- the group IDsections
- the sectionslatest
- the latestpublic static java.util.List<KBArticle> filterFindByG_S_L(long groupId, java.lang.String sections, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_S_L(long groupId, java.lang.String sections, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static KBArticle[] filterFindByG_S_L_PrevAndNext(long kbArticleId, long groupId, java.lang.String sections, boolean latest, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionslatest
- the latestorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_S_L(long groupId, java.lang.String[] sectionses, boolean latest)
groupId
- the group IDsectionses
- the sectionseslatest
- the latestpublic static java.util.List<KBArticle> filterFindByG_S_L(long groupId, java.lang.String[] sectionses, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_S_L(long groupId, java.lang.String[] sectionses, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_S_L(long groupId, java.lang.String[] sectionses, boolean latest)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
groupId
- the group IDsectionses
- the sectionseslatest
- the latestpublic static java.util.List<KBArticle> findByG_S_L(long groupId, java.lang.String[] sectionses, boolean latest, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_S_L(long groupId, java.lang.String[] sectionses, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_S_L(long groupId, java.lang.String[] sectionses, boolean latest, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_S_L(long groupId, java.lang.String sections, boolean latest)
groupId
- the group IDsections
- the sectionslatest
- the latestpublic static int countByG_S_L(long groupId, java.lang.String sections, boolean latest)
groupId
- the group IDsections
- the sectionslatest
- the latestpublic static int countByG_S_L(long groupId, java.lang.String[] sectionses, boolean latest)
groupId
- the group IDsectionses
- the sectionseslatest
- the latestpublic static int filterCountByG_S_L(long groupId, java.lang.String sections, boolean latest)
groupId
- the group IDsections
- the sectionslatest
- the latestpublic static int filterCountByG_S_L(long groupId, java.lang.String[] sectionses, boolean latest)
groupId
- the group IDsectionses
- the sectionseslatest
- the latestpublic static java.util.List<KBArticle> findByG_S_M(long groupId, java.lang.String sections, boolean main)
groupId
- the group IDsections
- the sectionsmain
- the mainpublic static java.util.List<KBArticle> findByG_S_M(long groupId, java.lang.String sections, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_S_M(long groupId, java.lang.String sections, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_S_M(long groupId, java.lang.String sections, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_S_M_First(long groupId, java.lang.String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_S_M_First(long groupId, java.lang.String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_S_M_Last(long groupId, java.lang.String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_S_M_Last(long groupId, java.lang.String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_S_M_PrevAndNext(long kbArticleId, long groupId, java.lang.String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_S_M(long groupId, java.lang.String sections, boolean main)
groupId
- the group IDsections
- the sectionsmain
- the mainpublic static java.util.List<KBArticle> filterFindByG_S_M(long groupId, java.lang.String sections, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_S_M(long groupId, java.lang.String sections, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static KBArticle[] filterFindByG_S_M_PrevAndNext(long kbArticleId, long groupId, java.lang.String sections, boolean main, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionsmain
- the mainorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_S_M(long groupId, java.lang.String[] sectionses, boolean main)
groupId
- the group IDsectionses
- the sectionsesmain
- the mainpublic static java.util.List<KBArticle> filterFindByG_S_M(long groupId, java.lang.String[] sectionses, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_S_M(long groupId, java.lang.String[] sectionses, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_S_M(long groupId, java.lang.String[] sectionses, boolean main)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
groupId
- the group IDsectionses
- the sectionsesmain
- the mainpublic static java.util.List<KBArticle> findByG_S_M(long groupId, java.lang.String[] sectionses, boolean main, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_S_M(long groupId, java.lang.String[] sectionses, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_S_M(long groupId, java.lang.String[] sectionses, boolean main, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_S_M(long groupId, java.lang.String sections, boolean main)
groupId
- the group IDsections
- the sectionsmain
- the mainpublic static int countByG_S_M(long groupId, java.lang.String sections, boolean main)
groupId
- the group IDsections
- the sectionsmain
- the mainpublic static int countByG_S_M(long groupId, java.lang.String[] sectionses, boolean main)
groupId
- the group IDsectionses
- the sectionsesmain
- the mainpublic static int filterCountByG_S_M(long groupId, java.lang.String sections, boolean main)
groupId
- the group IDsections
- the sectionsmain
- the mainpublic static int filterCountByG_S_M(long groupId, java.lang.String[] sectionses, boolean main)
groupId
- the group IDsectionses
- the sectionsesmain
- the mainpublic static java.util.List<KBArticle> findByG_S_S(long groupId, java.lang.String sections, int status)
groupId
- the group IDsections
- the sectionsstatus
- the statuspublic static java.util.List<KBArticle> findByG_S_S(long groupId, java.lang.String sections, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_S_S(long groupId, java.lang.String sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_S_S(long groupId, java.lang.String sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_S_S_First(long groupId, java.lang.String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_S_S_First(long groupId, java.lang.String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_S_S_Last(long groupId, java.lang.String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_S_S_Last(long groupId, java.lang.String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_S_S_PrevAndNext(long kbArticleId, long groupId, java.lang.String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_S_S(long groupId, java.lang.String sections, int status)
groupId
- the group IDsections
- the sectionsstatus
- the statuspublic static java.util.List<KBArticle> filterFindByG_S_S(long groupId, java.lang.String sections, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_S_S(long groupId, java.lang.String sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static KBArticle[] filterFindByG_S_S_PrevAndNext(long kbArticleId, long groupId, java.lang.String sections, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
kbArticleId
- the primary key of the current kb articlegroupId
- the group IDsections
- the sectionsstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_S_S(long groupId, java.lang.String[] sectionses, int status)
groupId
- the group IDsectionses
- the sectionsesstatus
- the statuspublic static java.util.List<KBArticle> filterFindByG_S_S(long groupId, java.lang.String[] sectionses, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_S_S(long groupId, java.lang.String[] sectionses, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_S_S(long groupId, java.lang.String[] sectionses, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
groupId
- the group IDsectionses
- the sectionsesstatus
- the statuspublic static java.util.List<KBArticle> findByG_S_S(long groupId, java.lang.String[] sectionses, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_S_S(long groupId, java.lang.String[] sectionses, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_S_S(long groupId, java.lang.String[] sectionses, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_S_S(long groupId, java.lang.String sections, int status)
groupId
- the group IDsections
- the sectionsstatus
- the statuspublic static int countByG_S_S(long groupId, java.lang.String sections, int status)
groupId
- the group IDsections
- the sectionsstatus
- the statuspublic static int countByG_S_S(long groupId, java.lang.String[] sectionses, int status)
groupId
- the group IDsectionses
- the sectionsesstatus
- the statuspublic static int filterCountByG_S_S(long groupId, java.lang.String sections, int status)
groupId
- the group IDsections
- the sectionsstatus
- the statuspublic static int filterCountByG_S_S(long groupId, java.lang.String[] sectionses, int status)
groupId
- the group IDsectionses
- the sectionsesstatus
- the statuspublic static java.util.List<KBArticle> findByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statuspublic static java.util.List<KBArticle> findByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_P_L_S_First(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic 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
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_P_L_S_Last(long groupId, long parentResourcePrimKey, boolean latest, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic 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
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statuspublic static java.util.List<KBArticle> filterFindByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statuspublic static java.util.List<KBArticle> filterFindByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statuspublic static java.util.List<KBArticle> findByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statuspublic static int countByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statuspublic static int countByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statuspublic static int filterCountByG_P_L_S(long groupId, long parentResourcePrimKey, boolean latest, int status)
groupId
- the group IDparentResourcePrimKey
- the parent resource prim keylatest
- the lateststatus
- the statuspublic static int filterCountByG_P_L_S(long groupId, long[] parentResourcePrimKeys, boolean latest, int status)
groupId
- the group IDparentResourcePrimKeys
- the parent resource prim keyslatest
- the lateststatus
- the statuspublic static java.util.List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int status)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statuspublic static java.util.List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KBArticle findByG_KBFI_UT_ST_First(long groupId, long kbFolderId, java.lang.String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_KBFI_UT_ST_First(long groupId, long kbFolderId, java.lang.String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle findByG_KBFI_UT_ST_Last(long groupId, long kbFolderId, java.lang.String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchArticleException
- if a matching kb article could not be foundpublic static KBArticle fetchByG_KBFI_UT_ST_Last(long groupId, long kbFolderId, java.lang.String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb article could not be foundpublic static KBArticle[] findByG_KBFI_UT_ST_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, java.lang.String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int status)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statuspublic static java.util.List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static KBArticle[] filterFindByG_KBFI_UT_ST_PrevAndNext(long kbArticleId, long groupId, long kbFolderId, java.lang.String urlTitle, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws NoSuchArticleException
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 (optionally null
)NoSuchArticleException
- if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int[] statuses)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statusespublic static java.util.List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int[] statuses, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> filterFindByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int[] statuses)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statusespublic static java.util.List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int[] statuses, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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)public static java.util.List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int status)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statuspublic static int countByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int status)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statuspublic static int countByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int[] statuses)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statusespublic static int filterCountByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int status)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatus
- the statuspublic static int filterCountByG_KBFI_UT_ST(long groupId, long kbFolderId, java.lang.String urlTitle, int[] statuses)
groupId
- the group IDkbFolderId
- the kb folder IDurlTitle
- the url titlestatuses
- the statusespublic static void cacheResult(KBArticle kbArticle)
kbArticle
- the kb articlepublic static void cacheResult(java.util.List<KBArticle> kbArticles)
kbArticles
- the kb articlespublic static KBArticle create(long kbArticleId)
kbArticleId
- the primary key for the new kb articlepublic static KBArticle remove(long kbArticleId) throws NoSuchArticleException
kbArticleId
- the primary key of the kb articleNoSuchArticleException
- if a kb article with the primary key could not be foundpublic static KBArticle findByPrimaryKey(long kbArticleId) throws NoSuchArticleException
NoSuchArticleException
if it could not be found.kbArticleId
- the primary key of the kb articleNoSuchArticleException
- if a kb article with the primary key could not be foundpublic static KBArticle fetchByPrimaryKey(long kbArticleId)
null
if it could not be found.kbArticleId
- the primary key of the kb articlenull
if a kb article with the primary key could not be foundpublic static java.util.List<KBArticle> findAll()
public static java.util.List<KBArticle> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
start
- the lower bound of the range of kb articlesend
- the upper bound of the range of kb articles (not inclusive)public static java.util.List<KBArticle> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)public static java.util.List<KBArticle> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBArticleModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static KBArticlePersistence getPersistence()