Class BTWarehouseMaterialImport
java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.inventory.bl.importexport.material.task.BTWarehouseMaterialImport
- All Implemented Interfaces:
Serializable,Tool
Business task in order to import a
BOWarehouseMaterial from a xlsx file. - Since:
- 14.0
- See Also:
- GCApi:
- task
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected overit.geocallapp.docshare.docsharing.model.Resourceprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplements this method to write the specific task logic to handle the input parameter.protected booleanprotected WarehouseMaterialStockImportOutputelaborateRecords(DBView materials, PoolKit poolKit) protected voidReturns the log helper.protected overit.geocallapp.docshare.docsharing.services.ResourceServiceprotected Stringprotected voidopenLog()protected DBViewvoidsetResourceUUID(String resourceUUID) Sets the resource UUID.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
resourceUUID
-
inputResource
protected overit.geocallapp.docshare.docsharing.model.Resource inputResource
-
-
Constructor Details
-
BTWarehouseMaterialImport
public BTWarehouseMaterialImport()
-
-
Method Details
-
getLogHelper
Returns the log helper.- Returns:
- the log helper
-
setResourceUUID
Sets the resource UUID.- Parameters:
resourceUUID- the resource UUID
-
body
Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<Void>- Parameters:
input- the object upon which the task will works onpoolKit- 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
-
checkValidExecution
- Throws:
DAValidateException
-
execute
- Throws:
DAValidateExceptionDAException
-
openLog
- Throws:
DAValidateExceptionDAException
-
readXlsxDocument
- Throws:
DAValidateExceptionDAException
-
getWrapperFile
-
elaborateRecords
protected WarehouseMaterialStockImportOutput elaborateRecords(DBView materials, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getResourceService
protected overit.geocallapp.docshare.docsharing.services.ResourceService getResourceService() throws DAValidateException, DAException- Throws:
DAValidateExceptionDAException
-