@ProviderType public interface KBCommentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KBComment>
Caching information and settings can be found in portal.properties
com.liferay.knowledge.base.service.persistence.impl.KBCommentPersistenceImpl,
KBCommentUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(KBComment kbComment)
Caches the k b comment in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KBComment> kbComments)
Caches the k b comments in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of k b comments.
|
int |
countByC_C_S(long classNameId,
long classPK,
int status)
Returns the number of k b comments where classNameId = ? and classPK = ? and status = ?.
|
int |
countByC_C_S(long classNameId,
long classPK,
int[] statuses)
Returns the number of k b comments where classNameId = ? and classPK = ? and status = any ?.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of k b comments where classNameId = ? and classPK = ?.
|
int |
countByG_C(long groupId,
long classNameId)
Returns the number of k b comments where groupId = ? and classNameId = ?.
|
int |
countByG_S(long groupId,
int status)
Returns the number of k b comments where groupId = ? and status = ?.
|
int |
countByGroupId(long groupId)
Returns the number of k b comments where groupId = ?.
|
int |
countByU_C_C(long userId,
long classNameId,
long classPK)
Returns the number of k b comments where userId = ? and classNameId = ? and classPK = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of k b comments where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of k b comments where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of k b comments where uuid = ?.
|
KBComment |
create(long kbCommentId)
Creates a new k b comment with the primary key.
|
KBComment |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where classNameId = ? and classPK = ?.
|
KBComment |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where classNameId = ? and classPK = ?.
|
KBComment |
fetchByC_C_S_First(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
KBComment |
fetchByC_C_S_Last(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
KBComment |
fetchByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where groupId = ? and classNameId = ?.
|
KBComment |
fetchByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where groupId = ? and classNameId = ?.
|
KBComment |
fetchByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where groupId = ? and status = ?.
|
KBComment |
fetchByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where groupId = ? and status = ?.
|
KBComment |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where groupId = ?.
|
KBComment |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where groupId = ?.
|
KBComment |
fetchByPrimaryKey(long kbCommentId)
Returns the k b comment with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,KBComment> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
KBComment |
fetchByU_C_C_First(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
KBComment |
fetchByU_C_C_Last(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
KBComment |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where uuid = ? and companyId = ?.
|
KBComment |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where uuid = ? and companyId = ?.
|
KBComment |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where uuid = ?.
|
KBComment |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the k b comment where uuid = ? and groupId = ? or returns
null if it could not be found. |
KBComment |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the k b comment where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
KBComment |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where uuid = ?.
|
java.util.List<KBComment> |
findAll()
Returns all the k b comments.
|
java.util.List<KBComment> |
findAll(int start,
int end)
Returns a range of all the k b comments.
|
java.util.List<KBComment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the k b comments.
|
java.util.List<KBComment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b comments.
|
KBComment |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where classNameId = ? and classPK = ?.
|
KBComment |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where classNameId = ? and classPK = ?.
|
KBComment[] |
findByC_C_PrevAndNext(long kbCommentId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the k b comments before and after the current k b comment in the ordered set where classNameId = ? and classPK = ?.
|
KBComment |
findByC_C_S_First(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
KBComment |
findByC_C_S_Last(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
KBComment[] |
findByC_C_S_PrevAndNext(long kbCommentId,
long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the k b comments before and after the current k b comment in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int status)
Returns all the k b comments where classNameId = ? and classPK = ? and status = ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int[] statuses)
Returns all the k b comments where classNameId = ? and classPK = ? and status = any ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int[] statuses,
int start,
int end)
Returns a range of all the k b comments where classNameId = ? and classPK = ? and status = any ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the k b comments where classNameId = ? and classPK = ? and status = any ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b comments where classNameId = ? and classPK = ? and status = ?, optionally using the finder cache.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end)
Returns a range of all the k b comments where classNameId = ? and classPK = ? and status = ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the k b comments where classNameId = ? and classPK = ? and status = ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b comments where classNameId = ? and classPK = ? and status = ?.
|
java.util.List<KBComment> |
findByC_C(long classNameId,
long classPK)
Returns all the k b comments where classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the k b comments where classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the k b comments where classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b comments where classNameId = ? and classPK = ?.
|
KBComment |
findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where groupId = ? and classNameId = ?.
|
KBComment |
findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where groupId = ? and classNameId = ?.
|
KBComment[] |
findByG_C_PrevAndNext(long kbCommentId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the k b comments before and after the current k b comment in the ordered set where groupId = ? and classNameId = ?.
|
java.util.List<KBComment> |
findByG_C(long groupId,
long classNameId)
Returns all the k b comments where groupId = ? and classNameId = ?.
|
java.util.List<KBComment> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the k b comments where groupId = ? and classNameId = ?.
|
java.util.List<KBComment> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the k b comments where groupId = ? and classNameId = ?.
|
java.util.List<KBComment> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b comments where groupId = ? and classNameId = ?.
|
KBComment |
findByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where groupId = ? and status = ?.
|
KBComment |
findByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where groupId = ? and status = ?.
|
KBComment[] |
findByG_S_PrevAndNext(long kbCommentId,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the k b comments before and after the current k b comment in the ordered set where groupId = ? and status = ?.
|
java.util.List<KBComment> |
findByG_S(long groupId,
int status)
Returns all the k b comments where groupId = ? and status = ?.
|
java.util.List<KBComment> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the k b comments where groupId = ? and status = ?.
|
java.util.List<KBComment> |
findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the k b comments where groupId = ? and status = ?.
|
java.util.List<KBComment> |
findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b comments where groupId = ? and status = ?.
|
KBComment |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where groupId = ?.
|
KBComment |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where groupId = ?.
|
KBComment[] |
findByGroupId_PrevAndNext(long kbCommentId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the k b comments before and after the current k b comment in the ordered set where groupId = ?.
|
java.util.List<KBComment> |
findByGroupId(long groupId)
Returns all the k b comments where groupId = ?.
|
java.util.List<KBComment> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the k b comments where groupId = ?.
|
java.util.List<KBComment> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the k b comments where groupId = ?.
|
java.util.List<KBComment> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b comments where groupId = ?.
|
KBComment |
findByPrimaryKey(long kbCommentId)
Returns the k b comment with the primary key or throws a
NoSuchCommentException if it could not be found. |
KBComment |
findByU_C_C_First(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
KBComment |
findByU_C_C_Last(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
KBComment[] |
findByU_C_C_PrevAndNext(long kbCommentId,
long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the k b comments before and after the current k b comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByU_C_C(long userId,
long classNameId,
long classPK)
Returns all the k b comments where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the k b comments where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the k b comments where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b comments where userId = ? and classNameId = ? and classPK = ?.
|
KBComment |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where uuid = ? and companyId = ?.
|
KBComment |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where uuid = ? and companyId = ?.
|
KBComment[] |
findByUuid_C_PrevAndNext(long kbCommentId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the k b comments before and after the current k b comment in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<KBComment> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the k b comments where uuid = ? and companyId = ?.
|
java.util.List<KBComment> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the k b comments where uuid = ? and companyId = ?.
|
java.util.List<KBComment> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the k b comments where uuid = ? and companyId = ?.
|
java.util.List<KBComment> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b comments where uuid = ? and companyId = ?.
|
KBComment |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first k b comment in the ordered set where uuid = ?.
|
KBComment |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the k b comment where uuid = ? and groupId = ? or throws a
NoSuchCommentException if it could not be found. |
KBComment |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last k b comment in the ordered set where uuid = ?.
|
KBComment[] |
findByUuid_PrevAndNext(long kbCommentId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the k b comments before and after the current k b comment in the ordered set where uuid = ?.
|
java.util.List<KBComment> |
findByUuid(java.lang.String uuid)
Returns all the k b comments where uuid = ?.
|
java.util.List<KBComment> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the k b comments where uuid = ?.
|
java.util.List<KBComment> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the k b comments where uuid = ?.
|
java.util.List<KBComment> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the k b comments where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
KBComment |
remove(long kbCommentId)
Removes the k b comment with the primary key from the database.
|
void |
removeAll()
Removes all the k b comments from the database.
|
void |
removeByC_C_S(long classNameId,
long classPK,
int status)
Removes all the k b comments where classNameId = ? and classPK = ? and status = ? from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the k b comments where classNameId = ? and classPK = ? from the database.
|
void |
removeByG_C(long groupId,
long classNameId)
Removes all the k b comments where groupId = ? and classNameId = ? from the database.
|
void |
removeByG_S(long groupId,
int status)
Removes all the k b comments where groupId = ? and status = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the k b comments where groupId = ? from the database.
|
void |
removeByU_C_C(long userId,
long classNameId,
long classPK)
Removes all the k b comments where userId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the k b comments where uuid = ? and companyId = ? from the database.
|
KBComment |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the k b comment where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the k b comments where uuid = ? from the database.
|
KBComment |
updateImpl(KBComment kbComment) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<KBComment> findByUuid(java.lang.String uuid)
uuid - the uuidjava.util.List<KBComment> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)java.util.List<KBComment> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBComment> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBComment findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment[] findByUuid_PrevAndNext(long kbCommentId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId - the primary key of the current k b commentuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a k b comment with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid - the uuidint countByUuid(java.lang.String uuid)
uuid - the uuidKBComment findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCommentException
NoSuchCommentException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchCommentException - if a matching k b comment could not be foundKBComment 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 k b comment could not be foundKBComment fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.uuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching k b comment could not be foundKBComment removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCommentException
uuid - the uuidgroupId - the group IDNoSuchCommentExceptionint countByUUID_G(java.lang.String uuid,
long groupId)
uuid - the uuidgroupId - the group IDjava.util.List<KBComment> findByUuid_C(java.lang.String uuid, long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<KBComment> 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)java.util.List<KBComment> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBComment> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBComment findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment[] findByUuid_C_PrevAndNext(long kbCommentId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId - the primary key of the current k b commentuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a k b comment with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDint countByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<KBComment> findByGroupId(long groupId)
groupId - the group IDjava.util.List<KBComment> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)java.util.List<KBComment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBComment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBComment findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment[] findByGroupId_PrevAndNext(long kbCommentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId - the primary key of the current k b commentgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a k b comment with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group IDjava.util.List<KBComment> findByG_C(long groupId, long classNameId)
groupId - the group IDclassNameId - the class name IDjava.util.List<KBComment> findByG_C(long groupId, long classNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)java.util.List<KBComment> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBComment> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBComment findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment[] findByG_C_PrevAndNext(long kbCommentId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId - the primary key of the current k b commentgroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a k b comment with the primary key could not be foundvoid removeByG_C(long groupId,
long classNameId)
groupId - the group IDclassNameId - the class name IDint countByG_C(long groupId,
long classNameId)
groupId - the group IDclassNameId - the class name IDjava.util.List<KBComment> findByG_S(long groupId, int status)
groupId - the group IDstatus - the statusjava.util.List<KBComment> findByG_S(long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstatus - the statusstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)java.util.List<KBComment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstatus - the statusstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBComment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstatus - the statusstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBComment findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId - the group IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId - the group IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId - the group IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId - the group IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment[] findByG_S_PrevAndNext(long kbCommentId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId - the primary key of the current k b commentgroupId - the group IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a k b comment with the primary key could not be foundvoid removeByG_S(long groupId,
int status)
groupId - the group IDstatus - the statusint countByG_S(long groupId,
int status)
groupId - the group IDstatus - the statusjava.util.List<KBComment> findByC_C(long classNameId, long classPK)
classNameId - the class name IDclassPK - the class p kjava.util.List<KBComment> findByC_C(long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)java.util.List<KBComment> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBComment> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBComment findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment[] findByC_C_PrevAndNext(long kbCommentId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId - the primary key of the current k b commentclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a k b comment with the primary key could not be foundvoid removeByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p kint countByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p kjava.util.List<KBComment> findByU_C_C(long userId, long classNameId, long classPK)
userId - the user IDclassNameId - the class name IDclassPK - the class p kjava.util.List<KBComment> findByU_C_C(long userId, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDclassNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)java.util.List<KBComment> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDclassNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBComment> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
userId - the user IDclassNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBComment findByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
userId - the user IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
userId - the user IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment findByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
userId - the user IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
userId - the user IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment[] findByU_C_C_PrevAndNext(long kbCommentId, long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId - the primary key of the current k b commentuserId - the user IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a k b comment with the primary key could not be foundvoid removeByU_C_C(long userId,
long classNameId,
long classPK)
userId - the user IDclassNameId - the class name IDclassPK - the class p kint countByU_C_C(long userId,
long classNameId,
long classPK)
userId - the user IDclassNameId - the class name IDclassPK - the class p kjava.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int status)
classNameId - the class name IDclassPK - the class p kstatus - the statusjava.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstatus - the statusstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)java.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstatus - the statusstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstatus - the statusstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheKBComment findByC_C_S_First(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
classNameId - the class name IDclassPK - the class p kstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByC_C_S_First(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
classNameId - the class name IDclassPK - the class p kstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment findByC_C_S_Last(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
classNameId - the class name IDclassPK - the class p kstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a matching k b comment could not be foundKBComment fetchByC_C_S_Last(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
classNameId - the class name IDclassPK - the class p kstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching k b comment could not be foundKBComment[] findByC_C_S_PrevAndNext(long kbCommentId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId - the primary key of the current k b commentclassNameId - the class name IDclassPK - the class p kstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchCommentException - if a k b comment with the primary key could not be foundjava.util.List<KBComment> findByC_C_S(long classNameId, long classPK, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstatuses - the statusesjava.util.List<KBComment> findByC_C_S(long classNameId, long classPK, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstatuses - the statusesstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)java.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstatuses - the statusesstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstatus - the statusstart - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeByC_C_S(long classNameId,
long classPK,
int status)
classNameId - the class name IDclassPK - the class p kstatus - the statusint countByC_C_S(long classNameId,
long classPK,
int status)
classNameId - the class name IDclassPK - the class p kstatus - the statusint countByC_C_S(long classNameId,
long classPK,
int[] statuses)
classNameId - the class name IDclassPK - the class p kstatuses - the statusesvoid cacheResult(KBComment kbComment)
kbComment - the k b commentvoid cacheResult(java.util.List<KBComment> kbComments)
kbComments - the k b commentsKBComment create(long kbCommentId)
kbCommentId - the primary key for the new k b commentKBComment remove(long kbCommentId) throws NoSuchCommentException
kbCommentId - the primary key of the k b commentNoSuchCommentException - if a k b comment with the primary key could not be foundKBComment findByPrimaryKey(long kbCommentId) throws NoSuchCommentException
NoSuchCommentException if it could not be found.kbCommentId - the primary key of the k b commentNoSuchCommentException - if a k b comment with the primary key could not be foundKBComment fetchByPrimaryKey(long kbCommentId)
null if it could not be found.kbCommentId - the primary key of the k b commentnull if a k b comment with the primary key could not be foundjava.util.Map<java.io.Serializable,KBComment> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KBComment>java.util.List<KBComment> findAll()
java.util.List<KBComment> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)java.util.List<KBComment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<KBComment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KBCommentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of k b commentsend - the upper bound of the range of k b comments (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KBComment>