Class BTCentralWarehouseSearch
java.lang.Object
overit.geocall.bl.BusinessTask<CentralWarehouseSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<CentralWarehouseSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<CentralWarehouseSearchEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<CentralWarehouseSearchEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.central.task.BTCentralWarehouseSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(CentralWarehouseSearchEvent.class)
public class BTCentralWarehouseSearch
extends BTInventoryManagement<CentralWarehouseSearchEvent>
Business task in order to search a
When the
BOCentralWarehouse. When the
CentralWarehouseSearchEvent is launched
the BT notices the call and searches the BOCentralWarehouse basing on the event's input. Permission:
Visibility:
- all the warehouses that are connected to the operation centers of the user
- 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(CentralWarehouseSearchEvent event, PoolKit pk) Starting from the givenCentralWarehouseSearchFilter, it searches the corresponding list ofBOCentralWarehouseand presents them as aPageResponsewhich is then written 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
-
BTCentralWarehouseSearch
public BTCentralWarehouseSearch()
-
-
Method Details
-
execute
protected void execute(CentralWarehouseSearchEvent event, PoolKit pk) throws DAException, DAValidateException Starting from the givenCentralWarehouseSearchFilter, it searches the corresponding list ofBOCentralWarehouseand presents them as aPageResponsewhich is then written into the event journal.- Specified by:
executein classValidExecutionBusinessTask<CentralWarehouseSearchEvent>- Parameters:
event- theCentralWarehouseSearchEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-