public interface IAppointmentHandler extends IGenericHandler
Appointment entities.| Modifier and Type | Method and Description | 
|---|---|
void | 
cancelBookedAppointment(UserContext uc,
                       IAppointmentDeleteBookingParams params)
Cancels the given appointment. 
 | 
Appointment | 
createBookedAppointment(UserContext uc,
                       IAppointmentCreateBookingParams params)
Books the given appointment. 
 | 
List<Appointment> | 
getAllBy(UserContext uc,
        IAppointmentQueryParams queryParams)
Returns all appointments that match the given query parameters. 
 | 
Appointment | 
getByUUID(UserContext uc,
         String uuid)
Finds the appointment with the given UUID. 
 | 
Appointment | 
getByUUID(UserContext uc,
         UUID uuid)
Finds the appointment with the given UUID. 
 | 
Appointment | 
moveBookedAppointment(UserContext uc,
                     IAppointmentMoveBookingParams params)
Moves an appointment to a different time and date. 
 | 
List<EAppointmentBookingError> | 
validateAppointments(UserContext uc,
                    IAppointmentValidateParams params)
Validates whether the given appointments can be created or updated. 
 | 
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, update, updategetNamevoid cancelBookedAppointment(UserContext uc, IAppointmentDeleteBookingParams params) throws AppointmentBookingException
validateAppointments(UserContext, IAppointmentValidateParams) first if you have not done so yet.uc - Current user context for accessing the database.params - Parameters with the appointment to cancel, must be a persisted entity.AppointmentBookingException - When the booking could not be performed. See
 AppointmentBookingException.getBookingError() for more details.Appointment createBookedAppointment(UserContext uc, IAppointmentCreateBookingParams params) throws AppointmentBookingException
validateAppointments(UserContext, IAppointmentValidateParams)
 first if you have not done so yet.uc - Current user context for accessing the database.params - Parameters with the appointment to book, must be a new (non-persisted) entity.status - A list of status to which to restrict the returned appointments.AppointmentBookingException - When the booking could not be performed. See
 AppointmentBookingException.getBookingError() for more details.List<Appointment> getAllBy(UserContext uc, IAppointmentQueryParams queryParams)
validateAppointments(UserContext, IAppointmentValidateParams) first if you have not done so yet.uc - Current user context for accessing the database.queryParams - Restrictions to apply the returned appointments.Appointment getByUUID(UserContext uc, String uuid)
uc - Current user context for accessing the database.uuid - UUID of an appointment.Appointment getByUUID(UserContext uc, UUID uuid)
uc - Current user context for accessing the database.uuid - UUID of an appointment.Appointment moveBookedAppointment(UserContext uc, IAppointmentMoveBookingParams params) throws AppointmentBookingException
uc - Current user context for accessing the database.params - Parameters with the appointment to move.AppointmentBookingException - When the booking could not be performed. See
 AppointmentBookingException.getBookingError() for more details.List<EAppointmentBookingError> validateAppointments(UserContext uc, IAppointmentValidateParams params)
uc - Current user context for accessing the database.params - Parameters with the appointments to validate.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.