Class BTInterventionDurationLoad
java.lang.Object
overit.geocall.bl.BusinessTask<InterventionDurationLoadEvent>
overit.geocallapp.wfm.core.bl.schedule.intervention.task.BTInterventionDurationLoad
- All Implemented Interfaces:
Serializable,Tool
@Event(InterventionDurationLoadEvent.class)
public class BTInterventionDurationLoad
extends BusinessTask<InterventionDurationLoadEvent>
Business task in order to load the duration of an intervetion
When the
InterventionDurationLoadEvent is launched
the BT notices the call and loads the duration of the given intervetion basing on the event's input.- Since:
- 9.1
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(InterventionDurationLoadEvent event, PoolKit pk) Writes the loaded intervention duration into the event journal.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTInterventionDurationLoad
public BTInterventionDurationLoad()
-
-
Method Details
-
body
protected void body(InterventionDurationLoadEvent event, PoolKit pk) throws DAException, DAValidateException Writes the loaded intervention duration into the event journal. Returns the residual duration value if available, the original value otherwise- Specified by:
bodyin classBusinessTask<InterventionDurationLoadEvent>- Parameters:
event- theInterventionDurationLoadEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-