Class BTMeterAccessibilityLoad
java.lang.Object
overit.geocall.bl.BusinessTask<MeterAccessibilityLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<MeterAccessibilityLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<MeterAccessibilityLoadEvent>
overit.geocallapp.wfm.accounts.bl.meter.accessibility.task.BTMeterAccessibilityLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(MeterAccessibilityLoadEvent.class)
public class BTMeterAccessibilityLoad
extends ValidPermissionBusinessTask<MeterAccessibilityLoadEvent>
Business task in order to load a
When the
BOMeterAccessibility. When the
MeterAccessibilityLoadEvent is launched
the BT notices the call and loads the BOMeterAccessibility basing on the event's input. - Since:
- 16.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(MeterAccessibilityLoadEvent event, PoolKit poolKit) ExecuStarting from the given id, it loads the correspondingBOMeterAccessibilityand writes it into the event journal.te.booleanDetermines whether the current state is valid for 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
-
BTMeterAccessibilityLoad
public BTMeterAccessibilityLoad()
-
-
Method Details
-
execute
protected void execute(MeterAccessibilityLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException ExecuStarting from the given id, it loads the correspondingBOMeterAccessibilityand writes it into the event journal.te.- Specified by:
executein classValidExecutionBusinessTask<MeterAccessibilityLoadEvent>- Parameters:
event- theMeterAccessibilityLoadEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Returns:
- true if execution is valid, false otherwise
-