Class BTTransferRequestLoad
java.lang.Object
overit.geocall.bl.BusinessTask<TransferRequestLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<TransferRequestLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<TransferRequestLoadEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<TransferRequestLoadEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.transfer.request.task.BTTransferRequestLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(TransferRequestLoadEvent.class)
public class BTTransferRequestLoad
extends BTInventoryManagement<TransferRequestLoadEvent>
Business task in order to load a
When the
TransferRequest. When the
TransferRequestLoadEvent is launched the BT notices the call and loads the TransferRequest basing on the event's input. Required fields:
- Transfer request 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(TransferRequestLoadEvent event, PoolKit poolKit) Starting from the given id, it loads the correspondingTransferRequestand writes it into the event journal..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
-
BTTransferRequestLoad
public BTTransferRequestLoad()
-
-
Method Details
-
execute
protected void execute(TransferRequestLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the given id, it loads the correspondingTransferRequestand writes it into the event journal..- Specified by:
executein classValidExecutionBusinessTask<TransferRequestLoadEvent>- Parameters:
event- the TransferRequestLoadEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-