Interface CourseOptionRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<CourseOption,,CourseOptionKey> org.springframework.data.jpa.repository.JpaRepository<CourseOption,,CourseOptionKey> org.springframework.data.repository.ListCrudRepository<CourseOption,,CourseOptionKey> org.springframework.data.repository.ListPagingAndSortingRepository<CourseOption,,CourseOptionKey> org.springframework.data.repository.PagingAndSortingRepository<CourseOption,,CourseOptionKey> org.springframework.data.repository.query.QueryByExampleExecutor<CourseOption>,org.springframework.data.repository.Repository<CourseOption,CourseOptionKey>
public interface CourseOptionRepository
extends org.springframework.data.jpa.repository.JpaRepository<CourseOption,CourseOptionKey>
-
Method Summary
Modifier and TypeMethodDescriptionfindByCourseId(Long courseId) findByCourseIdAndOption(Long courseId, String option) 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
-
findByCourseId
-
findByCourseIdAndOption
-