@Override protected DOListExcelExporter createExcelExporter(final String filenameIdentifier) { final ExtendEmployeeDataEnum selectedOption = form.selectedOption; if (selectedOption == null) { return null; } final String[] fieldsToExport = { "id", "user" }; final List<AttrColumnDescription> attrFieldsToExport = selectedOption.getAttrColumnDescriptions(); final Date dateToSelectAttrRow = new GregorianCalendar(form.selectedYear, form.selectedMonth - 1, 1, 0, 0) .getTime(); return new DOWithAttrListExcelExporter<>(filenameIdentifier, timeableService, fieldsToExport, attrFieldsToExport, dateToSelectAttrRow); }