Class BTStockSerializedMaterialDelete
java.lang.Object
overit.geocall.bl.BusinessTask<StockSerializedMaterialDeleteEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<StockSerializedMaterialDeleteEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<StockSerializedMaterialDeleteEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<StockSerializedMaterialDeleteEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.stock.serializedmaterial.task.BTStockSerializedMaterialDelete
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(StockSerializedMaterialDeleteEvent.class)
public class BTStockSerializedMaterialDelete
extends BTInventoryManagement<StockSerializedMaterialDeleteEvent>
Business task in order to delete a
When the
BOStockSerializedMaterial. When the
StockSerializedMaterialDeleteEvent is launched
the BT notices the call and deletes the BOStockSerializedMaterial basing on the event's input. 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(StockSerializedMaterialDeleteEvent event, PoolKit poolKit) Deletes the givenBOStockSerializedMaterial.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
-
BTStockSerializedMaterialDelete
public BTStockSerializedMaterialDelete()
-
-
Method Details
-
execute
protected void execute(StockSerializedMaterialDeleteEvent event, PoolKit poolKit) throws DAException, DAValidateException Deletes the givenBOStockSerializedMaterial.- Specified by:
executein classValidExecutionBusinessTask<StockSerializedMaterialDeleteEvent>- Parameters:
event- theStockSerializedMaterialDeleteEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-