Interface KBCommentPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KBComment>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KBComment>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(KBComment kbComment) Caches the kb comment in the entity cache if it is enabled.void
cacheResult
(List<KBComment> kbComments) Caches the kb comments in the entity cache if it is enabled.int
countAll()
Returns the number of kb comments.int
countByC_C
(long classNameId, long classPK) Returns the number of kb comments where classNameId = ? and classPK = ?.int
countByC_C_S
(long classNameId, long classPK, int status) Returns the number of kb comments where classNameId = ? and classPK = ? and status = ?.int
countByC_C_S
(long classNameId, long classPK, int[] statuses) Returns the number of kb comments where classNameId = ? and classPK = ? and status = any ?.int
countByG_C
(long groupId, long classNameId) Returns the number of kb comments where groupId = ? and classNameId = ?.int
countByG_S
(long groupId, int status) Returns the number of kb comments where groupId = ? and status = ?.int
countByGroupId
(long groupId) Returns the number of kb comments where groupId = ?.int
countByU_C_C
(long userId, long classNameId, long classPK) Returns the number of kb comments where userId = ? and classNameId = ? and classPK = ?.int
countByUuid
(String uuid) Returns the number of kb comments where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of kb comments where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of kb comments where uuid = ? and groupId = ?.create
(long kbCommentId) Creates a new kb comment with the primary key.fetchByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where classNameId = ? and classPK = ?.fetchByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where classNameId = ? and classPK = ?.fetchByC_C_S_First
(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.fetchByC_C_S_Last
(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.fetchByG_C_First
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where groupId = ? and classNameId = ?.fetchByG_C_Last
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where groupId = ? and classNameId = ?.fetchByG_S_First
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where groupId = ? and status = ?.fetchByG_S_Last
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where groupId = ? and status = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where groupId = ?.fetchByPrimaryKey
(long kbCommentId) Returns the kb comment with the primary key or returnsnull
if it could not be found.fetchByU_C_C_First
(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.fetchByU_C_C_Last
(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the kb comment where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the kb comment where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where uuid = ?.findAll()
Returns all the kb comments.findAll
(int start, int end) Returns a range of all the kb comments.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns an ordered range of all the kb comments.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments.findByC_C
(long classNameId, long classPK) Returns all the kb comments where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end) Returns a range of all the kb comments where classNameId = ? and classPK = ?.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 kb comments where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where classNameId = ? and classPK = ?.findByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where classNameId = ? and classPK = ?.findByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where classNameId = ? and classPK = ?.findByC_C_PrevAndNext
(long kbCommentId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the kb comments before and after the current kb comment in the ordered set where classNameId = ? and classPK = ?.findByC_C_S
(long classNameId, long classPK, int status) Returns all the kb comments where classNameId = ? and classPK = ? and status = ?.findByC_C_S
(long classNameId, long classPK, int[] statuses) Returns all the kb comments where classNameId = ? and classPK = ? and status = any ?.findByC_C_S
(long classNameId, long classPK, int[] statuses, int start, int end) Returns a range of all the kb comments where classNameId = ? and classPK = ? and status = any ?.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 kb comments where classNameId = ? and classPK = ? and status = any ?.findByC_C_S
(long classNameId, long classPK, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where classNameId = ? and classPK = ? and status = ?, optionally using the finder cache.findByC_C_S
(long classNameId, long classPK, int status, int start, int end) Returns a range of all the kb comments where classNameId = ? and classPK = ? and status = ?.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 kb comments where classNameId = ? and classPK = ? and status = ?.findByC_C_S
(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where classNameId = ? and classPK = ? and status = ?.findByC_C_S_First
(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.findByC_C_S_Last
(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.findByC_C_S_PrevAndNext
(long kbCommentId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the kb comments before and after the current kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.findByG_C
(long groupId, long classNameId) Returns all the kb comments where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end) Returns a range of all the kb comments where groupId = ? and classNameId = ?.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 kb comments where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where groupId = ? and classNameId = ?.findByG_C_First
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where groupId = ? and classNameId = ?.findByG_C_Last
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where groupId = ? and classNameId = ?.findByG_C_PrevAndNext
(long kbCommentId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the kb comments before and after the current kb comment in the ordered set where groupId = ? and classNameId = ?.findByG_S
(long groupId, int status) Returns all the kb comments where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end) Returns a range of all the kb comments where groupId = ? and status = ?.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 kb comments where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where groupId = ? and status = ?.findByG_S_First
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where groupId = ? and status = ?.findByG_S_Last
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where groupId = ? and status = ?.findByG_S_PrevAndNext
(long kbCommentId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the kb comments before and after the current kb comment in the ordered set where groupId = ? and status = ?.findByGroupId
(long groupId) Returns all the kb comments where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the kb comments where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns an ordered range of all the kb comments where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long kbCommentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the kb comments before and after the current kb comment in the ordered set where groupId = ?.findByPrimaryKey
(long kbCommentId) Returns the kb comment with the primary key or throws aNoSuchCommentException
if it could not be found.findByU_C_C
(long userId, long classNameId, long classPK) Returns all the kb comments where userId = ? and classNameId = ? and classPK = ?.findByU_C_C
(long userId, long classNameId, long classPK, int start, int end) Returns a range of all the kb comments where userId = ? and classNameId = ? and classPK = ?.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 kb comments where userId = ? and classNameId = ? and classPK = ?.findByU_C_C
(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where userId = ? and classNameId = ? and classPK = ?.findByU_C_C_First
(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.findByU_C_C_Last
(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.findByU_C_C_PrevAndNext
(long kbCommentId, long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the kb comments before and after the current kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.findByUuid
(String uuid) Returns all the kb comments where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the kb comments where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns an ordered range of all the kb comments where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the kb comments where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the kb comments where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns an ordered range of all the kb comments where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long kbCommentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the kb comments before and after the current kb comment in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the kb comment where uuid = ? and groupId = ? or throws aNoSuchCommentException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long kbCommentId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the kb comments before and after the current kb comment in the ordered set where uuid = ?.remove
(long kbCommentId) Removes the kb comment with the primary key from the database.void
Removes all the kb comments from the database.void
removeByC_C
(long classNameId, long classPK) Removes all the kb comments where classNameId = ? and classPK = ? from the database.void
removeByC_C_S
(long classNameId, long classPK, int status) Removes all the kb comments where classNameId = ? and classPK = ? and status = ? from the database.void
removeByG_C
(long groupId, long classNameId) Removes all the kb comments where groupId = ? and classNameId = ? from the database.void
removeByG_S
(long groupId, int status) Removes all the kb comments where groupId = ? and status = ? from the database.void
removeByGroupId
(long groupId) Removes all the kb comments where groupId = ? from the database.void
removeByU_C_C
(long userId, long classNameId, long classPK) Removes all the kb comments where userId = ? and classNameId = ? and classPK = ? from the database.void
removeByUuid
(String uuid) Removes all the kb comments where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the kb comments where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the kb comment where uuid = ? and groupId = ? from the database.updateImpl
(KBComment kbComment) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the kb comments where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching kb comments
-
findByUuid
Returns a range of all the kb comments where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)- Returns:
- the range of matching kb comments
-
findByUuid
List<KBComment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns an ordered range of all the kb comments where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb comments
-
findByUuid
List<KBComment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb comments
-
findByUuid_First
KBComment findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the first kb comment in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByUuid_First
KBComment fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment, or
null
if a matching kb comment could not be found
-
findByUuid_Last
KBComment findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the last kb comment in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByUuid_Last
KBComment fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment, or
null
if a matching kb comment could not be found
-
findByUuid_PrevAndNext
KBComment[] findByUuid_PrevAndNext(long kbCommentId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the kb comments before and after the current kb comment in the ordered set where uuid = ?.- Parameters:
kbCommentId
- the primary key of the current kb commentuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb comment
- Throws:
NoSuchCommentException
- if a kb comment with the primary key could not be found
-
removeByUuid
Removes all the kb comments where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of kb comments where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching kb comments
-
findByUUID_G
Returns the kb comment where uuid = ? and groupId = ? or throws aNoSuchCommentException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByUUID_G
Returns the kb comment where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching kb comment, or
null
if a matching kb comment could not be found
-
fetchByUUID_G
Returns the kb comment where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching kb comment, or
null
if a matching kb comment could not be found
-
removeByUUID_G
Removes the kb comment where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the kb comment that was removed
- Throws:
NoSuchCommentException
-
countByUUID_G
Returns the number of kb comments where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching kb comments
-
findByUuid_C
Returns all the kb comments where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching kb comments
-
findByUuid_C
Returns a range of all the kb comments where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)- Returns:
- the range of matching kb comments
-
findByUuid_C
List<KBComment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns an ordered range of all the kb comments where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb comments
-
findByUuid_C
List<KBComment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb comments
-
findByUuid_C_First
KBComment findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the first kb comment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByUuid_C_First
KBComment fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment, or
null
if a matching kb comment could not be found
-
findByUuid_C_Last
KBComment findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the last kb comment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByUuid_C_Last
KBComment fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment, or
null
if a matching kb comment could not be found
-
findByUuid_C_PrevAndNext
KBComment[] findByUuid_C_PrevAndNext(long kbCommentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the kb comments before and after the current kb comment in the ordered set where uuid = ? and companyId = ?.- Parameters:
kbCommentId
- the primary key of the current kb commentuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb comment
- Throws:
NoSuchCommentException
- if a kb comment with the primary key could not be found
-
removeByUuid_C
Removes all the kb comments where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of kb comments where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching kb comments
-
findByGroupId
Returns all the kb comments where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching kb comments
-
findByGroupId
Returns a range of all the kb comments where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)- Returns:
- the range of matching kb comments
-
findByGroupId
List<KBComment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns an ordered range of all the kb comments where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb comments
-
findByGroupId
List<KBComment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb comments
-
findByGroupId_First
KBComment findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the first kb comment in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByGroupId_First
KBComment fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment, or
null
if a matching kb comment could not be found
-
findByGroupId_Last
KBComment findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the last kb comment in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByGroupId_Last
KBComment fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment, or
null
if a matching kb comment could not be found
-
findByGroupId_PrevAndNext
KBComment[] findByGroupId_PrevAndNext(long kbCommentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the kb comments before and after the current kb comment in the ordered set where groupId = ?.- Parameters:
kbCommentId
- the primary key of the current kb commentgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb comment
- Throws:
NoSuchCommentException
- if a kb comment with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the kb comments where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of kb comments where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching kb comments
-
findByG_C
Returns all the kb comments where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the matching kb comments
-
findByG_C
Returns a range of all the kb comments where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)- Returns:
- the range of matching kb comments
-
findByG_C
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 kb comments where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb comments
-
findByG_C
List<KBComment> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb comments
-
findByG_C_First
KBComment findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the first kb comment in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByG_C_First
KBComment fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment, or
null
if a matching kb comment could not be found
-
findByG_C_Last
KBComment findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the last kb comment in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByG_C_Last
KBComment fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment, or
null
if a matching kb comment could not be found
-
findByG_C_PrevAndNext
KBComment[] findByG_C_PrevAndNext(long kbCommentId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the kb comments before and after the current kb comment in the ordered set where groupId = ? and classNameId = ?.- Parameters:
kbCommentId
- the primary key of the current kb commentgroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb comment
- Throws:
NoSuchCommentException
- if a kb comment with the primary key could not be found
-
removeByG_C
void removeByG_C(long groupId, long classNameId) Removes all the kb comments where groupId = ? and classNameId = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name ID
-
countByG_C
int countByG_C(long groupId, long classNameId) Returns the number of kb comments where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the number of matching kb comments
-
findByG_S
Returns all the kb comments where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the matching kb comments
-
findByG_S
Returns a range of all the kb comments where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)- Returns:
- the range of matching kb comments
-
findByG_S
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 kb comments where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb comments
-
findByG_S
List<KBComment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb comments
-
findByG_S_First
KBComment findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the first kb comment in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByG_S_First
KBComment fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment, or
null
if a matching kb comment could not be found
-
findByG_S_Last
KBComment findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the last kb comment in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByG_S_Last
KBComment fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment, or
null
if a matching kb comment could not be found
-
findByG_S_PrevAndNext
KBComment[] findByG_S_PrevAndNext(long kbCommentId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the kb comments before and after the current kb comment in the ordered set where groupId = ? and status = ?.- Parameters:
kbCommentId
- the primary key of the current kb commentgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb comment
- Throws:
NoSuchCommentException
- if a kb comment with the primary key could not be found
-
removeByG_S
void removeByG_S(long groupId, int status) Removes all the kb comments where groupId = ? and status = ? from the database.- Parameters:
groupId
- the group IDstatus
- the status
-
countByG_S
int countByG_S(long groupId, int status) Returns the number of kb comments where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the number of matching kb comments
-
findByC_C
Returns all the kb comments where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching kb comments
-
findByC_C
Returns a range of all the kb comments where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)- Returns:
- the range of matching kb comments
-
findByC_C
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 kb comments where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb comments
-
findByC_C
List<KBComment> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb comments
-
findByC_C_First
KBComment findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the first kb comment in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByC_C_First
KBComment fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment, or
null
if a matching kb comment could not be found
-
findByC_C_Last
KBComment findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the last kb comment in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByC_C_Last
KBComment fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment, or
null
if a matching kb comment could not be found
-
findByC_C_PrevAndNext
KBComment[] findByC_C_PrevAndNext(long kbCommentId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the kb comments before and after the current kb comment in the ordered set where classNameId = ? and classPK = ?.- Parameters:
kbCommentId
- the primary key of the current kb commentclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb comment
- Throws:
NoSuchCommentException
- if a kb comment with the primary key could not be found
-
removeByC_C
void removeByC_C(long classNameId, long classPK) Removes all the kb comments where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk
-
countByC_C
int countByC_C(long classNameId, long classPK) Returns the number of kb comments where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching kb comments
-
findByU_C_C
Returns all the kb comments where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching kb comments
-
findByU_C_C
Returns a range of all the kb comments where userId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)- Returns:
- the range of matching kb comments
-
findByU_C_C
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 kb comments where userId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb comments
-
findByU_C_C
List<KBComment> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where userId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb comments
-
findByU_C_C_First
KBComment findByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the first kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByU_C_C_First
KBComment fetchByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment, or
null
if a matching kb comment could not be found
-
findByU_C_C_Last
KBComment findByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the last kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByU_C_C_Last
KBComment fetchByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment, or
null
if a matching kb comment could not be found
-
findByU_C_C_PrevAndNext
KBComment[] findByU_C_C_PrevAndNext(long kbCommentId, long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the kb comments before and after the current kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.- Parameters:
kbCommentId
- the primary key of the current kb commentuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb comment
- Throws:
NoSuchCommentException
- if a kb comment with the primary key could not be found
-
removeByU_C_C
void removeByU_C_C(long userId, long classNameId, long classPK) Removes all the kb comments where userId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pk
-
countByU_C_C
int countByU_C_C(long userId, long classNameId, long classPK) Returns the number of kb comments where userId = ? and classNameId = ? and classPK = ?.- Parameters:
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching kb comments
-
findByC_C_S
Returns all the kb comments where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the status- Returns:
- the matching kb comments
-
findByC_C_S
Returns a range of all the kb comments where classNameId = ? and classPK = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)- Returns:
- the range of matching kb comments
-
findByC_C_S
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 kb comments where classNameId = ? and classPK = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb comments
-
findByC_C_S
List<KBComment> findByC_C_S(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where classNameId = ? and classPK = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb comments
-
findByC_C_S_First
KBComment findByC_C_S_First(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the first kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByC_C_S_First
KBComment fetchByC_C_S_First(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the first kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb comment, or
null
if a matching kb comment could not be found
-
findByC_C_S_Last
KBComment findByC_C_S_Last(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the last kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment
- Throws:
NoSuchCommentException
- if a matching kb comment could not be found
-
fetchByC_C_S_Last
KBComment fetchByC_C_S_Last(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns the last kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb comment, or
null
if a matching kb comment could not be found
-
findByC_C_S_PrevAndNext
KBComment[] findByC_C_S_PrevAndNext(long kbCommentId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException Returns the kb comments before and after the current kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.- Parameters:
kbCommentId
- the primary key of the current kb commentclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb comment
- Throws:
NoSuchCommentException
- if a kb comment with the primary key could not be found
-
findByC_C_S
Returns all the kb comments where classNameId = ? and classPK = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatuses
- the statuses- Returns:
- the matching kb comments
-
findByC_C_S
Returns a range of all the kb comments where classNameId = ? and classPK = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatuses
- the statusesstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)- Returns:
- the range of matching kb comments
-
findByC_C_S
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 kb comments where classNameId = ? and classPK = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatuses
- the statusesstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb comments
-
findByC_C_S
List<KBComment> findByC_C_S(long classNameId, long classPK, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments where classNameId = ? and classPK = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatuses
- the statusesstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb comments
-
removeByC_C_S
void removeByC_C_S(long classNameId, long classPK, int status) Removes all the kb comments where classNameId = ? and classPK = ? and status = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the status
-
countByC_C_S
int countByC_C_S(long classNameId, long classPK, int status) Returns the number of kb comments where classNameId = ? and classPK = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatus
- the status- Returns:
- the number of matching kb comments
-
countByC_C_S
int countByC_C_S(long classNameId, long classPK, int[] statuses) Returns the number of kb comments where classNameId = ? and classPK = ? and status = any ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstatuses
- the statuses- Returns:
- the number of matching kb comments
-
cacheResult
Caches the kb comment in the entity cache if it is enabled.- Parameters:
kbComment
- the kb comment
-
cacheResult
Caches the kb comments in the entity cache if it is enabled.- Parameters:
kbComments
- the kb comments
-
create
Creates a new kb comment with the primary key. Does not add the kb comment to the database.- Parameters:
kbCommentId
- the primary key for the new kb comment- Returns:
- the new kb comment
-
remove
Removes the kb comment with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kbCommentId
- the primary key of the kb comment- Returns:
- the kb comment that was removed
- Throws:
NoSuchCommentException
- if a kb comment with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the kb comment with the primary key or throws aNoSuchCommentException
if it could not be found.- Parameters:
kbCommentId
- the primary key of the kb comment- Returns:
- the kb comment
- Throws:
NoSuchCommentException
- if a kb comment with the primary key could not be found
-
fetchByPrimaryKey
Returns the kb comment with the primary key or returnsnull
if it could not be found.- Parameters:
kbCommentId
- the primary key of the kb comment- Returns:
- the kb comment, or
null
if a kb comment with the primary key could not be found
-
findAll
Returns all the kb comments.- Returns:
- the kb comments
-
findAll
Returns a range of all the kb comments.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
start
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)- Returns:
- the range of kb comments
-
findAll
List<KBComment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) Returns an ordered range of all the kb comments.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
start
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of kb comments
-
findAll
List<KBComment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb comments.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBCommentModelImpl
.- Parameters:
start
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kb comments
-
removeAll
void removeAll()Removes all the kb comments from the database. -
countAll
int countAll()Returns the number of kb comments.- Returns:
- the number of kb comments
-