Class BTWarehouseStockChangeHandle
java.lang.Object
overit.geocall.bl.BusinessTask<WarehouseStockChangeHandleEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.operation.task.BTWarehouseStockChangeHandle
- All Implemented Interfaces:
Serializable,Tool
@Event(WarehouseStockChangeHandleEvent.class)
public class BTWarehouseStockChangeHandle
extends BusinessTask<WarehouseStockChangeHandleEvent>
Business task in order to generate and execute a warehouse operation from stock change.
- Since:
- 14.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(WarehouseStockChangeHandleEvent event, PoolKit poolKit) Implements this method to write the specific task logic to handle the input parameter.protected LongcreateOperation(WarehouseStockChangeHandleInput input, PoolKit poolKit) protected LogHelperprotected LogMessageHelperprotected voidhandleOperation(Long operation, PoolKit poolKit) protected voidopenLog()Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTWarehouseStockChangeHandle
public BTWarehouseStockChangeHandle()
-
-
Method Details
-
getLogHelper
-
body
protected void body(WarehouseStockChangeHandleEvent event, PoolKit poolKit) 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<WarehouseStockChangeHandleEvent>- Parameters:
event- 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
-
openLog
- Throws:
DAValidateExceptionDAException
-
getLogMessage
-
createOperation
protected Long createOperation(WarehouseStockChangeHandleInput input, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
handleOperation
protected void handleOperation(Long operation, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-