Interface AnswerSaver

All Known Implementing Classes:
AbstractAnswerSaver, ChoiceAnswerSaver, TextQuestionAnswerSaver

public interface AnswerSaver
  • Method Details

    • saveAnswer

      void saveAnswer(Entity evaluationPartyAssignment, Entity question, List<String> answers)
    • saveComment

      void saveComment(Entity evaluationPartyAssignment, Entity question, String comment)
    • mapToAnswerList

      List<String> mapToAnswerList(Object answer)
      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