Class BTMaterialItemSearch
java.lang.Object
overit.geocall.bl.BusinessTask<MaterialItemSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<MaterialItemSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<MaterialItemSearchEvent>
overit.geocallapp.wfm.materials.bl.item.task.BTMaterialItemSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(MaterialItemSearchEvent.class)
public class BTMaterialItemSearch
extends ValidPermissionBusinessTask<MaterialItemSearchEvent>
Business task in order to search a
When the
BOMaterialItem. When the
MaterialItemSearchEvent is launched
the BT notices the call and searches the BOMaterialItem basing on the event's input. - Since:
- 17.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(MaterialItemSearchEvent event, PoolKit pk) Starting from the givenMaterialItemSearchFilter, it searches the corresponding list ofBOMaterialItemand presents them as aPageResponsewhich is then written into the event journal.booleanChecks if the execution is execution.Methods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
checkValidExecution, 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
-
BTMaterialItemSearch
public BTMaterialItemSearch()
-
-
Method Details
-
execute
protected void execute(MaterialItemSearchEvent event, PoolKit pk) throws DAException, DAValidateException Starting from the givenMaterialItemSearchFilter, it searches the corresponding list ofBOMaterialItemand presents them as aPageResponsewhich is then written into the event journal.- Specified by:
executein classValidExecutionBusinessTask<MaterialItemSearchEvent>- Parameters:
event- the MaterialItemTypeSearchEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is execution.- Returns:
- true, if successful
-