Class BTTransferRequestItemsLoad
java.lang.Object
overit.geocall.bl.BusinessTask<TransferRequestItemsLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<TransferRequestItemsLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<TransferRequestItemsLoadEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.transfer.request.task.BTTransferRequestItemsLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(TransferRequestItemsLoadEvent.class)
public class BTTransferRequestItemsLoad
extends ValidPermissionBusinessTask<TransferRequestItemsLoadEvent>
Business task in order to load the list of
When the
TransferRequestItem related to the given BOTransferRequestHeader. When the
TransferRequestItemsLoadEvent is launched the BT notices the call and loads the list of BOTransferRequestItem basing on the event's input. Required fields:
- transfer request header id
- 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(TransferRequestItemsLoadEvent event, PoolKit poolKit) Writes the list of the just loadedTransferRequestIteminto the event journal.booleanChecks if the execution is valid.protected List<BOTransferRequestItemSerializedMaterial> loadRelations(Long itemId, PoolKit poolKit) Methods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
checkValidExecution, 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
-
BTTransferRequestItemsLoad
public BTTransferRequestItemsLoad()
-
-
Method Details
-
execute
protected void execute(TransferRequestItemsLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Writes the list of the just loadedTransferRequestIteminto the event journal.- Specified by:
executein classValidExecutionBusinessTask<TransferRequestItemsLoadEvent>- Parameters:
event- theTransferRequestItemsLoadEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
loadRelations
protected List<BOTransferRequestItemSerializedMaterial> loadRelations(Long itemId, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-