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