Class BTWarehouseOperationCenterLoad
java.lang.Object
overit.geocall.bl.BusinessTask<WarehouseOperationCenterLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WarehouseOperationCenterLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WarehouseOperationCenterLoadEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<WarehouseOperationCenterLoadEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.central.operationcenter.task.BTWarehouseOperationCenterLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WarehouseOperationCenterLoadEvent.class)
public class BTWarehouseOperationCenterLoad
extends BTInventoryManagement<WarehouseOperationCenterLoadEvent>
Business task in order to load a
When the
BOWarehouseOperationCenter. When the
WarehouseOperationCenterLoadEvent is launched
the BT notices the call and loads the BOWarehouseOperationCenter basing on the event's input. Required fields:
- Relation id
Permission:
Error Code:
Codes.GC_NOT_FOUND: The resource has not been found
Visibility:
- all the relations with operation center that are connected to the user
- 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(WarehouseOperationCenterLoadEvent event, PoolKit pk) Starting from the given id, it loads the correspondingBOWarehouseOperationCenterand writes it into the event journal.booleanChecks if the execution is valid.protected voidValidates the data before the loading.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
-
BTWarehouseOperationCenterLoad
public BTWarehouseOperationCenterLoad()
-
-
Method Details
-
execute
protected void execute(WarehouseOperationCenterLoadEvent event, PoolKit pk) throws DAException, DAValidateException Starting from the given id, it loads the correspondingBOWarehouseOperationCenterand writes it into the event journal.- Specified by:
executein classValidExecutionBusinessTask<WarehouseOperationCenterLoadEvent>- Parameters:
event- theWarehouseOperationCenterLoadEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
Validates the data before the loading.- 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
-