Class BTInterventionLoad
java.lang.Object
overit.geocall.bl.BusinessTask<InterventionLoadEvent>
overit.geocallapp.wfm.core.bl.schedule.intervention.task.BTInterventionLoad
- All Implemented Interfaces:
Serializable,Tool
@Event(InterventionLoadEvent.class)
public class BTInterventionLoad
extends BusinessTask<InterventionLoadEvent>
Business task in order to load a
Intervention.
When the InterventionLoadEvent is launched the BT notices the call
and loads the Intervention basing on the event's input.
Error Code:
Codes.C270_0644: It was not possible to find information for Intervention
- Since:
- 9.2
- See Also:
- GCApi:
- bo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(InterventionLoadEvent event, PoolKit poolKit) Writes the loaded intervention into the event journal.protected InterventionloadInterventionByAgenda(Long agenda, PoolKit poolKit) protected InterventionloadInterventionByScheduling(Long scheduling, PoolKit poolKit) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
daoIntervention
-
daoInterventionScheduled
-
-
Constructor Details
-
BTInterventionLoad
public BTInterventionLoad()
-
-
Method Details
-
body
protected void body(InterventionLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Writes the loaded intervention into the event journal.- Specified by:
bodyin classBusinessTask<InterventionLoadEvent>- Parameters:
event- theInterventionLoadEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
loadInterventionByScheduling
protected Intervention loadInterventionByScheduling(Long scheduling, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadInterventionByAgenda
protected Intervention loadInterventionByAgenda(Long agenda, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-