Class BTWarehouseMaterialActivate
java.lang.Object
overit.geocall.bl.BusinessTask<WarehouseMaterialActivateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WarehouseMaterialActivateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WarehouseMaterialActivateEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<WarehouseMaterialActivateEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.material.task.BTWarehouseMaterialActivate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WarehouseMaterialActivateEvent.class)
public class BTWarehouseMaterialActivate
extends BTInventoryManagement<WarehouseMaterialActivateEvent>
Business task in order to activate a
When the
BOWarehouseMaterial. When the
WarehouseMaterialActivateEvent is launched the BT notices the call and activates the BOWarehouseMaterial basing on the
event's input. Required fields:
- Warehouse material 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(WarehouseMaterialActivateEvent event, PoolKit poolKit) Activate the givenBOWarehouseMaterial.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
-
BTWarehouseMaterialActivate
public BTWarehouseMaterialActivate()
-
-
Method Details
-
execute
protected void execute(WarehouseMaterialActivateEvent event, PoolKit poolKit) throws DAException, DAValidateException Activate the givenBOWarehouseMaterial.- Specified by:
executein classValidExecutionBusinessTask<WarehouseMaterialActivateEvent>- Parameters:
event- theWarehouseMaterialActivateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-