Class AppointmentLoadOrCreateOutput

java.lang.Object
overit.geocallapp.wfm.scheduling.appointment.event.AppointmentLoadOrCreateOutput
All Implemented Interfaces:
Serializable

public class AppointmentLoadOrCreateOutput extends Object implements 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 Details

    • AppointmentLoadOrCreateOutput

      public AppointmentLoadOrCreateOutput()
  • Method Details

    • getAppointmentId

      public Long getAppointmentId()
      Gets the appointment ID.
      Returns:
      the appointment ID
    • setAppointmentId

      public void setAppointmentId(Long appointmentId)
      Sets the appointment ID.
      Parameters:
      appointmentId - the appointment ID to set
    • getAgendaId

      public Long getAgendaId()
      Gets the agenda ID. This is the ID of the agenda created by DATCreaAppuntamentoFittizioOdl.
      Returns:
      the agenda ID
    • setAgendaId

      public void setAgendaId(Long agendaId)
      Sets the agenda ID.
      Parameters:
      agendaId - the agenda ID to set
    • getAppointmentData

      public HashGetter getAppointmentData()
      Gets the complete appointment data. This HashGetter contains all the appointment fields loaded via DATIncollaAttivitaNew.loadAttivita() and is compatible with legacy code that expects this format. The data can be passed directly to DATIncollaAttivitaNew.setAttivitaNuova().
      Returns:
      the appointment data
    • setAppointmentData

      public void setAppointmentData(HashGetter appointmentData)
      Sets the appointment data.
      Parameters:
      appointmentData - the appointment data to set