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