Uses of Interface
appointmentplanner.api.Appointment
-
Uses of Appointment in appointmentplanner.api
Modifier 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 Optional
<Appointment> Timeline.addAppointment
(LocalDay forDay, AppointmentRequest appointmentRequest) Create an appointment based on previous appointmentRequest.default List
<Appointment> LocalDayPlan.appointments()
default List
<Appointment> Timeline.appointments()
Finds all appointments for this TimeLine.Timeline.appointmentStream()
Stream of all appointments.default List
<Appointment> LocalDayPlan.findAppointments
(Predicate<Appointment> filter) Timeline.findAppointments
(Predicate<Appointment> filter) Finds all appointments matching given filter.Modifier and TypeMethodDescriptiondefault boolean
LocalDayPlan.contains
(Appointment appointment) boolean
Timeline.contains
(Appointment appointment) Check if day contains the given appointment.default AppointmentRequest
LocalDayPlan.removeAppointment
(Appointment appointment) Timeline.removeAppointment
(Appointment appointment) Removes the given appointment, returning the AppointmentRequest of that appointment, if found.Modifier and TypeMethodDescriptiondefault List
<Appointment> LocalDayPlan.findAppointments
(Predicate<Appointment> filter) Timeline.findAppointments
(Predicate<Appointment> filter) Finds all appointments matching given filter.default List
<AppointmentRequest> LocalDayPlan.removeAppointments
(Predicate<Appointment> filter) Timeline.removeAppointments
(Predicate<Appointment> filter) Removes appointments with description that matches a filter.