Class BTWarehouseMaterialUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<WarehouseMaterialUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WarehouseMaterialUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WarehouseMaterialUpdateEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<WarehouseMaterialUpdateEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.material.task.BTWarehouseMaterialUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WarehouseMaterialUpdateEvent.class)
public class BTWarehouseMaterialUpdate
extends BTInventoryManagement<WarehouseMaterialUpdateEvent>
Business task in order to update a
When the
BOWarehouseMaterial. When the
WarehouseMaterialUpdateEvent is launched
the BT notices the call and updates the BOWarehouseMaterial basing on the event's input. Required fields:
- Material id
- Warehouse id
- Measure unit id
Permission:
- Since:
- 13.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(WarehouseMaterialUpdateEvent event, PoolKit poolKit) Updates theBOWarehouseMaterialwith 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
-
BTWarehouseMaterialUpdate
public BTWarehouseMaterialUpdate()
-
-
Method Details
-
execute
protected void execute(WarehouseMaterialUpdateEvent event, PoolKit poolKit) throws DAException, DAValidateException Updates theBOWarehouseMaterialwith all its needed components.- Specified by:
executein classValidExecutionBusinessTask<WarehouseMaterialUpdateEvent>- Parameters:
event- theWarehouseMaterialUpdateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-