Class AppointmentLoadOrCreateOutput
java.lang.Object
overit.geocallapp.wfm.scheduling.appointment.event.AppointmentLoadOrCreateOutput
- All Implemented Interfaces:
Serializable
Output for the appointment load or create event.
Contains the appointment ID and the complete appointment data as HashGetter
for compatibility with legacy code that expects this format.
- Since:
- 22.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the agenda ID.Gets the complete appointment data.Gets the appointment ID.voidsetAgendaId(Long agendaId) Sets the agenda ID.voidsetAppointmentData(HashGetter appointmentData) Sets the appointment data.voidsetAppointmentId(Long appointmentId) Sets the appointment ID.
-
Constructor Details
-
AppointmentLoadOrCreateOutput
public AppointmentLoadOrCreateOutput()
-
-
Method Details
-
getAppointmentId
Gets the appointment ID.- Returns:
- the appointment ID
-
setAppointmentId
Sets the appointment ID.- Parameters:
appointmentId- the appointment ID to set
-
getAgendaId
Gets the agenda ID. This is the ID of the agenda created by DATCreaAppuntamentoFittizioOdl.- Returns:
- the agenda ID
-
setAgendaId
Sets the agenda ID.- Parameters:
agendaId- the agenda ID to set
-
getAppointmentData
Gets the complete appointment data. This HashGetter contains all the appointment fields loaded viaDATIncollaAttivitaNew.loadAttivita()and is compatible with legacy code that expects this format. The data can be passed directly toDATIncollaAttivitaNew.setAttivitaNuova().- Returns:
- the appointment data
-
setAppointmentData
Sets the appointment data.- Parameters:
appointmentData- the appointment data to set
-