Interface TextReviewRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<TextReview,Long>, org.springframework.data.jpa.repository.JpaRepository<TextReview,Long>, org.springframework.data.repository.ListCrudRepository<TextReview,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<TextReview,Long>, org.springframework.data.repository.PagingAndSortingRepository<TextReview,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<TextReview>, org.springframework.data.repository.Repository<TextReview,Long>

public interface TextReviewRepository extends org.springframework.data.jpa.repository.JpaRepository<TextReview,Long>
An interface to communicate with the database to find reviews with text.
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByApprovedIsFalse(org.springframework.data.domain.Sort createdDate)
     
     
    findById(long id)
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findById

      TextReview findById(long id)
    • findAllByRmcClass

      List<TextReview> findAllByRmcClass(RMCClass rmcClass)
    • findAllByApprovedIsFalse

      List<TextReview> findAllByApprovedIsFalse(org.springframework.data.domain.Sort createdDate)