Interface AnswerSaver
- All Known Implementing Classes:
AbstractAnswerSaver
,ChoiceAnswerSaver
,TextQuestionAnswerSaver
public interface AnswerSaver
-
Method Summary
Modifier and TypeMethodDescriptionmapToAnswerList
(Object answer) The legacy widget always sends the answer as List(also for text and single choice answer). void
saveAnswer
(Entity evaluationPartyAssignment, Entity question, List<String> answers) void
saveComment
(Entity evaluationPartyAssignment, Entity question, String comment)
-
Method Details
-
saveAnswer
-
saveComment
-
mapToAnswerList
The legacy widget always sends the answer as List(also for text and single choice answer). This method maps the REST answer format to the legacy format used by the AnswerSaver itself
-