Uses of Interface
appointmentplanner.api.Appointment
- 
Uses of Appointment in appointmentplanner.api
Methods in appointmentplanner.api that return types with arguments of type AppointmentModifier 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.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.default List<Appointment>LocalDayPlan.getAppointments()default List<Appointment>Timeline.getAppointments()Finds all appointments for this TimeLine.Methods in appointmentplanner.api with parameters of type AppointmentModifier and TypeMethodDescriptiondefault booleanLocalDayPlan.contains(Appointment appointment) booleanTimeline.contains(Appointment appointment) Check if day contains the given appointment.default AppointmentRequestLocalDayPlan.removeAppointment(Appointment appointment) Timeline.removeAppointment(Appointment appointment) Removes the given appointment, returning the AppointmentRequest of that appointment, if found.Method parameters in appointmentplanner.api with type arguments of type AppointmentModifier 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.