Uses of Class
io.github.marcopaglio.booking.exception.InstanceAlreadyExistsException
Package
Description
Provides interfaces for facing the service layer of the booking application.
Contains transactional implementations of the service layer for the booking application.
-
Uses of InstanceAlreadyExistsException in io.github.marcopaglio.booking.service
Modifier and TypeMethodDescriptionBookingService.insertNewClient
(Client client) Adds a new client in the database.BookingService.insertNewReservation
(Reservation reservation) Adds a new reservation in the database.BookingService.renameClient
(UUID id, String newFirstName, String newLastName) Changes name and surname of the client with the specified id in the database.BookingService.rescheduleReservation
(UUID id, LocalDate newDate) Changes date of the reservation with the specified id in the database. -
Uses of InstanceAlreadyExistsException in io.github.marcopaglio.booking.service.transactional
Modifier and TypeMethodDescriptionTransactionalBookingService.insertNewClient
(Client client) Adds a new client in the database within a transaction.TransactionalBookingService.insertNewReservation
(Reservation reservation) Adds a new reservation in the database within a transaction.TransactionalBookingService.renameClient
(UUID id, String newFirstName, String newLastName) Changes name and surname of the client with the specified id in the database within a transaction.TransactionalBookingService.rescheduleReservation
(UUID id, LocalDate newDate) Changes date of the reservation with the specified id in the database within a transaction.