Class BTUserVisibleWarehousesSearch
java.lang.Object
overit.geocall.bl.BusinessTask<UserVisibleWarehousesSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<UserVisibleWarehousesSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<UserVisibleWarehousesSearchEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<UserVisibleWarehousesSearchEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.task.BTUserVisibleWarehousesSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(UserVisibleWarehousesSearchEvent.class)
public class BTUserVisibleWarehousesSearch
extends BTInventoryManagement<UserVisibleWarehousesSearchEvent>
Business task in order to search the warehouse visible for the user.
When the
When the
UserVisibleWarehousesSearchEvent is launched
the BT notices the call and searches the warehouse basing on the event's input. Permission:
Error Code:
Codes.GC_NOT_FOUND: The resource has not been found
- 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(UserVisibleWarehousesSearchEvent event, PoolKit poolKit) Starting from the given user id, it searches the corresponding list ofBOWarehouse, which is then written into the event journal.booleanDetermines whether the current state is valid for execution.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
-
BTUserVisibleWarehousesSearch
public BTUserVisibleWarehousesSearch()
-
-
Method Details
-
execute
protected void execute(UserVisibleWarehousesSearchEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the given user id, it searches the corresponding list ofBOWarehouse, which is then written into the event journal.- Specified by:
executein classValidExecutionBusinessTask<UserVisibleWarehousesSearchEvent>- Parameters:
event- theUserVisibleWarehousesSearchEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Returns:
- true if execution is valid, false otherwise
-