Package sk.iway.iwcm.components.quiz.jpa
Interface QuizAnswerRespository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<QuizAnswerEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<QuizAnswerEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<QuizAnswerEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<QuizAnswerEntity>,org.springframework.data.repository.Repository<QuizAnswerEntity,Long>
@Repository
public interface QuizAnswerRespository
extends org.springframework.data.jpa.repository.JpaRepository<QuizAnswerEntity,Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindAllByFormId(String formId) findAllByQuizIdAndCreatedBetweenOrderByQuizQuestionId(Integer quizId, Date from, Date to) 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, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushMethods 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
-
findAllByFormId
-
findAllByQuizIdAndCreatedBetweenOrderByQuizQuestionId
List<QuizAnswerEntity> findAllByQuizIdAndCreatedBetweenOrderByQuizQuestionId(Integer quizId, Date from, Date to)
-