Package one.suhas.rmc.repository
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 TypeMethodDescriptionfindAllByApprovedIsFalse(org.springframework.data.domain.Sort createdDate) findAllByRmcClass(RMCClass rmcClass) findById(long id) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findById
-
findAllByRmcClass
-
findAllByApprovedIsFalse
-