Class BTStockSerializedMaterialInsert
java.lang.Object
overit.geocall.bl.BusinessTask<StockSerializedMaterialInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<StockSerializedMaterialInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<StockSerializedMaterialInsertEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<StockSerializedMaterialInsertEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.stock.serializedmaterial.task.BTStockSerializedMaterialInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(StockSerializedMaterialInsertEvent.class)
public class BTStockSerializedMaterialInsert
extends BTInventoryManagement<StockSerializedMaterialInsertEvent>
Business task in order to insert a
When the
BOStockSerializedMaterial. When the
StockSerializedMaterialInsertEvent is launched
the BT notices the call and inserts the BOStockSerializedMaterial 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(StockSerializedMaterialInsertEvent event, PoolKit poolKit) Inserts the givenBOStockSerializedMaterialand writes the newly generated id into the event journal.booleanChecks if the execution is valid.protected voidvalidate(BOStockSerializedMaterial input, PoolKit poolKit) 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
-
BTStockSerializedMaterialInsert
public BTStockSerializedMaterialInsert()
-
-
Method Details
-
execute
protected void execute(StockSerializedMaterialInsertEvent event, PoolKit poolKit) throws DAException, DAValidateException Inserts the givenBOStockSerializedMaterialand writes the newly generated id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<StockSerializedMaterialInsertEvent>- Parameters:
event- theStockSerializedMaterialInsertEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
protected void validate(BOStockSerializedMaterial input, PoolKit poolKit) throws DAValidateException - Throws:
DAValidateException
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-