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