Uses of Interface
appointmentplanner.api.AppointmentData
-
Uses of AppointmentData in appointmentplanner.api
Methods in appointmentplanner.api that return AppointmentDataModifier and TypeMethodDescriptionAppointmentRequest.appointmentData()Get the appointment details of this appointment.AbstractAPFactory.createAppointmentData(String description, Duration duration) Factory method to create an AppointmentData object without specified startTime.Methods in appointmentplanner.api with parameters of type AppointmentDataModifier and TypeMethodDescriptiondefault Optional<Appointment> LocalDayPlan.addAppointment(AppointmentData appointmentData, TimePreference preference) Add and appointment with time preference.default Optional<Appointment> LocalDayPlan.addAppointment(AppointmentData appointmentData, LocalTime startTime) Add and appointment with fix start time.default Optional<Appointment> LocalDayPlan.addAppointment(AppointmentData appointmentData, LocalTime start, TimePreference fallback) Add an appointment with start time and fallback time preference.Timeline.addAppointment(LocalDay forDay, AppointmentData appointment, TimePreference timePreference) Add a new appointment to this day.Timeline.addAppointment(LocalDay forDay, AppointmentData appointment, LocalTime startTime) Add appointment with a fixed time.Timeline.addAppointment(LocalDay forDay, AppointmentData appointment, LocalTime startTime, TimePreference fallback) Add appointment with a fixed time.default AppointmentRequestAbstractAPFactory.createAppointmentRequest(AppointmentData appData, TimePreference preference) Create a request with time preference.default AppointmentRequestAbstractAPFactory.createAppointmentRequest(AppointmentData data, LocalTime startTime) Create an appointmentRequest with a required start time.AbstractAPFactory.createAppointmentRequest(AppointmentData appointmentData, LocalTime preferredStart, TimePreference fallBack) Create a request with a preferred start time and a fallback time preference.