use of teammates.ui.template.QuestionTable in project teammates by TEAMMATES.
the class InstructorSearchPageData method createQuestionTables.
private List<QuestionTable> createQuestionTables(String fsName, FeedbackResponseCommentSearchResultBundle frcSearchResultBundle) {
List<QuestionTable> questionTables = new ArrayList<>();
List<FeedbackQuestionAttributes> questionList = frcSearchResultBundle.questions.get(fsName);
for (FeedbackQuestionAttributes question : questionList) {
int questionNumber = question.questionNumber;
String questionText = question.getQuestionDetails().getQuestionText();
String additionalInfo = question.getQuestionDetails().getQuestionAdditionalInfoHtml(questionNumber, "");
questionTables.add(new QuestionTable(questionNumber, questionText, additionalInfo, createResponseRows(question, frcSearchResultBundle)));
}
return questionTables;
}
Aggregations