Interface KBCommentPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KBComment>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KBComment>

@ProviderType public interface KBCommentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KBComment>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KBComment>
The persistence interface for the kb comment service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    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
    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 returns null 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 returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the kb comment where uuid = ? and groupId = ? or returns null 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 = ?.
    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 a NoSuchCommentException 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 = ?.
    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 a NoSuchCommentException 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
    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

      List<KBComment> findByUuid(String uuid)
      Returns all the kb comments where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching kb comments
    • findByUuid

      List<KBComment> findByUuid(String uuid, int start, int end)
      Returns a range of all the kb comments where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kb comments
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 comment
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kb comment
      Throws:
      NoSuchCommentException - if a kb comment with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the kb comments where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of kb comments where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching kb comments
    • findByUUID_G

      KBComment findByUUID_G(String uuid, long groupId) throws NoSuchCommentException
      Returns the kb comment where uuid = ? and groupId = ? or throws a NoSuchCommentException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching kb comment
      Throws:
      NoSuchCommentException - if a matching kb comment could not be found
    • fetchByUUID_G

      KBComment fetchByUUID_G(String uuid, long groupId)
      Returns the kb comment where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching kb comment, or null if a matching kb comment could not be found
    • fetchByUUID_G

      KBComment fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the kb comment where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kb comment, or null if a matching kb comment could not be found
    • removeByUUID_G

      KBComment removeByUUID_G(String uuid, long groupId) throws NoSuchCommentException
      Removes the kb comment where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the kb comment that was removed
      Throws:
      NoSuchCommentException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of kb comments where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching kb comments
    • findByUuid_C

      List<KBComment> findByUuid_C(String uuid, long companyId)
      Returns all the kb comments where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching kb comments
    • findByUuid_C

      List<KBComment> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the kb comments where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kb comments
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 comment
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kb comment
      Throws:
      NoSuchCommentException - if a kb comment with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the kb comments where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of kb comments where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching kb comments
    • findByGroupId

      List<KBComment> findByGroupId(long groupId)
      Returns all the kb comments where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching kb comments
    • findByGroupId

      List<KBComment> findByGroupId(long groupId, int start, int end)
      Returns a range of all the kb comments where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of kb comments
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 comment
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<KBComment> findByG_C(long groupId, long classNameId)
      Returns all the kb comments where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      Returns:
      the matching kb comments
    • findByG_C

      List<KBComment> findByG_C(long groupId, long classNameId, int start, int end)
      Returns a range of all the kb comments where groupId = ? and classNameId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of kb comments
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 comment
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - 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 ID
      classNameId - the class name ID
      Returns:
      the number of matching kb comments
    • findByG_S

      List<KBComment> findByG_S(long groupId, int status)
      Returns all the kb comments where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the matching kb comments
    • findByG_S

      List<KBComment> findByG_S(long groupId, int status, int start, int end)
      Returns a range of all the kb comments where groupId = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of kb comments
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 comment
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - 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 ID
      status - the status
      Returns:
      the number of matching kb comments
    • findByC_C

      List<KBComment> findByC_C(long classNameId, long classPK)
      Returns all the kb comments where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching kb comments
    • findByC_C

      List<KBComment> findByC_C(long classNameId, long classPK, int start, int end)
      Returns a range of all the kb comments where classNameId = ? and classPK = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of kb comments
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 comment
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classPK - 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 ID
      classPK - the class pk
      Returns:
      the number of matching kb comments
    • findByU_C_C

      List<KBComment> findByU_C_C(long userId, long classNameId, long classPK)
      Returns all the kb comments where userId = ? and classNameId = ? and classPK = ?.
      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching kb comments
    • findByU_C_C

      List<KBComment> 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of kb comments
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 comment
      userId - the user ID
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classNameId - the class name ID
      classPK - 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 ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching kb comments
    • findByC_C_S

      List<KBComment> findByC_C_S(long classNameId, long classPK, int status)
      Returns all the kb comments where classNameId = ? and classPK = ? and status = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      Returns:
      the matching kb comments
    • findByC_C_S

      List<KBComment> 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      start - the lower bound of the range of kb comments
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 comment
      classNameId - the class name ID
      classPK - the class pk
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<KBComment> findByC_C_S(long classNameId, long classPK, int[] statuses)
      Returns all the kb comments where classNameId = ? and classPK = ? and status = any ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      statuses - the statuses
      Returns:
      the matching kb comments
    • findByC_C_S

      List<KBComment> 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 ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      statuses - the statuses
      start - the lower bound of the range of kb comments
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      statuses - the statuses
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      statuses - the statuses
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      classPK - the class pk
      status - 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 ID
      classPK - the class pk
      status - 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 ID
      classPK - the class pk
      statuses - the statuses
      Returns:
      the number of matching kb comments
    • cacheResult

      void cacheResult(KBComment kbComment)
      Caches the kb comment in the entity cache if it is enabled.
      Parameters:
      kbComment - the kb comment
    • cacheResult

      void cacheResult(List<KBComment> kbComments)
      Caches the kb comments in the entity cache if it is enabled.
      Parameters:
      kbComments - the kb comments
    • create

      KBComment create(long kbCommentId)
      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

      KBComment remove(long kbCommentId) throws NoSuchCommentException
      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

      KBComment updateImpl(KBComment kbComment)
    • findByPrimaryKey

      KBComment findByPrimaryKey(long kbCommentId) throws NoSuchCommentException
      Returns the kb comment with the primary key or throws a NoSuchCommentException 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

      KBComment fetchByPrimaryKey(long kbCommentId)
      Returns the kb comment with the primary key or returns null 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

      List<KBComment> findAll()
      Returns all the kb comments.
      Returns:
      the kb comments
    • findAll

      List<KBComment> findAll(int start, int end)
      Returns a range of all the kb comments.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      start - the lower bound of the range of kb comments
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl.

      Parameters:
      start - the lower bound of the range of kb comments
      end - the upper bound of the range of kb comments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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