Class BTTransferRequestItemSerializedMaterialInsert
java.lang.Object
overit.geocall.bl.BusinessTask<TransferRequestItemSerializedMaterialInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<TransferRequestItemSerializedMaterialInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<TransferRequestItemSerializedMaterialInsertEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<TransferRequestItemSerializedMaterialInsertEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.transfer.request.item.serializedmaterial.task.BTTransferRequestItemSerializedMaterialInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(TransferRequestItemSerializedMaterialInsertEvent.class)
public class BTTransferRequestItemSerializedMaterialInsert
extends BTInventoryManagement<TransferRequestItemSerializedMaterialInsertEvent>
Business task in order to insert a
When the
BOTransferRequestItemSerializedMaterial. When the
TransferRequestItemSerializedMaterialInsertEvent is launched
the BT notices the call and inserts the BOTransferRequestItemSerializedMaterial basing on the event's input. Permission:
- 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(TransferRequestItemSerializedMaterialInsertEvent event, PoolKit poolKit) Inserts the givenBOTransferRequestItemSerializedMaterialand writes the newly generated id into the event journal.booleanChecks if the execution is valid.protected voidvalidateData(BOTransferRequestItemSerializedMaterial input, PoolKit poolKit) Validates the transfer request header data before the insertion.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
-
BTTransferRequestItemSerializedMaterialInsert
public BTTransferRequestItemSerializedMaterialInsert()
-
-
Method Details
-
execute
protected void execute(TransferRequestItemSerializedMaterialInsertEvent event, PoolKit poolKit) throws DAException, DAValidateException Inserts the givenBOTransferRequestItemSerializedMaterialand writes the newly generated id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<TransferRequestItemSerializedMaterialInsertEvent>- Parameters:
event- theTransferRequestItemSerializedMaterialInsertEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validateData
protected void validateData(BOTransferRequestItemSerializedMaterial input, PoolKit poolKit) throws DAValidateException, DAException Validates the transfer request header data before the insertion.- Parameters:
input- the current transfer request item serialized material- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-