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