Class BTXlsxOperationExport
java.lang.Object
overit.geocall.bl.BusinessTask<overit.geocallapp.wfm.core.export.base.event.XlsxExportEvent<WarehouseOperation>>
overit.geocallapp.wfm.core.export.base.task.BTXlsxExport<WarehouseOperation>
overit.geocallapp.wfm.inventory.export.operation.task.BTXlsxOperationExport
- All Implemented Interfaces:
Serializable,Tool
@Event(XlsxOperationExportEvent.class)
public class BTXlsxOperationExport
extends overit.geocallapp.wfm.core.export.base.task.BTXlsxExport<WarehouseOperation>
Business task to export warehouse operations in a xlsx file
- Since:
- 14.0
- See Also:
- GCApi:
- task
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the default file name for the export file.protected DBViewgetHeadersDBView(List<WarehouseOperation> searchResults, PoolKit poolKit) protected DBViewgetItemsDBView(List<WarehouseOperation> searchResults, PoolKit poolKit) protected StringReturns the full path of the exported resources folder.protected DBViewgetSerialsDBView(List<WarehouseOperation> searchResults, PoolKit poolKit) protected voidwriteData(List<WarehouseOperation> searchResults, WebResource resource, XlsxDocument document, PoolKit poolKit) Write the searched object in a xlsx file.Methods inherited from class overit.geocallapp.wfm.core.export.base.task.BTXlsxExport
body, convertResultsToDBView, getInput, initWebResourceMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
warehouseCache
-
materialCache
-
-
Constructor Details
-
BTXlsxOperationExport
public BTXlsxOperationExport()
-
-
Method Details
-
writeData
protected void writeData(List<WarehouseOperation> searchResults, WebResource resource, XlsxDocument document, PoolKit poolKit) throws DAValidateException, DAException Description copied from class:overit.geocallapp.wfm.core.export.base.task.BTXlsxExportWrite the searched object in a xlsx file.- Overrides:
writeDatain classoverit.geocallapp.wfm.core.export.base.task.BTXlsxExport<WarehouseOperation>- Parameters:
searchResults- the list of object to exportresource- theWebResourceon which the data will be saveddocument- theXlsxDocumentused for create the xlsx documentpoolKit- thePoolKit- Throws:
DAValidateExceptionDAException
-
getHeadersDBView
-
getItemsDBView
-
getSerialsDBView
protected DBView getSerialsDBView(List<WarehouseOperation> searchResults, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
getDefaultFileName
Description copied from class:overit.geocallapp.wfm.core.export.base.task.BTXlsxExportReturns the default file name for the export file.- Overrides:
getDefaultFileNamein classoverit.geocallapp.wfm.core.export.base.task.BTXlsxExport<WarehouseOperation>- Returns:
- the default file name
-
getReportFolderPath
Description copied from class:overit.geocallapp.wfm.core.export.base.task.BTXlsxExportReturns the full path of the exported resources folder.- Overrides:
getReportFolderPathin classoverit.geocallapp.wfm.core.export.base.task.BTXlsxExport<WarehouseOperation>- Returns:
- the folder path of the exported file
-