Uses of Enum Class
com.markvarga21.studentmanager.util.StudentImageType
Packages that use StudentImageType
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.
A package which contains utility classes.
-
Uses of StudentImageType in com.markvarga21.studentmanager.controller
Methods in com.markvarga21.studentmanager.controller with parameters of type StudentImageTypeModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>
FileUploadController.changeImage
(Long studentId, StudentImageType imageType, org.springframework.web.multipart.MultipartFile file) Modifies the given type of image of the student.org.springframework.http.ResponseEntity<byte[]>
FileUploadController.getImageForType
(Long studentId, StudentImageType imageType) Retrieves a single image of the give type for a student identified by it's id. -
Uses of StudentImageType in com.markvarga21.studentmanager.service.file
Methods in com.markvarga21.studentmanager.service.file with parameters of type StudentImageTypeModifier 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.byte[]
FileUploadService.getImageForType
(Long studentId, StudentImageType type) A method which is used to get the images for the given type and student id. -
Uses of StudentImageType in com.markvarga21.studentmanager.service.file.impl
Methods in com.markvarga21.studentmanager.service.file.impl with parameters of type StudentImageTypeModifier 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.byte[]
FileUploadServiceImpl.getImageForType
(Long studentId, StudentImageType type) A method which is used to get the image for the given type and student id. -
Uses of StudentImageType in com.markvarga21.studentmanager.util
Methods in com.markvarga21.studentmanager.util that return StudentImageTypeModifier and TypeMethodDescriptionstatic StudentImageType
Returns the enum constant of this class with the specified name.static StudentImageType[]
StudentImageType.values()
Returns an array containing the constants of this enum class, in the order they are declared.