Class BTSurveyExcelExport
java.lang.Object
overit.geocall.bl.BusinessTask<SurveyExportEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidExecutionBusinessTask<SurveyExportEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidPermissionBusinessTask<SurveyExportEvent>
overit.geocallapp.wfm.cee.bl.task.BTCeeManagement<SurveyExportEvent>
overit.geocallapp.wfm.cee.bl.survey.task.BTSurveyExcelExport
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(SurveyExportEvent.class)
public class BTSurveyExcelExport
extends BTCeeManagement<SurveyExportEvent>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDocumentSheet(Map<String, List<String>> map, XlsxDocument doc, String templateName) buildSurveyColumnsMaps(DBView surveysDbv) Build a map with the survey columns for each sheetprotected voidexecute(SurveyExportEvent event, PoolKit poolKit) protected WebResourcegenerateExcel(DBView surveysDbv, PoolKit pk) protected WebResourceprotected voidpopulateSheets(DBView surveysDbv, XlsxDocument doc, String templateName) Methods inherited from class overit.geocallapp.wfm.cee.bl.task.BTCeeManagement
checkValidExecution, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.wfm.core.bl.common.validexecution.ValidPermissionBusinessTask
getExceptionMethods inherited from class overit.geocallapp.wfm.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTSurveyExcelExport
public BTSurveyExcelExport()
-
-
Method Details
-
execute
protected void execute(SurveyExportEvent event, PoolKit poolKit) throws DAException, DAValidateException - Specified by:
executein classValidExecutionBusinessTask<SurveyExportEvent>- Throws:
DAExceptionDAValidateException
-
generateExcel
-
getExportWebResource
-
buildSurveyColumnsMaps
Build a map with the survey columns for each sheet -
addDocumentSheet
-
populateSheets
-