Uses of Class
it.unimib.unimibmodules.model.Answer
Packages that use Answer
Package
Description
-
Uses of Answer in it.unimib.unimibmodules.controller
Methods in it.unimib.unimibmodules.controller that return AnswerModifier and TypeMethodDescriptionAnswerController.convertToEntity
(AnswerDTO answerDTO) Converts an instance of AnswerDTO to an instance of AnswerAnswerRepository.get
(int id) Finds the answer identified by id in the databaseMethods in it.unimib.unimibmodules.controller that return types with arguments of type AnswerModifier and TypeMethodDescriptionAnswerRepository.getSurveyAnswersForUser
(int surveyId, int userId) Finds all the answers the user created for a survey.Methods in it.unimib.unimibmodules.controller with parameters of type AnswerModifier and TypeMethodDescriptionAnswerController.convertToDTO
(Answer answer) Converts an instance of Answer to an instance of AnswerDTOvoid
AnswerRepository.registerDeleted
(Answer answer) Addsanswer
to the elements to be deleted.void
AnswerRepository.registerModified
(Answer answer) Addsanswer
to the elements to be modified.void
AnswerRepository.registerNew
(Answer answer) Addsanswer
to the elements to be inserted.Method parameters in it.unimib.unimibmodules.controller with type arguments of type Answer -
Uses of Answer in it.unimib.unimibmodules.model
Fields in it.unimib.unimibmodules.model with type parameters of type Answer -
Uses of Answer in it.unimib.unimibmodules.repository
Fields in it.unimib.unimibmodules.repository with type parameters of type AnswerMethods in it.unimib.unimibmodules.repository that return AnswerModifier and TypeMethodDescriptionAnswerRepositoryImpl.get
(int id) Finds the answer identified by id in the databaseMethods in it.unimib.unimibmodules.repository that return types with arguments of type AnswerModifier and TypeMethodDescriptionAnswerDAO.findSurveyAnswersForUser
(int surveyId, int userId) AnswerRepositoryImpl.getAll()
Returns all answers in the database.AnswerRepositoryImpl.getSurveyAnswersForUser
(int surveyId, int userId) Finds all the answers the user created for a survey.Methods in it.unimib.unimibmodules.repository with parameters of type AnswerModifier and TypeMethodDescriptionvoid
Inserts an instance of Answer in the databasevoid
Updates an answer in the database using a new instance of Answer.private void
Registersanswer
on the specifiedoperation
.void
AnswerRepositoryImpl.registerDeleted
(Answer answer) Addsanswer
to the elements to be deleted.void
AnswerRepositoryImpl.registerModified
(Answer answer) Addsanswer
to the elements to be modified.void
AnswerRepositoryImpl.registerNew
(Answer answer) Addsanswer
to the elements to be inserted.void
Deletesanswer
from the database.Method parameters in it.unimib.unimibmodules.repository with type arguments of type Answer -
Uses of Answer in it.unimib.unimibmodules.service
Methods in it.unimib.unimibmodules.service with parameters of type AnswerModifier and TypeMethodDescriptionprivate static void
PdfServiceImpl.addClosedAnswers
(com.itextpdf.text.Paragraph paragraph, Answer answer) Method parameters in it.unimib.unimibmodules.service with type arguments of type Answer