Class TextChoiceQuestionExportHandler
java.lang.Object
ch.tocco.nice2.optional.survey.impl.action.export.questionhandlers.AbstractQuestionExportHandler
ch.tocco.nice2.optional.survey.impl.action.export.questionhandlers.AbstractMatrixExportHandler
ch.tocco.nice2.optional.survey.impl.action.export.questionhandlers.TextChoiceQuestionExportHandler
- All Implemented Interfaces:
- QuestionExportHandler
handles text matrix and cloze questions
- 
Field SummaryFields inherited from class ch.tocco.nice2.optional.survey.impl.action.export.questionhandlers.AbstractQuestionExportHandlerANSWER_FIELD, LABEL_FIELD, POINTS_FIELD, REL_SURVEY_ANSWER
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAnswerData(Entity answer, SurveyBean surveyBean) getColumnData(Entity answer, SurveyBean surveyBean) getEntitiesToCreateLinesFor(SurveyBean surveyBean) this returns a iterable over which will be iterated, to create single lines different question types need to iterate over different entities, because different data is needed this returns a iterable, because we mostly want to returnEntityListbut in some cases need to join to entity lists for different entitiesgetTypes()Methods inherited from class ch.tocco.nice2.optional.survey.impl.action.export.questionhandlers.AbstractMatrixExportHandlergetLabelFromAxis, getListForChoice, getSurveyAnswersSortedByMatrixXMethods inherited from class ch.tocco.nice2.optional.survey.impl.action.export.questionhandlers.AbstractQuestionExportHandlercreateImmutableList, getData
- 
Constructor Details- 
TextChoiceQuestionExportHandlerpublic TextChoiceQuestionExportHandler()
 
- 
- 
Method Details- 
getTypes
- 
getEntitiesToCreateLinesForDescription copied from class:AbstractQuestionExportHandlerthis returns a iterable over which will be iterated, to create single lines different question types need to iterate over different entities, because different data is needed this returns a iterable, because we mostly want to returnEntityListbut in some cases need to join to entity lists for different entities- Specified by:
- getEntitiesToCreateLinesForin class- AbstractQuestionExportHandler
- Parameters:
- surveyBean- the survey bean to get the entities from
- Returns:
- an iterable of Entity
 
- 
getColumnData- Specified by:
- getColumnDatain class- AbstractQuestionExportHandler
 
- 
getAnswerData- Specified by:
- getAnswerDatain class- AbstractQuestionExportHandler
 
 
-