Package edu.ucsb.cs.scaffold.repository
Interface PlScaffoldAssessmentRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PlScaffoldAssessment,,Long> org.springframework.data.jpa.repository.JpaRepository<PlScaffoldAssessment,,Long> org.springframework.data.repository.ListCrudRepository<PlScaffoldAssessment,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<PlScaffoldAssessment,,Long> org.springframework.data.repository.PagingAndSortingRepository<PlScaffoldAssessment,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<PlScaffoldAssessment>,org.springframework.data.repository.Repository<PlScaffoldAssessment,Long>
@Repository
public interface PlScaffoldAssessmentRepository
extends org.springframework.data.jpa.repository.JpaRepository<PlScaffoldAssessment,Long>
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByPlInstanceId(Long plInstanceId) voiddeleteByPlQuestionId(Long plQuestionId) voiddeleteByPlRepoId(Long plRepoId) booleanexistsByPlRepoIdAndPlInstanceIdAndPlQuestionId(Long plRepoId, Long plInstanceId, Long plQuestionId) findByPlQuestionIdAndPlInstanceId(Long plQuestionId, Long plInstanceId) 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
-
findByPlQuestionIdAndPlInstanceId
Optional<PlScaffoldAssessment> findByPlQuestionIdAndPlInstanceId(Long plQuestionId, Long plInstanceId) -
existsByPlRepoIdAndPlInstanceIdAndPlQuestionId
-
deleteByPlRepoId
-
deleteByPlInstanceId
-
deleteByPlQuestionId
-