Class BTTransferRequestItemSerializedMaterialUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<TransferRequestItemSerializedMaterialUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<TransferRequestItemSerializedMaterialUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<TransferRequestItemSerializedMaterialUpdateEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<TransferRequestItemSerializedMaterialUpdateEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.transfer.request.item.serializedmaterial.task.BTTransferRequestItemSerializedMaterialUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(TransferRequestItemSerializedMaterialUpdateEvent.class)
public class BTTransferRequestItemSerializedMaterialUpdate
extends BTInventoryManagement<TransferRequestItemSerializedMaterialUpdateEvent>
Business task in order to update a
When the
BOTransferRequestItemSerializedMaterial. When the
TransferRequestItemSerializedMaterialUpdateEvent is launched
the BT notices the call and updates 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(TransferRequestItemSerializedMaterialUpdateEvent event, PoolKit poolKit) Updates the givenBOTransferRequestItemSerializedMaterial.getNotUpdatableFields(Long state) Returns the list containing the names of the fields that cannot be updated.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
-
BTTransferRequestItemSerializedMaterialUpdate
public BTTransferRequestItemSerializedMaterialUpdate()
-
-
Method Details
-
execute
protected void execute(TransferRequestItemSerializedMaterialUpdateEvent event, PoolKit poolKit) throws DAException, DAValidateException Updates the givenBOTransferRequestItemSerializedMaterial.- Specified by:
executein classValidExecutionBusinessTask<TransferRequestItemSerializedMaterialUpdateEvent>- Parameters:
event- theTransferRequestItemSerializedMaterialUpdateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
getNotUpdatableFields
Returns the list containing the names of the fields that cannot be updated.- Parameters:
state- the currentBOTransferRequestHeaderstate- Returns:
- the list of fields that cannot be updated
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-