Class BTMaterialClassLoad
java.lang.Object
overit.geocall.bl.BusinessTask<MaterialClassLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<MaterialClassLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<MaterialClassLoadEvent>
overit.geocallapp.wfm.core.bl.material.materialclass.task.BTMaterialClassLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(MaterialClassLoadEvent.class)
public class BTMaterialClassLoad
extends ValidPermissionBusinessTask<MaterialClassLoadEvent>
Business task in order to load a
When the
BOMaterialClass. When the
MaterialClassLoadEvent is launched
the BT notices the call and loads the BOMaterialClass basing on the event's input. - 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(MaterialClassLoadEvent event, PoolKit pk) Starting from the given id, it loads the correspondingBOMaterialClassand writes it 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
-
BTMaterialClassLoad
public BTMaterialClassLoad()
-
-
Method Details
-
execute
protected void execute(MaterialClassLoadEvent event, PoolKit pk) throws DAException, DAValidateException Starting from the given id, it loads the correspondingBOMaterialClassand writes it into the event journal.- Specified by:
executein classValidExecutionBusinessTask<MaterialClassLoadEvent>- Parameters:
event- theMaterialClassLoadEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Checks if the execution is execution.- Returns:
- true, if successful
-