Class BTWarehouseTransactionUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<WarehouseTransactionUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WarehouseTransactionUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WarehouseTransactionUpdateEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<WarehouseTransactionUpdateEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.transaction.task.BTWarehouseTransactionUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WarehouseTransactionUpdateEvent.class)
public class BTWarehouseTransactionUpdate
extends BTInventoryManagement<WarehouseTransactionUpdateEvent>
Business task in order to update a
When the
BOWarehouseTransaction. When the
WarehouseTransactionUpdateEvent is launched the BT notices the call and updates the BOWarehouseTransaction basing on the event's input. Required fields:
- Stock updated
Permission:
- Since:
- 14.0
- See Also:
- GCApi:
- task
-
Field Summary
Fields inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(WarehouseTransactionUpdateEvent event, PoolKit poolKit) Updates theBOWarehouseTransactionwith all its needed components.booleanChecks if the execution is valid.Methods inherited from class overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement
checkValidExecutionMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
getException, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTWarehouseTransactionUpdate
public BTWarehouseTransactionUpdate()
-
-
Method Details
-
execute
protected void execute(WarehouseTransactionUpdateEvent event, PoolKit poolKit) throws DAException, DAValidateException Updates theBOWarehouseTransactionwith all its needed components.- Specified by:
executein classValidExecutionBusinessTask<WarehouseTransactionUpdateEvent>- Parameters:
event- theWarehouseTransactionUpdateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-