public interface ISurveyReportGenerator
| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesTo(SurveyDTO survey)
ISurveyReportGenerator instances are responsible for knowing the
surveys for which they are supposed to generate reports. |
org.springframework.web.servlet.ModelAndView |
generateReport(SurveyDTO survey,
ResponseDTO response) |
int |
getPriority()
Used to decide which
ISurveyReportGenerator instances take
precedence over others. |
int getPriority()
ISurveyReportGenerator instances take
precedence over others. Lower priority values trump higher values. The
first ISurveyReportGenerator that claims a report wins.boolean appliesTo(SurveyDTO survey)
ISurveyReportGenerator instances are responsible for knowing the
surveys for which they are supposed to generate reports. There is a
DefaultSurveyReportGenerator that will prepare a report if no
other generator claims the survey.org.springframework.web.servlet.ModelAndView generateReport(SurveyDTO survey, ResponseDTO response)
Copyright © 2016 Jasig. All rights reserved.