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