Class BTWarehouseCentralMobileDelete
java.lang.Object
overit.geocall.bl.BusinessTask<WarehouseCentralMobileDeleteEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WarehouseCentralMobileDeleteEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WarehouseCentralMobileDeleteEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<WarehouseCentralMobileDeleteEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.centralmobile.task.BTWarehouseCentralMobileDelete
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WarehouseCentralMobileDeleteEvent.class)
public class BTWarehouseCentralMobileDelete
extends BTInventoryManagement<WarehouseCentralMobileDeleteEvent>
Business task in order to delete a
When the
BOCentralMobileWarehouse. When the
WarehouseCentralMobileDeleteEvent is launched
the BT notices the call and deletes the BOCentralMobileWarehouse basing on the event's input. Required fields:
- Relation Id
Permission:
Error Code:
Codes.GC_NOT_FOUND: The resource has not been found
- 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(WarehouseCentralMobileDeleteEvent event, PoolKit poolKit) Execute.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
-
BTWarehouseCentralMobileDelete
public BTWarehouseCentralMobileDelete()
-
-
Method Details
-
execute
protected void execute(WarehouseCentralMobileDeleteEvent event, PoolKit poolKit) throws DAException, DAValidateException Execute.- Specified by:
executein classValidExecutionBusinessTask<WarehouseCentralMobileDeleteEvent>- Parameters:
event- theWarehouseCentralMobileDeleteEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
Validates the data before the delete.- Parameters:
id- theBOCentralMobileWarehouseidpoolKit- thePoolKit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-