boolean useFromAndTo, ExcelReportEnum excelReportType) {
super(excelReportType, new Dimension(320, 130));
presentationModel = new PresentationModel(
new ExcelReportSettingDeviation(excelReportType));
JobFunctionManager jobFunctionManager = (JobFunctionManager) ModelUtil
.getBean("jobFunctionManager");
DeviationStatusManager deviationStatusManager = (DeviationStatusManager) ModelUtil
.getBean("deviationStatusManager");
// ProductAreaManager productAreaManager = (ProductAreaManager)
// ModelUtil.getBean("productAreaManager");
deviationFunctionList = new ArrayList<JobFunction>();
List<JobFunction> functions = jobFunctionManager.findAll();
if (functions != null) {
for (JobFunction function : functions) {
jobFunctionManager
.lazyLoad(function, new LazyLoadEnum[][] { {
LazyLoadEnum.FUNCTION_CATEGORIES,
LazyLoadEnum.NONE } });
}
deviationFunctionList.addAll(functions);