Class BTTransferRequestHeaderUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<TransferRequestHeaderUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<TransferRequestHeaderUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<TransferRequestHeaderUpdateEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<TransferRequestHeaderUpdateEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.transfer.request.header.task.BTTransferRequestHeaderUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(TransferRequestHeaderUpdateEvent.class)
public class BTTransferRequestHeaderUpdate
extends BTInventoryManagement<TransferRequestHeaderUpdateEvent>
Business task in order to update a
When the
BOTransferRequestHeader. When the
TransferRequestHeaderUpdateEvent is launched
the BT notices the call and updates the BOTransferRequestHeader 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(TransferRequestHeaderUpdateEvent event, PoolKit poolKit) Updates theBOTransferRequestHeaderwith all its needed components.getNotUpdatableFields(Long state) Returns the list containing the names of the fields that cannot be updated.Returns the list containing the names of the fields that cannot be updated basing on theBOTransferRequestState.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
-
BTTransferRequestHeaderUpdate
public BTTransferRequestHeaderUpdate()
-
-
Method Details
-
execute
protected void execute(TransferRequestHeaderUpdateEvent event, PoolKit poolKit) throws DAException, DAValidateException Updates theBOTransferRequestHeaderwith all its needed components.- Specified by:
executein classValidExecutionBusinessTask<TransferRequestHeaderUpdateEvent>- Parameters:
event- theTransferRequestHeaderUpdateEventpoolKit- 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
-
getNotUpdatableFieldsForState
Returns the list containing the names of the fields that cannot be updated basing on theBOTransferRequestState.- Returns:
- the list of fields that cannot be updated
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-