Class BTTransferRequestItemUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<TransferRequestItemUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<TransferRequestItemUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<TransferRequestItemUpdateEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<TransferRequestItemUpdateEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.transfer.request.item.task.BTTransferRequestItemUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(TransferRequestItemUpdateEvent.class)
public class BTTransferRequestItemUpdate
extends BTInventoryManagement<TransferRequestItemUpdateEvent>
Business task in order to update a
When the
BOTransferRequestItem. When the
TransferRequestItemUpdateEvent is launched
the BT notices the call and updates the BOTransferRequestItem basing on the event's input. Permission:
Error Code:
Codes.C270_1525: Invalid value for property
- 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(TransferRequestItemUpdateEvent event, PoolKit poolKit) Updates theBOTransferRequestItemwith all its needed components.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
-
BTTransferRequestItemUpdate
public BTTransferRequestItemUpdate()
-
-
Method Details
-
execute
protected void execute(TransferRequestItemUpdateEvent event, PoolKit poolKit) throws DAException, DAValidateException Updates theBOTransferRequestItemwith all its needed components.- Specified by:
executein classValidExecutionBusinessTask<TransferRequestItemUpdateEvent>- Parameters:
event- theTransferRequestItemUpdateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
getNotUpdatableFields
Returns the list containing the names of the fields that cannot be updated.- Returns:
- the list of fields that cannot be updated
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-