@Service public class SurveyReportMapperImpl extends Object implements ISurveyReportMapper, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
SurveyReportMapperImpl() |
| Modifier and Type | Method and Description |
|---|---|
ISurveyReportGenerator |
getReportGenerator(SurveyDTO survey)
Provides the one instance of
ISurveyReportGenerator mapped to the
survey with the specified cannonicalName. |
void |
init() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAware@PostConstruct public void init()
public ISurveyReportGenerator getReportGenerator(SurveyDTO survey)
ISurveyReportMapperISurveyReportGenerator mapped to the
survey with the specified cannonicalName. This method will never return
null; there is a DefaultSurveyReportGenerator that merely thanks
the user for his response.getReportGenerator in interface ISurveyReportMappersurvey - The survey instance for which a generator is neededISurveyReportGenerator; never null.Copyright © 2016 Jasig. All rights reserved.