Class BTLastAppointmentLoad
java.lang.Object
overit.geocall.bl.BusinessTask<LastAppointmentLoadEvent>
overit.geocallapp.wfm.core.bl.schedule.intervention.appointment.task.BTLastAppointmentLoad
- All Implemented Interfaces:
Serializable,Tool
@Event(LastAppointmentLoadEvent.class)
public class BTLastAppointmentLoad
extends BusinessTask<LastAppointmentLoadEvent>
Business task in order to load the last appointment
When the
BOAppointment of
a workorder operation. When the
LastAppointmentLoadEvent is launched the BT notices the
call and loads the BOAppointment basing on the event's input. - Since:
- 15.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(LastAppointmentLoadEvent event, PoolKit poolKit) Starting from the givenBOWorkOrderOperationid, it loads the last planned appointmentBOAppointmentand writes it into the event journal.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTLastAppointmentLoad
public BTLastAppointmentLoad()
-
-
Method Details
-
body
protected void body(LastAppointmentLoadEvent event, PoolKit poolKit) throws DAValidateException, DAException Starting from the givenBOWorkOrderOperationid, it loads the last planned appointmentBOAppointmentand writes it into the event journal.- Specified by:
bodyin classBusinessTask<LastAppointmentLoadEvent>- Parameters:
event- theLastAppointmentLoadEventpoolKit- the pool kit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-