Index

A B C D E F G H I J L M O P R S T U V X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addToken(String) - Method in class com.markvarga21.studentmanager.service.auth.impl.TokenManagementServiceImpl
Adds a token to the database.
addToken(String) - Method in interface com.markvarga21.studentmanager.service.auth.TokenManagementService
Adds a token to the database.
ADMIN - Enum constant in enum class com.markvarga21.studentmanager.dto.Role
The ADMIN role.
AdminUserInit - Class in com.markvarga21.studentmanager.util
A util class for initiating the administrator user on startup if not already existing.
AdminUserInit() - Constructor for class com.markvarga21.studentmanager.util.AdminUserInit
 
ApiError - Class in com.markvarga21.studentmanager.exception.util
A custom class for sending useful information in a ResponseEntity, when an exception occurs in the application.
ApiError() - Constructor for class com.markvarga21.studentmanager.exception.util.ApiError
 
AppAccessDeniedHandler - Class in com.markvarga21.studentmanager.exception.handler.security
A handler for access denied exceptions.
AppAccessDeniedHandler() - Constructor for class com.markvarga21.studentmanager.exception.handler.security.AppAccessDeniedHandler
 
AppAuthenticationEntryPoint - Class in com.markvarga21.studentmanager.config.security
The entry point for the application regarding the authentication.
AppAuthenticationEntryPoint() - Constructor for class com.markvarga21.studentmanager.config.security.AppAuthenticationEntryPoint
 
ApplicationConfiguration - Class in com.markvarga21.studentmanager.config
Configuration class for setting up the application's beans.
ApplicationConfiguration() - Constructor for class com.markvarga21.studentmanager.config.ApplicationConfiguration
 
ApplicationExceptionHandler - Class in com.markvarga21.studentmanager.exception.handler
A custom exception handler for dealing with certain exceptions in the applications.
ApplicationExceptionHandler() - Constructor for class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
 
AppLogoutSuccessHandler - Class in com.markvarga21.studentmanager.config.security
The logout success handler for the application.
AppLogoutSuccessHandler() - Constructor for class com.markvarga21.studentmanager.config.security.AppLogoutSuccessHandler
 
AppUser - Class in com.markvarga21.studentmanager.entity
The AppUser class is used to represent the user entity.
AppUser() - Constructor for class com.markvarga21.studentmanager.entity.AppUser
 
AppUserController - Class in com.markvarga21.studentmanager.controller
The controller for the user authentication.
AppUserController() - Constructor for class com.markvarga21.studentmanager.controller.AppUserController
 
AppUserDetailsService - Class in com.markvarga21.studentmanager.service.auth.security
The AppUserDetailsService class is used to implement the UserDetailsService interface.
AppUserDetailsService() - Constructor for class com.markvarga21.studentmanager.service.auth.security.AppUserDetailsService
 
AppUserRepository - Interface in com.markvarga21.studentmanager.repository
The app user repository holding the users credentials.
AppUserService - Interface in com.markvarga21.studentmanager.service.auth
The AppUserService interface containing methods for handling user related operations.
AppUserServiceImpl - Class in com.markvarga21.studentmanager.service.auth.impl
The AppUserServiceImpl class is used to implement the AppUserService interface.
AppUserServiceImpl() - Constructor for class com.markvarga21.studentmanager.service.auth.impl.AppUserServiceImpl
 
authenticationManager() - Method in class com.markvarga21.studentmanager.config.security.SecurityConfiguration
This method is used to create an AuthenticationManager bean.
authenticationProvider() - Method in class com.markvarga21.studentmanager.config.security.SecurityConfiguration
This method is used to create an AuthenticationProvider bean.
AuthError - Class in com.markvarga21.studentmanager.exception.util
A util class which contains information about an access-denied authorization problem.
AuthError() - Constructor for class com.markvarga21.studentmanager.exception.util.AuthError
 
AZURE_API_KEY_HEADER - Static variable in class com.markvarga21.studentmanager.config.ApplicationConfiguration
The header name used by Azure's Face API for accessing its services.

B

blacklistToken(String) - Method in class com.markvarga21.studentmanager.service.auth.impl.TokenManagementServiceImpl
Blacklist a token for revoking further usages of it.
blacklistToken(String) - Method in interface com.markvarga21.studentmanager.service.auth.TokenManagementService
Blacklist a token.

C

