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