Interface StudentImageRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<StudentImage,
,Long> org.springframework.data.jpa.repository.JpaRepository<StudentImage,
,Long> org.springframework.data.repository.ListCrudRepository<StudentImage,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<StudentImage,
,Long> org.springframework.data.repository.PagingAndSortingRepository<StudentImage,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<StudentImage>
,org.springframework.data.repository.Repository<StudentImage,
Long>
@Repository
public interface StudentImageRepository
extends org.springframework.data.jpa.repository.JpaRepository<StudentImage,Long>
A repository which is used to store the students images.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteStudentImageByStudentId
(Long studentId) Deletes images using the students id's.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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
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
-
deleteStudentImageByStudentId
Deletes images using the students id's.- Parameters:
studentId
- The id of the student.
-