Class BTWarehouseMaterialMassiveInsert
java.lang.Object
overit.geocall.bl.BusinessTask<WarehouseMaterialMassiveInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WarehouseMaterialMassiveInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WarehouseMaterialMassiveInsertEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<WarehouseMaterialMassiveInsertEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.material.task.BTWarehouseMaterialMassiveInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WarehouseMaterialMassiveInsertEvent.class)
public class BTWarehouseMaterialMassiveInsert
extends BTInventoryManagement<WarehouseMaterialMassiveInsertEvent>
Business task in order to insert a list of
When the
BOWarehouseMaterial. When the
WarehouseMaterialMassiveInsertEvent is launched the BT notices the call and inserts all the BOWarehouseMaterial basing on
the event's input. Required fields:
- Material id
- Warehouse id
Permission:
- 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 voidexecute(WarehouseMaterialMassiveInsertEvent event, PoolKit poolKit) Inserts the givenBOWarehouseMaterialand writes the newly generated id into the event journal.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
-
BTWarehouseMaterialMassiveInsert
public BTWarehouseMaterialMassiveInsert()
-
-
Method Details
-
execute
protected void execute(WarehouseMaterialMassiveInsertEvent event, PoolKit poolKit) throws DAException, DAValidateException Inserts the givenBOWarehouseMaterialand writes the newly generated id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<WarehouseMaterialMassiveInsertEvent>- Parameters:
event- theBTWarehouseMaterialMassiveInsertpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-