Class BTExportCSVWithScan
java.lang.Object
overit.geocall.bl.BusinessTask<ExportCSVWithScanEvent>
overit.geocallapp.wfm.ai.bl.processing.utils.export.task.BTExportCSVWithScan
- All Implemented Interfaces:
Serializable,Tool
@Event(ExportCSVWithScanEvent.class)
public class BTExportCSVWithScan
extends BusinessTask<ExportCSVWithScanEvent>
Task for export the result of a query as CSV using the query's ResultSet
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(ExportCSVWithScanEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voidbuildExport(PoolKit pk) protected voidprotected OutputStreamprotected voidMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
csvWrapperFile
-
folder
-
fileName
-
dao
-
command
-
csv
-
occurredException
-
-
Constructor Details
-
BTExportCSVWithScan
public BTExportCSVWithScan()
-
-
Method Details
-
body
protected void body(ExportCSVWithScanEvent event, PoolKit pk) throws DAException, DAValidateException Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<ExportCSVWithScanEvent>- Parameters:
event- the object upon which the task will works onpk- the poolkit containing the reference to the database connection that can be used- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-
setAndCheckInput
-
buildExport
- Throws:
DAExceptionDAValidateException
-
getOutputStream
- Throws:
DAException
-
evaluateException
- Throws:
DAExceptionDAValidateException
-