Package sk.iway.iwcm.components.quiz.jpa
Interface QuizQuestionRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<QuizQuestionEntity,
,Long> org.springframework.data.jpa.repository.JpaRepository<QuizQuestionEntity,
,Long> org.springframework.data.repository.PagingAndSortingRepository<QuizQuestionEntity,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<QuizQuestionEntity>
,org.springframework.data.repository.Repository<QuizQuestionEntity,
Long>
@Repository
public interface QuizQuestionRepository
extends org.springframework.data.jpa.repository.JpaRepository<QuizQuestionEntity,Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindAllByQuizId
(Integer quizId) void
updateQuizId
(Integer newQuizId, Integer oldQuizId) 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, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush
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
-
findAllByQuizId
-
findTopByQuizIdOrderByPositionDesc
-
updateQuizId
-