Uses of Class
com.markvarga21.studentmanager.entity.StudentImage
Packages that use StudentImage
Package
Description
This package contains the controllers of the application.
This package contains the interface of the file service.
This package contains the implementation of the file service.
-
Uses of StudentImage in com.markvarga21.studentmanager.controller
Methods in com.markvarga21.studentmanager.controller that return types with arguments of type StudentImageModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<StudentImage>
FileUploadController.getAllImages
(Integer page, Integer size) Fetches all the images from the database.org.springframework.http.ResponseEntity<StudentImage>
FileUploadController.getImagesForStudentId
(Long studentId) Fetches both the pictures of the student by their id. -
Uses of StudentImage in com.markvarga21.studentmanager.service.file
Methods in com.markvarga21.studentmanager.service.file that return StudentImageModifier and TypeMethodDescriptionFileUploadService.changeImage
(Long studentId, StudentImageType imageType, org.springframework.web.multipart.MultipartFile file) A method which is used to change the images for the given type and student.FileUploadService.getStudentImageById
(Long studentId) A method which is used to get the images for the given student.Methods in com.markvarga21.studentmanager.service.file that return types with arguments of type StudentImageModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<StudentImage>
FileUploadService.getAllImages
(Integer page, Integer size) A method which is used to get all the student images from the database. -
Uses of StudentImage in com.markvarga21.studentmanager.service.file.impl
Methods in com.markvarga21.studentmanager.service.file.impl that return StudentImageModifier and TypeMethodDescriptionFileUploadServiceImpl.changeImage
(Long studentId, StudentImageType imageType, org.springframework.web.multipart.MultipartFile file) A method which is used to change the image for the given type and student id.FileUploadServiceImpl.getStudentImageById
(Long studentId) A method which is used to get the image for the given student ID.Methods in com.markvarga21.studentmanager.service.file.impl that return types with arguments of type StudentImageModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<StudentImage>
FileUploadServiceImpl.getAllImages
(Integer page, Integer size) A method used to get all the student images from the database.