Class BTExpectedMaterialSearch
java.lang.Object
overit.geocall.bl.BusinessTask<ExpectedMaterialSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<ExpectedMaterialSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<ExpectedMaterialSearchEvent>
overit.geocallapp.wfm.inventory.bl.task.BTInventoryManagement<ExpectedMaterialSearchEvent>
overit.geocallapp.wfm.inventory.bl.warehouse.material.expected.task.BTExpectedMaterialSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(ExpectedMaterialSearchEvent.class)
public class BTExpectedMaterialSearch
extends BTInventoryManagement<ExpectedMaterialSearchEvent>
Business task in order to search aN
When the
ExpectedMaterial. When the
ExpectedMaterialSearchEvent is launched
the BT notices the call and searchEs the ExpectedMaterial basing on the event's input. - 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(ExpectedMaterialSearchEvent event, PoolKit poolKit) Starting from the givenExpectedMaterialSearchFilter, it searches the corresponding list ofExpectedMaterialand 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
-
BTExpectedMaterialSearch
public BTExpectedMaterialSearch()
-
-
Method Details
-
execute
protected void execute(ExpectedMaterialSearchEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the givenExpectedMaterialSearchFilter, it searches the corresponding list ofExpectedMaterialand presents them as aPageResponsewhich is then written into the event journal.- Specified by:
executein classValidExecutionBusinessTask<ExpectedMaterialSearchEvent>- Parameters:
event- theExpectedMaterialSearchEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is valid.- Returns:
- true, if successful
-