cacheManager(RedisConnectionFactory) - Method in class com.markvarga21.studentmanager.config.ApplicationConfiguration
A bean created for caching the data.
changeImage(Long, StudentImageType, MultipartFile) - Method in class com.markvarga21.studentmanager.controller.FileUploadController
Modifies the given type of image of the student.
changeImage(Long, StudentImageType, MultipartFile) - Method in interface com.markvarga21.studentmanager.service.file.FileUploadService
A method which is used to change the images for the given type and student.
changeImage(Long, StudentImageType, MultipartFile) - Method in class com.markvarga21.studentmanager.service.file.impl.FileUploadServiceImpl
A method which is used to change the image for the given type and student id.
com.markvarga21.studentmanager - package com.markvarga21.studentmanager
A package containing the core application.
com.markvarga21.studentmanager.config - package com.markvarga21.studentmanager.config
This package contains the necessary configurations for the application.
com.markvarga21.studentmanager.config.security - package com.markvarga21.studentmanager.config.security
This package contains the security configuration classes.
com.markvarga21.studentmanager.controller - package com.markvarga21.studentmanager.controller
This package contains the controllers of the application.
com.markvarga21.studentmanager.dto - package com.markvarga21.studentmanager.dto
This package contains the DTO's of the application.
com.markvarga21.studentmanager.entity - package com.markvarga21.studentmanager.entity
This package contains the entities of the application.
com.markvarga21.studentmanager.exception - package com.markvarga21.studentmanager.exception
A package containing custom made exceptions.
com.markvarga21.studentmanager.exception.handler - package com.markvarga21.studentmanager.exception.handler
This package contains custom exception handlers.
com.markvarga21.studentmanager.exception.handler.security - package com.markvarga21.studentmanager.exception.handler.security
This package contains the classes that handle the exceptions thrown by the security layer.
com.markvarga21.studentmanager.exception.util - package com.markvarga21.studentmanager.exception.util
This package contains exception related util classes.
com.markvarga21.studentmanager.mapping - package com.markvarga21.studentmanager.mapping
A package which contains mapping utilities.
com.markvarga21.studentmanager.repository - package com.markvarga21.studentmanager.repository
A package containing the applications repositories.
com.markvarga21.studentmanager.service - package com.markvarga21.studentmanager.service
A package containing the interfaces for the main services.
com.markvarga21.studentmanager.service.auth - package com.markvarga21.studentmanager.service.auth
A package for handling authentication and authorization.
com.markvarga21.studentmanager.service.auth.impl - package com.markvarga21.studentmanager.service.auth.impl
This package contains the implementation of the authentication service.
com.markvarga21.studentmanager.service.auth.security - package com.markvarga21.studentmanager.service.auth.security
This package contains the security related configuration classes.
com.markvarga21.studentmanager.service.auth.webtoken - package com.markvarga21.studentmanager.service.auth.webtoken
This package contains the classes that are responsible for generating and validating JWT tokens.
com.markvarga21.studentmanager.service.faceapi - package com.markvarga21.studentmanager.service.faceapi
A package containing the service interfaces relating to the Face API.
com.markvarga21.studentmanager.service.faceapi.impl - package com.markvarga21.studentmanager.service.faceapi.impl
A package containing the service implementations relating to the Face API.
com.markvarga21.studentmanager.service.file - package com.markvarga21.studentmanager.service.file
This package contains the interface of the file service.
com.markvarga21.studentmanager.service.file.impl - package com.markvarga21.studentmanager.service.file.impl
This package contains the implementation of the file service.
com.markvarga21.studentmanager.service.form - package com.markvarga21.studentmanager.service.form
A package containing service interfaces related to Azure's Form Recognizer's services.
com.markvarga21.studentmanager.service.form.impl - package com.markvarga21.studentmanager.service.form.impl
A package containing service implementations related to Azure's Form Recognizer's services.
com.markvarga21.studentmanager.service.impl - package com.markvarga21.studentmanager.service.impl
A package containing the implementations for the main student service.
com.markvarga21.studentmanager.service.mail - package com.markvarga21.studentmanager.service.mail
This package contains classes that are responsible for sending emails.
com.markvarga21.studentmanager.service.mail.impl - package com.markvarga21.studentmanager.service.mail.impl
This package contains the implementation of the mailing service.
com.markvarga21.studentmanager.service.report - package com.markvarga21.studentmanager.service.report
This package contains the classes that are responsible for handling reports.
com.markvarga21.studentmanager.service.report.impl - package com.markvarga21.studentmanager.service.report.impl
This package contains the implementation of the reporting service.
com.markvarga21.studentmanager.service.validation - package com.markvarga21.studentmanager.service.validation
Contains classes for controlling and accessing validation (facial and form) data.
com.markvarga21.studentmanager.service.validation.face - package com.markvarga21.studentmanager.service.validation.face
Contains interfaces for validation.
com.markvarga21.studentmanager.service.validation.face.impl - package com.markvarga21.studentmanager.service.validation.face.impl
This package contains the implementation of the file service.
com.markvarga21.studentmanager.service.validation.passport - package com.markvarga21.studentmanager.service.validation.passport
Contains interfaces for accessing passport validation data.
com.markvarga21.studentmanager.service.validation.passport.impl - package com.markvarga21.studentmanager.service.validation.passport.impl
Contains implementation for accessing passport validation data.
com.markvarga21.studentmanager.util - package com.markvarga21.studentmanager.util
A package which contains utility classes.
com.markvarga21.studentmanager.util.validation - package com.markvarga21.studentmanager.util.validation
This package contains classes that are used to validate exported JSON and XML data.
commence(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class com.markvarga21.studentmanager.config.security.AppAuthenticationEntryPoint
This method is used to commence the authentication.
compressImage(MultipartFile) - Static method in class com.markvarga21.studentmanager.util.ImageCompressor
Compresses the given image.
corsConfigurationSource() - Method in class com.markvarga21.studentmanager.config.security.SecurityConfiguration
This method is used to configure the CORS configuration source.
COUNTRIES - Static variable in class com.markvarga21.studentmanager.util.CountryNames
The country codes with their codes in an inlined String format.
CountryNameFetcher - Class in com.markvarga21.studentmanager.util
A util class for converting a country code to the actual name of the country.
CountryNameFetcher() - Constructor for class com.markvarga21.studentmanager.util.CountryNameFetcher
 
CountryNames - Class in com.markvarga21.studentmanager.util
A util class storing the country codes with their official names.
CREATE - Enum constant in enum class com.markvarga21.studentmanager.exception.OperationType
An operations which involves creating an object.
createPassportValidationData(PassportValidationData) - Method in class com.markvarga21.studentmanager.controller.PassportValidationController
Creates a new passport validation data.
createPassportValidationData(PassportValidationData) - Method in class com.markvarga21.studentmanager.service.validation.passport.impl.PassportValidationServiceImpl
Creates a new passport validation data.
createPassportValidationData(PassportValidationData) - Method in interface com.markvarga21.studentmanager.service.validation.passport.PassportValidationService
Creates a new passport validation data.
createPassportValidationDataForStudent(StudentDto) - Static method in class com.markvarga21.studentmanager.entity.PassportValidationData
Creates a new passport validation data from the provided StudentDto.
createStudent(StudentDto, String, String) - Method in class com.markvarga21.studentmanager.controller.StudentController
Saves and validates a student in the database and then returns it.
createStudent(StudentDto, String, String) - Method in class com.markvarga21.studentmanager.service.impl.StudentServiceImpl
Validates-, and then persists the student into the database.
createStudent(StudentDto, String, String) - Method in interface com.markvarga21.studentmanager.service.StudentService
Validates and then persists a student in the database.

D

DateDeserializer - Class in com.markvarga21.studentmanager.util
A utility class which is used to deserialize the String representation of a date.
DateValidator - Class in com.markvarga21.studentmanager.util.validation
A utility class which is used to validate dates.
DEFAULT_SIZE_LIMIT - Static variable in class com.markvarga21.studentmanager.util.ImageCompressor
The maximum file size accepted by the database in bytes.
DELETE - Enum constant in enum class com.markvarga21.studentmanager.exception.OperationType
An operations which involves deleting an object.
deleteByStudentId(Long) - Method in interface com.markvarga21.studentmanager.repository.StudentAppUserRepository
This method is used to delete a student app user by the student's ID.
deleteExpiredTokens() - Method in class com.markvarga21.studentmanager.service.auth.impl.TokenManagementServiceImpl
Deletes expired tokens from the database.
deleteExpiredTokens() - Method in interface com.markvarga21.studentmanager.service.auth.TokenManagementService
Deletes expired tokens from the database.
deleteExpiredTokens() - Method in class com.markvarga21.studentmanager.util.TokenDeleter
Deletes expired tokens every day at midnight.
deleteFace(String) - Method in interface com.markvarga21.studentmanager.service.faceapi.FaceApiService
Deletes the face with the given passport number.
deleteFace(String) - Method in class com.markvarga21.studentmanager.service.faceapi.impl.FaceApiServiceImpl
Deletes the facial validation data for the given passport number.
deleteFacialValidationDataByPassportNumber(String) - Method in class com.markvarga21.studentmanager.controller.FacialValidationController
Deletes a facial validation data with the given passport number.
deleteFacialValidationDataByPassportNumber(String) - Method in interface com.markvarga21.studentmanager.repository.FacialValidationDataRepository
Deletes a facial validation data indentified by passport number.
deleteFacialValidationDataByPassportNumber(String) - Method in interface com.markvarga21.studentmanager.service.validation.face.FacialValidationService
Deletes the facial validation data by passport number.
deleteFacialValidationDataByPassportNumber(String) - Method in class com.markvarga21.studentmanager.service.validation.face.impl.FacialValidationServiceImpl
Deletes a facial validation data by passport number.
deleteImage(Long) - Method in class com.markvarga21.studentmanager.controller.FileUploadController
Deletes the student's passport- and portrait image from the database using their id's.
deleteImage(Long) - Method in interface com.markvarga21.studentmanager.service.file.FileUploadService
A method which is used to delete the images from the database.
deleteImage(Long) - Method in class com.markvarga21.studentmanager.service.file.impl.FileUploadServiceImpl
A method used to delete the images from the database for a given student id.
deletePassportValidationByPassportNumber(String) - Method in interface com.markvarga21.studentmanager.service.form.FormRecognizerService
Deletes a passport validation data identified by the passport number.
deletePassportValidationByPassportNumber(String) - Method in class com.markvarga21.studentmanager.service.form.impl.FormRecognizerServiceImpl
Deletes a passport validation data identified by the passport number.
deletePassportValidationData(String) - Method in class com.markvarga21.studentmanager.controller.PassportValidationController
Deletes a passport validation data with the given ID.
deletePassportValidationData(String) - Method in class com.markvarga21.studentmanager.service.validation.passport.impl.PassportValidationServiceImpl
Deletes the passport validation data with the given ID.
deletePassportValidationData(String) - Method in interface com.markvarga21.studentmanager.service.validation.passport.PassportValidationService
Deletes a passport validation data with the given ID.
deletePassportValidationDataByPassportNumber(String) - Method in interface com.markvarga21.studentmanager.repository.PassportValidationDataRepository
Deletes a passport validation data by the passport number.
deleteReport(Long) - Method in class com.markvarga21.studentmanager.controller.ReportingController
Deletes a report by its id.
deleteReport(Long) - Method in class com.markvarga21.studentmanager.service.report.impl.ReportServiceImpl
Deletes a report.
deleteReport(Long) - Method in interface com.markvarga21.studentmanager.service.report.ReportService
Retrieves all reports.
deleteStudentById(Long) - Method in class com.markvarga21.studentmanager.controller.StudentController
Deletes a student and then retrieves it.
deleteStudentById(Long) - Method in class com.markvarga21.studentmanager.service.impl.StudentServiceImpl
Deletes a student by its ID.
deleteStudentById(Long) - Method in interface com.markvarga21.studentmanager.service.StudentService
Deletes a student by its ID.
deleteStudentImageByStudentId(Long) - Method in interface com.markvarga21.studentmanager.repository.StudentImageRepository
Deletes images using the students id's.
deleteUser(Long) - Method in class com.markvarga21.studentmanager.controller.AppUserController
Endpoint for deleting a user.
deleteUserById(Long) - Method in interface com.markvarga21.studentmanager.service.auth.AppUserService
Method for deleting a user from the database.
deleteUserById(Long) - Method in class com.markvarga21.studentmanager.service.auth.impl.AppUserServiceImpl
Method for deleting a user from the database.
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.markvarga21.studentmanager.util.LocalDateDeserializer
Deserializes the String into a LocalDate.
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.markvarga21.studentmanager.config.security.JwtAuthFilter
Method for internal filtering.

E

EMPTY_FIELD_VALUE - Static variable in class com.markvarga21.studentmanager.service.form.impl.FormRecognizerServiceImpl
The default value if the field is empty.
equals(Object) - Method in class com.markvarga21.studentmanager.dto.StudentDto
Checks if two students are equal.
ExportValidatorController - Class in com.markvarga21.studentmanager.controller
A controller class, which is used to validate exported XML and JSON data with predefined schemas.
ExportValidatorController() - Constructor for class com.markvarga21.studentmanager.controller.ExportValidatorController
 
extractDataFromPassport(MultipartFile) - Method in interface com.markvarga21.studentmanager.service.form.FormRecognizerService
Extracts and returns the data from the passport.
extractDataFromPassport(MultipartFile) - Method in class com.markvarga21.studentmanager.service.form.impl.FormRecognizerServiceImpl
Extracts and returns the data from the passport.

F

FaceApiResponse - Class in com.markvarga21.studentmanager.dto
A utility class for correctly mapping the response from the Face API to POJO.
FaceApiResponse() - Constructor for class com.markvarga21.studentmanager.dto.FaceApiResponse
 
FaceApiService - Interface in com.markvarga21.studentmanager.service.faceapi
An interface for validating and comparing the faces on the passport and the selfie itself.
FaceApiServiceImpl - Class in com.markvarga21.studentmanager.service.faceapi.impl
A service which uses Azure's Face API to compare two faces.
FaceApiServiceImpl() - Constructor for class com.markvarga21.studentmanager.service.faceapi.impl.FaceApiServiceImpl
 
FaceController - Class in com.markvarga21.studentmanager.controller
A controller which is used to make Face related operations.
FaceController() - Constructor for class com.markvarga21.studentmanager.controller.FaceController
 
FaceDetectionResponse - Class in com.markvarga21.studentmanager.dto
A utility class for mapping the main response from Azure's Face API to a POJO.
FaceDetectionResponse() - Constructor for class com.markvarga21.studentmanager.dto.FaceDetectionResponse
 
FaceRectangle - Class in com.markvarga21.studentmanager.dto
A utility class for mapping a part of the response from Azure's Face API to a POJO.
FaceRectangle() - Constructor for class com.markvarga21.studentmanager.dto.FaceRectangle
 
FaceValidationDataNotFoundException - Exception in com.markvarga21.studentmanager.exception
A custom exception when the facial validation data is not found in the database.
FaceValidationDataNotFoundException(String) - Constructor for exception com.markvarga21.studentmanager.exception.FaceValidationDataNotFoundException
The default constructor.
FacialValidationController - Class in com.markvarga21.studentmanager.controller
A controller which is used to make facial validations.
FacialValidationController() - Constructor for class com.markvarga21.studentmanager.controller.FacialValidationController
 
FacialValidationData - Class in com.markvarga21.studentmanager.entity
A class for storing the facial validation data.
FacialValidationData() - Constructor for class com.markvarga21.studentmanager.entity.FacialValidationData
 
FacialValidationDataRepository - Interface in com.markvarga21.studentmanager.repository
The FacialValidationDataRepository interface is used to store the facial validation data in the database.
FacialValidationService - Interface in com.markvarga21.studentmanager.service.validation.face
The FacialValidationService interface is used to manipulate facial validation data.
FacialValidationServiceImpl - Class in com.markvarga21.studentmanager.service.validation.face.impl
The FacialValidationServiceImpl class is used to manipulate facial validation data.
FacialValidationServiceImpl() - Constructor for class com.markvarga21.studentmanager.service.validation.face.impl.FacialValidationServiceImpl
 
FEMALE - Enum constant in enum class com.markvarga21.studentmanager.entity.Gender
The FEMALE gender.
fetchUsers(Integer, Integer) - Method in class com.markvarga21.studentmanager.controller.AppUserController
Endpoint for fetching all users.
FileUploadController - Class in com.markvarga21.studentmanager.controller
A controller class which is used to manipulate the student's images in the database.
FileUploadController() - Constructor for class com.markvarga21.studentmanager.controller.FileUploadController
 
FileUploadService - Interface in com.markvarga21.studentmanager.service.file
The FileUploadService interface is used to store the images in the database.
FileUploadServiceImpl - Class in com.markvarga21.studentmanager.service.file.impl
The FileUploadServiceImpl class is used to store and manipulate the images of a student.
FileUploadServiceImpl() - Constructor for class com.markvarga21.studentmanager.service.file.impl.FileUploadServiceImpl
 
findByFirstNameAndLastName(String, String) - Method in interface com.markvarga21.studentmanager.repository.AppUserRepository
This method is used to find a user by their first- and last name.
findByUsername(String) - Method in interface com.markvarga21.studentmanager.repository.AppUserRepository
This method is used to find a user by username.
findByUsername(String) - Method in interface com.markvarga21.studentmanager.repository.StudentAppUserRepository
This method is used to find a student app user by the student's ID.
findStudentByFirstNameAndLastName(String, String) - Method in interface com.markvarga21.studentmanager.repository.StudentRepository
Fetches a student by the first name and last name.
findStudentByPassportNumber(String) - Method in interface com.markvarga21.studentmanager.repository.StudentRepository
Fetches a student by the passport number.
FormRecognizerController - Class in com.markvarga21.studentmanager.controller
A controller which is used to make Form related operations.
FormRecognizerController() - Constructor for class com.markvarga21.studentmanager.controller.FormRecognizerController
 
FormRecognizerService - Interface in com.markvarga21.studentmanager.service.form
An interface containing methods for the Form Recognizer service.
FormRecognizerServiceImpl - Class in com.markvarga21.studentmanager.service.form.impl
A service which is used to verify the data entered by the user against the data which can be found on the uploaded passport.
FormRecognizerServiceImpl() - Constructor for class com.markvarga21.studentmanager.service.form.impl.FormRecognizerServiceImpl
 

G

Gender - Enum Class in com.markvarga21.studentmanager.entity
An enum representing the student's gender.
Generated - Annotation Interface in com.markvarga21.studentmanager.util
It is used to exclude classes from the Jacoco test coverage report.
generateJwtToken(UserDetails) - Method in class com.markvarga21.studentmanager.service.auth.webtoken.JwtService
A method for generating a JWT token.
getAllFacialValidationData(Integer, Integer) - Method in class com.markvarga21.studentmanager.controller.FacialValidationController
Retrieves all the facial validation data.
getAllFacialValidationData(Integer, Integer) - Method in interface com.markvarga21.studentmanager.service.validation.face.FacialValidationService
Fetches all facial validation data.
getAllFacialValidationData(Integer, Integer) - Method in class com.markvarga21.studentmanager.service.validation.face.impl.FacialValidationServiceImpl
Retrieves all facial validation data.
getAllImages(Integer, Integer) - Method in class com.markvarga21.studentmanager.controller.FileUploadController
Fetches all the images from the database.
getAllImages(Integer, Integer) - Method in interface com.markvarga21.studentmanager.service.file.FileUploadService
A method which is used to get all the student images from the database.
getAllImages(Integer, Integer) - Method in class com.markvarga21.studentmanager.service.file.impl.FileUploadServiceImpl
A method used to get all the student images from the database.
getAllPassportValidationData(Integer, Integer) - Method in class com.markvarga21.studentmanager.controller.PassportValidationController
Retrieves all the passport validation data.
getAllPassportValidationData(Integer, Integer) - Method in class com.markvarga21.studentmanager.service.validation.passport.impl.PassportValidationServiceImpl
Retrieves all passport validation data.
getAllPassportValidationData(Integer, Integer) - Method in interface com.markvarga21.studentmanager.service.validation.passport.PassportValidationService
Fetches all passport validation data.
getAllReports(Integer, Integer) - Method in class com.markvarga21.studentmanager.service.report.impl.ReportServiceImpl
Retrieves all reports.
getAllReports(Integer, Integer) - Method in interface com.markvarga21.studentmanager.service.report.ReportService
Retrieves all reports.
getAllStudents(Integer, Integer) - Method in class com.markvarga21.studentmanager.controller.StudentController
Retrieves all the students from the application.
getAllStudents(Integer, Integer) - Method in class com.markvarga21.studentmanager.service.impl.StudentServiceImpl
Retrieves all the students from the application.
getAllStudents(Integer, Integer) - Method in interface com.markvarga21.studentmanager.service.StudentService
Retrieves all the students from the database.
getAllUsers(Integer, Integer) - Method in interface com.markvarga21.studentmanager.service.auth.AppUserService
This method is used to fetch all users.
getAllUsers(Integer, Integer) - Method in class com.markvarga21.studentmanager.service.auth.impl.AppUserServiceImpl
This method is used to fetch all users.
getArea() - Method in class com.markvarga21.studentmanager.dto.FaceRectangle
Calculates the area of the bounding rectangle representing the face.
getCountryNameForCode(String) - Method in class com.markvarga21.studentmanager.util.CountryNameFetcher
Retrieves the official name of the country for the given country code.
getDataFromPassport(MultipartFile) - Method in class com.markvarga21.studentmanager.controller.FormRecognizerController
Extracts- and returns the data from the passport.
getDocumentanalysisClient() - Method in class com.markvarga21.studentmanager.config.ApplicationConfiguration
A bean for creating a client for the Azure's Form Recognizer service.
getFaceIdForFile(byte[]) - Method in class com.markvarga21.studentmanager.service.faceapi.impl.FaceApiServiceImpl
Returns the face ID for the given byte array.
getFaceIdForFile(MultipartFile) - Method in interface com.markvarga21.studentmanager.service.faceapi.FaceApiService
Returns the face ID for the given file.
getFaceIdForFile(MultipartFile) - Method in class com.markvarga21.studentmanager.service.faceapi.impl.FaceApiServiceImpl
Returns the face ID for the given file.
getFacialValidationDataByPassportNumber(String) - Method in class com.markvarga21.studentmanager.controller.FacialValidationController
Retrieves the facial validation data for the given passport number.
getFacialValidationDataByPassportNumber(String) - Method in interface com.markvarga21.studentmanager.repository.FacialValidationDataRepository
Fetches a facial validation data by passport number.
getFacialValidationDataByPassportNumber(String) - Method in interface com.markvarga21.studentmanager.service.validation.face.FacialValidationService
Fetches the facial validation data by passport number.
getFacialValidationDataByPassportNumber(String) - Method in class com.markvarga21.studentmanager.service.validation.face.impl.FacialValidationServiceImpl
Fetches the facial validation data by passport number.
getFieldsFromDocument(MultipartFile) - Method in interface com.markvarga21.studentmanager.service.form.FormRecognizerService
Extracts all fields from the uploaded passport.
getFieldsFromDocument(MultipartFile) - Method in class com.markvarga21.studentmanager.service.form.impl.FormRecognizerServiceImpl
Extracts all fields from the uploaded passport.
getGsonLocalDateDeserializer() - Method in class com.markvarga21.studentmanager.config.ApplicationConfiguration
A bean created for deserializing user JSON strings into POJO.
getImageForType(Long, StudentImageType) - Method in class com.markvarga21.studentmanager.controller.FileUploadController
Retrieves a single image of the give type for a student identified by it's id.
getImageForType(Long, StudentImageType) - Method in interface com.markvarga21.studentmanager.service.file.FileUploadService
A method which is used to get the images for the given type and student id.
getImageForType(Long, StudentImageType) - Method in class com.markvarga21.studentmanager.service.file.impl.FileUploadServiceImpl
A method which is used to get the image for the given type and student id.
getImagesForStudentId(Long) - Method in class com.markvarga21.studentmanager.controller.FileUploadController
Fetches both the pictures of the student by their id.
getListType() - Method in class com.markvarga21.studentmanager.service.faceapi.impl.FaceApiServiceImpl
Returns the list type for the face detection response.
getPassportValidationByPassportNumber(String) - Method in class com.markvarga21.studentmanager.controller.PassportValidationController
Retrieves the StudentDto object from the validation data identified by the passport number.
getPassportValidationDataByPassportNumber(String) - Method in interface com.markvarga21.studentmanager.repository.PassportValidationDataRepository
Retrieves a passport validation data by the passport number.
getPassportValidationDataByPassportNumber(String) - Method in class com.markvarga21.studentmanager.service.validation.passport.impl.PassportValidationServiceImpl
Retrieves a student by the passport number.
getPassportValidationDataByPassportNumber(String) - Method in interface com.markvarga21.studentmanager.service.validation.passport.PassportValidationService
Retrieves a student by passport number.
getReports(Integer, Integer) - Method in class com.markvarga21.studentmanager.controller.ReportingController
Retrieves all the reports.
getRestTemplate() - Method in class com.markvarga21.studentmanager.config.ApplicationConfiguration
A bean created for talking with the APIs, like Azure's Face API.
getSelfieValidationData(MultipartFile, MultipartFile) - Method in class com.markvarga21.studentmanager.controller.FaceController
Compares the faces found on the passport and the uploaded selfie, which is then sent back to the client.
getStudentByFirstAndLastName(String, String) - Method in class com.markvarga21.studentmanager.service.impl.StudentServiceImpl
Retrieves a student from the database using its first and last name.
getStudentByFirstAndLastName(String, String) - Method in interface com.markvarga21.studentmanager.service.StudentService
Retrieves a student by its first and last name.
getStudentById(Long) - Method in class com.markvarga21.studentmanager.controller.StudentController
Retrieves the desired student using its ID, then returns it.
getStudentById(Long) - Method in class com.markvarga21.studentmanager.service.impl.StudentServiceImpl
Retrieves a student from the application using its id.
getStudentById(Long) - Method in interface com.markvarga21.studentmanager.service.StudentService
Retrieves a student from the database using its ID.
getStudentByUsername(String) - Method in class com.markvarga21.studentmanager.service.impl.StudentServiceImpl
Retrieves a student by its username.
getStudentByUsername(String) - Method in interface com.markvarga21.studentmanager.service.StudentService
Retrieves a student by its username.
getStudentDtoFromValidationData(PassportValidationData) - Static method in class com.markvarga21.studentmanager.entity.PassportValidationData
Creates a new StudentDto object from the provided PassportValidationData.
getStudentFromPassportValidation(String) - Method in class com.markvarga21.studentmanager.service.validation.passport.impl.PassportValidationServiceImpl
Retrieves StudentDto object from the validation data indentified by passport number.
getStudentFromPassportValidation(String) - Method in interface com.markvarga21.studentmanager.service.validation.passport.PassportValidationService
Retrieves a StudentDto object from the validation data by passport number.
getStudentIdByUsername(String) - Method in class com.markvarga21.studentmanager.controller.StudentAppUserController
This method is used to get the student ID by the username.
getStudentImageById(Long) - Method in interface com.markvarga21.studentmanager.service.file.FileUploadService
A method which is used to get the images for the given student.
getStudentImageById(Long) - Method in class com.markvarga21.studentmanager.service.file.impl.FileUploadServiceImpl
A method which is used to get the image for the given student ID.
getTokenInfoByToken(String) - Method in interface com.markvarga21.studentmanager.repository.TokenInfoRepository
Find a token by the token string.
getUserById(Long) - Method in class com.markvarga21.studentmanager.controller.AppUserController
Endpoint for fetching a user by its id.
getUserById(Long) - Method in interface com.markvarga21.studentmanager.service.auth.AppUserService
Method for fetching a user by its id.
getUserById(Long) - Method in class com.markvarga21.studentmanager.service.auth.impl.AppUserServiceImpl
Method for fetching a user by its id.
getUserByUsername(String) - Method in interface com.markvarga21.studentmanager.service.auth.AppUserService
This method is used to get the user by its username.
getUserByUsername(String) - Method in class com.markvarga21.studentmanager.service.auth.impl.AppUserServiceImpl
This method is used to get the user by the username.
getUsername(String) - Method in class com.markvarga21.studentmanager.service.auth.webtoken.JwtService
A method for retrieving the username from a JWT token.
getValidityOfFaces(byte[], byte[]) - Method in class com.markvarga21.studentmanager.service.faceapi.impl.FaceApiServiceImpl
Compares the faces found on the passport and the selfie, and then sends it back to the client.
getValidityOfFaces(MultipartFile, MultipartFile) - Method in interface com.markvarga21.studentmanager.service.faceapi.FaceApiService
Compares the faces found on the passport and the selfie, and then sends it back to the client.
getValidityOfFaces(MultipartFile, MultipartFile) - Method in class com.markvarga21.studentmanager.service.faceapi.impl.FaceApiServiceImpl
Compares the faces found on the passport and the selfie, and then sends it back to the client.
grantRoles(String, String) - Method in class com.markvarga21.studentmanager.controller.AppUserController
Endpoint for granting admin roles to a user.
grantRoles(String, String) - Method in interface com.markvarga21.studentmanager.service.auth.AppUserService
Method for granting roles to a user.
grantRoles(String, String) - Method in class com.markvarga21.studentmanager.service.auth.impl.AppUserServiceImpl
Method for granting roles to a user.

H

handle(HttpServletRequest, HttpServletResponse, AccessDeniedException) - Method in class com.markvarga21.studentmanager.exception.handler.security.AppAccessDeniedHandler
This method is used to handle access denied exceptions.
handleConstraintViolationException(ConstraintViolationException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles if the input fields are invalid.
handleInvalidDateException(InvalidDateException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles if the date is invalid.
handleInvalidDateFormatException(DateTimeParseException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles if the format of the student's birthdate is invalid or not yet supported.
handleInvalidFacesException(InvalidFacesException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles the exception if the faces are not identical.
handleInvalidGenderException(HttpMessageNotReadableException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles the exception if the inputted gender is invalid.
handleInvalidPassportException(InvalidPassportException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles the exception if the passport is invalid.
handleInvalidStudentException(InvalidStudentException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles the exception if the student's data are invalid.
handleInvalidUserCredentialsException(InvalidUserCredentialsException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles if the user's credentials are invalid.
handlePassportValidationDataNotFoundException(PassportValidationDataNotFoundException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles if the passport validation data cannot be found.
handleReportNotFoundException(StudentNotFoundException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles the exception if a report could not be found in the database.
handleStudentNotFoundException(StudentNotFoundException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles the exception if a student cannot be found in the database.
handleTokenExpiredException(ExpiredJwtException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles the exception if the JWT token has expired.
handleTokenNotFoundException(TokenNotFoundException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles the exception if the faces are not identical.
handleUserNotFoundException(UserNotFoundException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles if the user cannot be found in the database.
handleValidationExceptions(MethodArgumentNotValidException) - Method in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
Handles if the user did not input the information correctly when using the application's endpoints.
hashCode() - Method in class com.markvarga21.studentmanager.dto.StudentDto
Generates a hash code for the student.
HTML_BODY - Static variable in class com.markvarga21.studentmanager.service.mail.impl.MailServiceImpl
The HTML body of the email.

I

ImageCompressor - Class in com.markvarga21.studentmanager.util
A class which is used to compress images.
InvalidDateException - Exception in com.markvarga21.studentmanager.exception
The InvalidDateException class is used to throw an exception when a date is invalid.
InvalidDateException(String) - Constructor for exception com.markvarga21.studentmanager.exception.InvalidDateException
Constructs a new InvalidDateException object with the specified detail message.
InvalidDateFormatException - Exception in com.markvarga21.studentmanager.exception
A custom exception for if the date format is invalid.
InvalidDateFormatException(String) - Constructor for exception com.markvarga21.studentmanager.exception.InvalidDateFormatException
The default constructor.
InvalidDocumentException - Exception in com.markvarga21.studentmanager.exception
A custom exception class which is used if the selfie is invalid.
InvalidDocumentException(String) - Constructor for exception com.markvarga21.studentmanager.exception.InvalidDocumentException
Constructor with a message as parameter.
InvalidFacesApiError - Class in com.markvarga21.studentmanager.exception.util
A custom class for sending back custom API error when faces are not identical.
InvalidFacesApiError() - Constructor for class com.markvarga21.studentmanager.exception.util.InvalidFacesApiError
 
InvalidFacesException - Exception in com.markvarga21.studentmanager.exception
A custom exception for if the facial data is invalid.
InvalidFacesException(String, Double) - Constructor for exception com.markvarga21.studentmanager.exception.InvalidFacesException
The default constructor.
InvalidImageTypeException - Exception in com.markvarga21.studentmanager.exception
An exception which is thrown when the image type is invalid.
InvalidImageTypeException(String) - Constructor for exception com.markvarga21.studentmanager.exception.InvalidImageTypeException
The constructor for the InvalidImageTypeException class.
InvalidPassportException - Exception in com.markvarga21.studentmanager.exception
A custom exception which is used if an error occurs when processing the passport.
InvalidPassportException(String) - Constructor for exception com.markvarga21.studentmanager.exception.InvalidPassportException
Constructor with a feedback message.
InvalidStudentException - Exception in com.markvarga21.studentmanager.exception
A custom exception class which is used when the students data is invalid.
InvalidStudentException(String) - Constructor for exception com.markvarga21.studentmanager.exception.InvalidStudentException
Constructor with a message as parameter.
InvalidUserCredentialsException - Exception in com.markvarga21.studentmanager.exception
Custom exception if the user credentials are invalid.
InvalidUserCredentialsException(String) - Constructor for exception com.markvarga21.studentmanager.exception.InvalidUserCredentialsException
Constructor for the InvalidUserCredentialsException class.
isBlacklisted(String) - Method in class com.markvarga21.studentmanager.service.auth.impl.TokenManagementServiceImpl
Checks if a token is blacklisted or not.
isBlacklisted(String) - Method in interface com.markvarga21.studentmanager.service.auth.TokenManagementService
Checks if a token is blacklisted or not.
isJsonValid(JsonNode) - Method in class com.markvarga21.studentmanager.util.validation.JsonValidator
Validates the JSON content.
isUserValid(String) - Method in class com.markvarga21.studentmanager.controller.PassportValidationController
Checks whether the user is valid or not.
isUserValid(String) - Method in interface com.markvarga21.studentmanager.service.form.FormRecognizerService
Checks if the user is valid or not.
isUserValid(String) - Method in class com.markvarga21.studentmanager.service.form.impl.FormRecognizerServiceImpl
Checks if the user is valid or not.
isValidToken(String) - Method in class com.markvarga21.studentmanager.service.auth.webtoken.JwtService
A method for checking if a JWT token is valid or not.
isXmlValid(String) - Method in class com.markvarga21.studentmanager.util.validation.XmlValidator
Validates the XML content.

J

javaMailSender() - Method in class com.markvarga21.studentmanager.config.ApplicationConfiguration
A bean created for sending emails.
jsonSchema() - Method in class com.markvarga21.studentmanager.config.ApplicationConfiguration
A bean created for validating JSON data.
JsonValidator - Class in com.markvarga21.studentmanager.util.validation
A utility class which is used to validate JSON content.
JsonValidator() - Constructor for class com.markvarga21.studentmanager.util.validation.JsonValidator
 
JwtAuthFilter - Class in com.markvarga21.studentmanager.config.security
This class is responsible for filtering the requests and responses while checking the user's permissions/roles.
JwtAuthFilter() - Constructor for class com.markvarga21.studentmanager.config.security.JwtAuthFilter
 
JwtService - Class in com.markvarga21.studentmanager.service.auth.webtoken
A service class for handling JWT tokens.

L

loadUserByUsername(String) - Method in class com.markvarga21.studentmanager.service.auth.security.AppUserDetailsService
This method is used to load the user by its username.
LocalDateDeserializer - Class in com.markvarga21.studentmanager.util
A custom mapper for mapping the String representation of a LocalDate.
LocalDateDeserializer() - Constructor for class com.markvarga21.studentmanager.util.LocalDateDeserializer
 
loginUser(UserLogin) - Method in class com.markvarga21.studentmanager.controller.AppUserController
Endpoint for logging in a user.
logoutUser(HttpServletRequest, HttpServletResponse) - Method in class com.markvarga21.studentmanager.controller.AppUserController
Endpoint for logging out a user.

M

MailService - Interface in com.markvarga21.studentmanager.service.mail
A service used for sending emails.
MailServiceImpl - Class in com.markvarga21.studentmanager.service.mail.impl
A service used for sending emails.
MailServiceImpl() - Constructor for class com.markvarga21.studentmanager.service.mail.impl.MailServiceImpl
 
main(String[]) - Static method in class com.markvarga21.studentmanager.StudentManagerApplication
The entrypoint of the application.
MALE - Enum constant in enum class com.markvarga21.studentmanager.entity.Gender
The MALE gender.
mapDateStringToLocalDate(String) - Static method in class com.markvarga21.studentmanager.util.DateDeserializer
Maps the String representation of a date to a LocalDate object.
mapJsonToDto(String) - Method in class com.markvarga21.studentmanager.mapping.StudentMapper
Maps a JSON string to a StudentDto.
mapLocalDateToDateString(LocalDate) - Static method in class com.markvarga21.studentmanager.util.DateDeserializer
Maps a LocalDate object to a String.
mapStandardPassportDateStringToLocalDate(String) - Static method in class com.markvarga21.studentmanager.util.DateDeserializer
Maps a standard passport date string to a LocalDate.
mapStudentDtoToEntity(StudentDto) - Method in class com.markvarga21.studentmanager.mapping.StudentMapper
Maps a StudentDto to a Student entity.
mapStudentEntityToDto(Student) - Method in class com.markvarga21.studentmanager.mapping.StudentMapper
Maps an Student entity to an StudentDto.
modifyStudentById(StudentDto, Long) - Method in class com.markvarga21.studentmanager.service.impl.StudentServiceImpl
Validates and then modifies the student's information.
modifyStudentById(StudentDto, Long) - Method in interface com.markvarga21.studentmanager.service.StudentService
Modifies the student given its id.

O

onApplicationEvent(ContextRefreshedEvent) - Method in class com.markvarga21.studentmanager.util.AdminUserInit
This method is used to initiate the admin user.
onLogoutSuccess(HttpServletRequest, HttpServletResponse, Authentication) - Method in class com.markvarga21.studentmanager.config.security.AppLogoutSuccessHandler
Handles a successful logout.
openAPI() - Method in class com.markvarga21.studentmanager.config.ApplicationConfiguration
This method is used to create an OpenAPI bean.
OperationType - Enum Class in com.markvarga21.studentmanager.exception
A class representing the operation the user just did, thus causing an exception to raise.
OTHER - Enum constant in enum class com.markvarga21.studentmanager.util.StudentImageType
For handling invalid types and default cases.

P

PASSPORT - Enum constant in enum class com.markvarga21.studentmanager.util.StudentImageType
The passport image.
PASSPORT_DATE_COMPONENT_LENGTH - Static variable in class com.markvarga21.studentmanager.util.DateDeserializer
The length of the standard passport date components.
PassportNotFoundException - Exception in com.markvarga21.studentmanager.exception
An exception which is thrown when a passport cannot be found.
PassportNotFoundException(String) - Constructor for exception com.markvarga21.studentmanager.exception.PassportNotFoundException
Creates a new PassportNotFoundException.
PassportValidationController - Class in com.markvarga21.studentmanager.controller
A controller which is used to access validation (face and form) data.
PassportValidationController() - Constructor for class com.markvarga21.studentmanager.controller.PassportValidationController
 
PassportValidationData - Class in com.markvarga21.studentmanager.entity
An entity class which is used to store the data extracted from the passport.
PassportValidationData() - Constructor for class com.markvarga21.studentmanager.entity.PassportValidationData
 
PassportValidationDataNotFoundException - Exception in com.markvarga21.studentmanager.exception
A custom exception which is used when the passport validation data is not found.
PassportValidationDataNotFoundException(String) - Constructor for exception com.markvarga21.studentmanager.exception.PassportValidationDataNotFoundException
The default constructor.
PassportValidationDataRepository - Interface in com.markvarga21.studentmanager.repository
A repository which is used to store the data extracted from the passport.
PassportValidationResponse - Class in com.markvarga21.studentmanager.dto
A DTO class which is used when sending back passport validation information.
PassportValidationResponse() - Constructor for class com.markvarga21.studentmanager.dto.PassportValidationResponse
 
PassportValidationService - Interface in com.markvarga21.studentmanager.service.validation.passport
A service which is used to manipulate passport validation data.
PassportValidationServiceImpl - Class in com.markvarga21.studentmanager.service.validation.passport.impl
A service which is used to access passport validation data.
PassportValidationServiceImpl() - Constructor for class com.markvarga21.studentmanager.service.validation.passport.impl.PassportValidationServiceImpl
 
passwordEncoder() - Method in class com.markvarga21.studentmanager.config.security.SecurityConfiguration
The password encoder bean.
PERCENT_MULTIPLIER - Static variable in class com.markvarga21.studentmanager.service.faceapi.impl.FaceApiServiceImpl
A simple multiplier for converting floating point percentage to decimal percentage, out of readability reasons.
POINT_UNICODE - Static variable in class com.markvarga21.studentmanager.exception.handler.ApplicationExceptionHandler
A bullet point character in unicode format.
prePersist() - Method in class com.markvarga21.studentmanager.entity.Report
Util method for automatically generating the timestamp field for the report.

R

READ - Enum constant in enum class com.markvarga21.studentmanager.exception.OperationType
An operations which involves reading an object.
registerUser(AppUser) - Method in class com.markvarga21.studentmanager.controller.AppUserController
Endpoint for registering a user.
registerUser(AppUser) - Method in interface com.markvarga21.studentmanager.service.auth.AppUserService
This method is used to register a user.
registerUser(AppUser) - Method in class com.markvarga21.studentmanager.service.auth.impl.AppUserServiceImpl
This method is used to register a user.
Report - Class in com.markvarga21.studentmanager.entity
A report entity which is used to store reports.
Report() - Constructor for class com.markvarga21.studentmanager.entity.Report
 
ReportingController - Class in com.markvarga21.studentmanager.controller
A controller which is used to handle user reports/feedback.
ReportingController() - Constructor for class com.markvarga21.studentmanager.controller.ReportingController
 
ReportMessage - Class in com.markvarga21.studentmanager.dto
A DTO class which is used to send a message to the report service.
ReportMessage() - Constructor for class com.markvarga21.studentmanager.dto.ReportMessage
 
ReportNotFoundException - Exception in com.markvarga21.studentmanager.exception
A custom exception which is used when the report is not found.
ReportNotFoundException(String) - Constructor for exception com.markvarga21.studentmanager.exception.ReportNotFoundException
The default constructor.
ReportRepository - Interface in com.markvarga21.studentmanager.repository
A repository which is used to access reporting data.
ReportService - Interface in com.markvarga21.studentmanager.service.report
A service which is used to operate on reports.
ReportServiceImpl - Class in com.markvarga21.studentmanager.service.report.impl
A service which handles error reporting.
ReportServiceImpl() - Constructor for class com.markvarga21.studentmanager.service.report.impl.ReportServiceImpl
 
revokeRoles(String, String) - Method in class com.markvarga21.studentmanager.controller.AppUserController
Endpoint for revoking roles from a user.
revokeRoles(String, String) - Method in interface com.markvarga21.studentmanager.service.auth.AppUserService
Method for revoking roles from a user.
revokeRoles(String, String) - Method in class com.markvarga21.studentmanager.service.auth.impl.AppUserServiceImpl
Method for revoking roles from a user.
Role - Enum Class in com.markvarga21.studentmanager.dto
The role enum..

S

saveFacialValidationData(FacialValidationData) - Method in interface com.markvarga21.studentmanager.service.validation.face.FacialValidationService
Saves the facial validation data in the database.
saveFacialValidationData(FacialValidationData) - Method in class com.markvarga21.studentmanager.service.validation.face.impl.FacialValidationServiceImpl
Saves the facial validation data in the database.
SCALE_DECREASE_STEP - Static variable in class com.markvarga21.studentmanager.util.ImageCompressor
The scale of which the image is decreased in each step.
SecurityConfiguration - Class in com.markvarga21.studentmanager.config.security
Configuration class for setting up the security related configurations.
SecurityConfiguration() - Constructor for class com.markvarga21.studentmanager.config.security.SecurityConfiguration
 
securityFilterChain(HttpSecurity) - Method in class com.markvarga21.studentmanager.config.security.SecurityConfiguration
This method is used to configure the security filter chain.
SELFIE - Enum constant in enum class com.markvarga21.studentmanager.util.StudentImageType
The selfie image.
sendMail(Report) - Method in class com.markvarga21.studentmanager.service.mail.impl.MailServiceImpl
The method responsible for sending an email.
sendMail(Report) - Method in interface com.markvarga21.studentmanager.service.mail.MailService
Sends an email to the specified address.
sendReport(ReportMessage) - Method in class com.markvarga21.studentmanager.controller.ReportingController
Submits a report.
sendReport(ReportMessage) - Method in class com.markvarga21.studentmanager.service.report.impl.ReportServiceImpl
Sends a report to the system.
sendReport(ReportMessage) - Method in interface com.markvarga21.studentmanager.service.report.ReportService
Sends a report to the system.
setFacialValidationDataToValid(String) - Method in class com.markvarga21.studentmanager.controller.FacialValidationController
Sets the facial validation data to valid.
setFacialValidationToInvalid(Long) - Method in interface com.markvarga21.studentmanager.service.validation.face.FacialValidationService
Sets the facial validity by passport number to invalid.
setFacialValidationToInvalid(Long) - Method in class com.markvarga21.studentmanager.service.validation.face.impl.FacialValidationServiceImpl
Sets the facial validity by passport number to invalid.
setFacialValidationToValid(String) - Method in interface com.markvarga21.studentmanager.service.validation.face.FacialValidationService
Sets the facial validity by passport number.
setFacialValidationToValid(String) - Method in class com.markvarga21.studentmanager.service.validation.face.impl.FacialValidationServiceImpl
Sets the facial validity by passport number.
setValidity(Long, boolean) - Method in class com.markvarga21.studentmanager.service.impl.StudentServiceImpl
Validates the passport manually.
setValidity(Long, boolean) - Method in interface com.markvarga21.studentmanager.service.StudentService
Sets the validity of a student.
Student - Class in com.markvarga21.studentmanager.entity
Represents a student entity in the application.
Student() - Constructor for class com.markvarga21.studentmanager.entity.Student
 
StudentAppUser - Class in com.markvarga21.studentmanager.entity
The entity for the student app user used, which manages the relationship between the student's user profile and their already submitted data.
StudentAppUser() - Constructor for class com.markvarga21.studentmanager.entity.StudentAppUser
 
StudentAppUserController - Class in com.markvarga21.studentmanager.controller
The controller for the student application user.
StudentAppUserController() - Constructor for class com.markvarga21.studentmanager.controller.StudentAppUserController
 
StudentAppUserRepository - Interface in com.markvarga21.studentmanager.repository
The repository for the student application users.
StudentController - Class in com.markvarga21.studentmanager.controller
A controller which is used to make- create-, read-, update- and delete students.
StudentController() - Constructor for class com.markvarga21.studentmanager.controller.StudentController
 
StudentDto - Class in com.markvarga21.studentmanager.dto
Represents a student DTO in the application.
StudentDto() - Constructor for class com.markvarga21.studentmanager.dto.StudentDto
 
StudentImage - Class in com.markvarga21.studentmanager.entity
Represents the images of students.
StudentImage() - Constructor for class com.markvarga21.studentmanager.entity.StudentImage
 
StudentImageRepository - Interface in com.markvarga21.studentmanager.repository
A repository which is used to store the students images.
StudentImageType - Enum Class in com.markvarga21.studentmanager.util
The StudentImageType enum is used to determine the type of the image.
StudentManagerApplication - Class in com.markvarga21.studentmanager
A class holding the entrypoint of the application.
StudentManagerApplication() - Constructor for class com.markvarga21.studentmanager.StudentManagerApplication
 
StudentMapper - Class in com.markvarga21.studentmanager.mapping
A utility class which is used for mapping between the application's student entities and DTOs and backwards.
StudentMapper() - Constructor for class com.markvarga21.studentmanager.mapping.StudentMapper
 
StudentNotFoundException - Exception in com.markvarga21.studentmanager.exception
A custom exception which is used when a student could not been found.
StudentNotFoundException(String, OperationType) - Constructor for exception com.markvarga21.studentmanager.exception.StudentNotFoundException
Custom constructor which contains a message and the operation type of the exception.
StudentRepository - Interface in com.markvarga21.studentmanager.repository
The repository containing the students in the application.
StudentService - Interface in com.markvarga21.studentmanager.service
An interface which contains essential methods for manipulating student information.
StudentServiceImpl - Class in com.markvarga21.studentmanager.service.impl
The service class which contains the core logic of the application.
StudentServiceImpl() - Constructor for class com.markvarga21.studentmanager.service.impl.StudentServiceImpl
 

T

toByteArray(BufferedImage, String) - Static method in class com.markvarga21.studentmanager.util.ImageCompressor
Converts the given image to a byte array.
TokenDeleter - Class in com.markvarga21.studentmanager.util
The TokenDeleter class is used to periodically delete expired tokens.
TokenDeleter() - Constructor for class com.markvarga21.studentmanager.util.TokenDeleter
 
TokenInfo - Class in com.markvarga21.studentmanager.entity
Represents a token in the application with some useful metainformation.
TokenInfo() - Constructor for class com.markvarga21.studentmanager.entity.TokenInfo
 
TokenInfoRepository - Interface in com.markvarga21.studentmanager.repository
Repository for storing token related information.
TokenManagementService - Interface in com.markvarga21.studentmanager.service.auth
A service for managing token related operations like invalidating/blacklisting tokens- or verifying their availability.
TokenManagementServiceImpl - Class in com.markvarga21.studentmanager.service.auth.impl
Service for managing tokens.
TokenManagementServiceImpl() - Constructor for class com.markvarga21.studentmanager.service.auth.impl.TokenManagementServiceImpl
 
TokenNotFoundException - Exception in com.markvarga21.studentmanager.exception
Exception used if a token is not found in the database.
TokenNotFoundException(String) - Constructor for exception com.markvarga21.studentmanager.exception.TokenNotFoundException
Constructs a new TokenNotFoundException with the specified detail message.

U

UPDATE - Enum constant in enum class com.markvarga21.studentmanager.exception.OperationType
An operations which involves updating an object.
updateStudentById(StudentDto, Long) - Method in class com.markvarga21.studentmanager.controller.StudentController
Updates a student and then retrieves it.
uploadFile(Long, MultipartFile, MultipartFile) - Method in interface com.markvarga21.studentmanager.service.file.FileUploadService
A method used to store the images in the database.
uploadFile(Long, MultipartFile, MultipartFile) - Method in class com.markvarga21.studentmanager.service.file.impl.FileUploadServiceImpl
A method used to store the images in the database.
uploadImage(Long, MultipartFile, MultipartFile) - Method in class com.markvarga21.studentmanager.controller.FileUploadController
Uploads both images for the given student identified by their id.
USER - Enum constant in enum class com.markvarga21.studentmanager.dto.Role
The USER role.
userDetailsService() - Method in class com.markvarga21.studentmanager.config.security.SecurityConfiguration
This method is used to create a UserDetailsService bean.
UserLogin - Class in com.markvarga21.studentmanager.dto
A DTO utility class used for user login.
UserLogin() - Constructor for class com.markvarga21.studentmanager.dto.UserLogin
 
UserNotFoundException - Exception in com.markvarga21.studentmanager.exception
Exception used if a user is not found in the database.
UserNotFoundException(String) - Constructor for exception com.markvarga21.studentmanager.exception.UserNotFoundException
Constructor for the UserNotFoundException class.

V

validateBirthdate(LocalDate) - Static method in class com.markvarga21.studentmanager.util.validation.DateValidator
Validates the birthdate.
validateFacesForPassportNumber(String, Long) - Method in interface com.markvarga21.studentmanager.service.faceapi.FaceApiService
Validates the faces for the given passport number.
validateFacesForPassportNumber(String, Long) - Method in class com.markvarga21.studentmanager.service.faceapi.impl.FaceApiServiceImpl
Validates the faces for the given passport number.
validateJsonExport(JsonNode) - Method in class com.markvarga21.studentmanager.controller.ExportValidatorController
Validates the exported JSON data.
validatePassport(String, MultipartFile) - Method in class com.markvarga21.studentmanager.controller.PassportValidationController
Validates the data entered by the user against the data which can be found on the passport.
validatePassport(String, MultipartFile) - Method in interface com.markvarga21.studentmanager.service.form.FormRecognizerService
Validates the data entered by the user against the data which can be found-, and has been extracted from the passport.
validatePassport(String, MultipartFile) - Method in class com.markvarga21.studentmanager.service.form.impl.FormRecognizerServiceImpl
Validates the data entered by the user against the data, which can be found-, and has been extracted from the passport.
validatePassportExpiryDate(LocalDate) - Static method in class com.markvarga21.studentmanager.util.validation.DateValidator
Validates the passport date of expiry.
validatePassportIssueDate(LocalDate) - Static method in class com.markvarga21.studentmanager.util.validation.DateValidator
Validates the passport date of issue.
validatePassportManually(Long) - Method in class com.markvarga21.studentmanager.controller.PassportValidationController
Validates the passport manually.
validatePassportManually(Long) - Method in interface com.markvarga21.studentmanager.service.form.FormRecognizerService
Validates the passport manually.
validatePassportManually(Long) - Method in class com.markvarga21.studentmanager.service.form.impl.FormRecognizerServiceImpl
Validates the passport manually.
validateXmlExport(String) - Method in class com.markvarga21.studentmanager.controller.ExportValidatorController
Validates the exported XML data.
validPassportNumber(String) - Method in class com.markvarga21.studentmanager.service.impl.StudentServiceImpl
Checks if the passport number is already in use.
validPassportNumber(String) - Method in interface com.markvarga21.studentmanager.service.StudentService
Checks if the passport number is valid or not.
valueOf(String) - Static method in enum class com.markvarga21.studentmanager.dto.Role
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.markvarga21.studentmanager.entity.Gender
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.markvarga21.studentmanager.exception.OperationType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.markvarga21.studentmanager.util.StudentImageType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.markvarga21.studentmanager.dto.Role
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.markvarga21.studentmanager.entity.Gender
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.markvarga21.studentmanager.exception.OperationType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.markvarga21.studentmanager.util.StudentImageType
Returns an array containing the constants of this enum class, in the order they are declared.

X

XmlValidator - Class in com.markvarga21.studentmanager.util.validation
A utility class which is used to validate XML content.
XmlValidator() - Constructor for class com.markvarga21.studentmanager.util.validation.XmlValidator
 
A B C D E F G H I J L M O P R S T U V X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form