Class BTPreviousMeterReadingLoad
java.lang.Object
overit.geocall.bl.BusinessTask<PreviousMeterReadingLoadEvent>
overit.geocallapp.wfm.core.bl.schedule.intervention.outcome.meterreading.task.BTPreviousMeterReadingLoad
- All Implemented Interfaces:
Serializable,Tool
@Event(PreviousMeterReadingLoadEvent.class)
public class BTPreviousMeterReadingLoad
extends BusinessTask<PreviousMeterReadingLoadEvent>
Business task in order to load the last reading data for a meter.
When the
PreviousMeterReadingLoadEvent is launched
the BT notices the call and loads the meter reading basing on the event's input.- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(PreviousMeterReadingLoadEvent event, PoolKit pk) Writes the loaded meter reading data into the event journal.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTPreviousMeterReadingLoad
public BTPreviousMeterReadingLoad()
-
-
Method Details
-
body
protected void body(PreviousMeterReadingLoadEvent event, PoolKit pk) throws DAException, DAValidateException Writes the loaded meter reading data into the event journal.- Specified by:
bodyin classBusinessTask<PreviousMeterReadingLoadEvent>- Parameters:
event- thePreviousMeterReadingLoadEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-