Class BTWarehouseOperationCreationManual
java.lang.Object
overit.geocall.bl.BusinessTask<WarehouseOperationCreationEvent<WarehouseOperationCreationManualInput>>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WarehouseOperationCreationEvent<WarehouseOperationCreationManualInput>>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WarehouseOperationCreationEvent<WarehouseOperationCreationManualInput>>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<WarehouseOperationCreationEvent<WarehouseOperationCreationManualInput>>
overit.geocallapp.wfm.inventory.bl.warehouse.operation.task.BTWarehouseOperationCreation<WarehouseOperationCreationManualInput>
overit.geocallapp.wfm.inventory.bl.warehouse.operation.task.BTWarehouseOperationCreationManual
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WarehouseOperationCreationManualEvent.class)
public class BTWarehouseOperationCreationManual
extends BTWarehouseOperationCreation<WarehouseOperationCreationManualInput>
Business task in order to create a
When the
WarehouseOperation starting from manuelainput. When the
WarehouseOperationCreationManualEvent is launched
the BT notices the call and creates the WarehouseOperation basing on the event's input. - Since:
- 14.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 BOWarehouseOperationHeadercreateOperationHeader(WarehouseOperationCreationManualInput input, PoolKit poolKit) Creates theBOWarehouseOperationHeader.protected voidcreateOperationItems(WarehouseOperationCreationManualInput input, PoolKit poolKit) Creates the operationBOWarehouseOperationItem.protected BOWarehouseOperationHeaderSourcecreateOperationSource(WarehouseOperationCreationManualInput input, PoolKit poolKit) Creates theBOWarehouseOperationHeaderSource.protected LogHelperReturns the input log.protected LonggetOperationType(WarehouseOperationCreationManualInput input, PoolKit poolKit) Returns the type that the newWarehouseOperationwill have.protected voidvalidate(WarehouseOperationCreationManualInput input, PoolKit poolKit) Validates the data before the operation creation.Methods inherited from class overit.geocallapp.wfm.inventory.bl.warehouse.operation.task.BTWarehouseOperationCreation
completeOperation, execute, getLogHelper, getWarehouseOperation, getWarehouseOperationType, initialize, isValidExecution, saveWarehouseOperationMethods 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
-
BTWarehouseOperationCreationManual
public BTWarehouseOperationCreationManual()
-
-
Method Details
-
getOperationType
protected Long getOperationType(WarehouseOperationCreationManualInput input, PoolKit poolKit) throws DAException, DAValidateException Description copied from class:BTWarehouseOperationCreationReturns the type that the newWarehouseOperationwill have.- Specified by:
getOperationTypein classBTWarehouseOperationCreation<WarehouseOperationCreationManualInput>- Parameters:
input- the event inputpoolKit- thePoolKit- Returns:
- the
BOWarehouseOperationTypeid - Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
protected void validate(WarehouseOperationCreationManualInput input, PoolKit poolKit) throws DAValidateException, DAException Description copied from class:BTWarehouseOperationCreationValidates the data before the operation creation.- Specified by:
validatein classBTWarehouseOperationCreation<WarehouseOperationCreationManualInput>- Parameters:
input- the event inputpoolKit- thePoolKit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
createOperationHeader
protected BOWarehouseOperationHeader createOperationHeader(WarehouseOperationCreationManualInput input, PoolKit poolKit) Description copied from class:BTWarehouseOperationCreationCreates theBOWarehouseOperationHeader.- Specified by:
createOperationHeaderin classBTWarehouseOperationCreation<WarehouseOperationCreationManualInput>- Parameters:
input- the inputpoolKit- thePoolKit- Returns:
- the BO warehouse operation header
-
createOperationItems
protected void createOperationItems(WarehouseOperationCreationManualInput input, PoolKit poolKit) throws DAValidateException Description copied from class:BTWarehouseOperationCreationCreates the operationBOWarehouseOperationItem.- Specified by:
createOperationItemsin classBTWarehouseOperationCreation<WarehouseOperationCreationManualInput>- Parameters:
input- the inputpoolKit- thePoolKit- Throws:
DAValidateException- the DA validate exception
-
createOperationSource
protected BOWarehouseOperationHeaderSource createOperationSource(WarehouseOperationCreationManualInput input, PoolKit poolKit) Description copied from class:BTWarehouseOperationCreationCreates theBOWarehouseOperationHeaderSource.- Specified by:
createOperationSourcein classBTWarehouseOperationCreation<WarehouseOperationCreationManualInput>- Parameters:
input- the inputpoolKit- thePoolKit- Returns:
- the BO warehouse operation header source
-
getInputLog
Description copied from class:BTWarehouseOperationCreationReturns the input log.- Specified by:
getInputLogin classBTWarehouseOperationCreation<WarehouseOperationCreationManualInput>- Parameters:
input- the input- Returns:
- the input log
-