Class BTWarehouseMaterialDetailLoad
java.lang.Object
overit.geocall.bl.BusinessTask<WarehouseMaterialDetailLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WarehouseMaterialDetailLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WarehouseMaterialDetailLoadEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<WarehouseMaterialDetailLoadEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.material.detail.task.BTWarehouseMaterialDetailLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WarehouseMaterialDetailLoadEvent.class)
public class BTWarehouseMaterialDetailLoad
extends BTInventoryManagement<WarehouseMaterialDetailLoadEvent>
Business task in order to load a
When the
WarehouseMaterialDetail. When the
WarehouseMaterialDetailLoadEvent is launched
the BT notices the call and loads the WarehouseMaterialDetail basing on the event's input. - 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(WarehouseMaterialDetailLoadEvent event, PoolKit poolKit) Starting from the given id, it loads the correspondingWarehouseMaterialDetailand writes it into the event journal.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
-
BTWarehouseMaterialDetailLoad
public BTWarehouseMaterialDetailLoad()
-
-
Method Details
-
execute
protected void execute(WarehouseMaterialDetailLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the given id, it loads the correspondingWarehouseMaterialDetailand writes it into the event journal.- Specified by:
executein classValidExecutionBusinessTask<WarehouseMaterialDetailLoadEvent>- Parameters:
event- theWarehouseMaterialDetailLoadEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-