Package edu.ucsb.cs.scaffold.repository
Interface PracticeProblemRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PracticeProblem,,Long> org.springframework.data.jpa.repository.JpaRepository<PracticeProblem,,Long> org.springframework.data.repository.ListCrudRepository<PracticeProblem,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<PracticeProblem,,Long> org.springframework.data.repository.PagingAndSortingRepository<PracticeProblem,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<PracticeProblem>,org.springframework.data.repository.Repository<PracticeProblem,Long>
public interface PracticeProblemRepository
extends org.springframework.data.jpa.repository.JpaRepository<PracticeProblem,Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindByCourseId(Long courseId) findByCourseIdAndConceptId(Long courseId, Long conceptId) findByCourseIdAndConceptIdAndUrl(Long courseId, Long conceptId, String url) 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
-
findByCourseIdAndConceptId
-
findByCourseIdAndConceptIdAndUrl
Optional<PracticeProblem> findByCourseIdAndConceptIdAndUrl(Long courseId, Long conceptId, String url)
-