Class ChoiceAnswerSaver
java.lang.Object
ch.tocco.nice2.optional.evaluation.impl.flow.AbstractAnswerSaver
ch.tocco.nice2.optional.evaluation.impl.flow.ChoiceAnswerSaver
- All Implemented Interfaces:
AnswerSaver
-
Constructor Summary
ConstructorDescriptionChoiceAnswerSaver
(CommandExecutor commandExecutor, BusinessUnitManager businessUnitManager) -
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> answerKeys) Methods inherited from class ch.tocco.nice2.optional.evaluation.impl.flow.AbstractAnswerSaver
getMode, getModeWithBusinessUnit, saveComment
-
Constructor Details
-
ChoiceAnswerSaver
-
-
Method Details
-
saveAnswer
-
mapToAnswerList
Description copied from interface:AnswerSaver
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
-