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