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) voidupdateQuizId(Integer newQuizId, Integer oldQuizId) 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
-
findAllByQuizId
-
findTopByQuizIdOrderByPositionDesc
-
updateQuizId
-