Uses of Interface
io.github.marcopaglio.booking.repository.ClientRepository
Package
Description
Contains implementations for using the repository layer through MongoDB
for entities of the booking application.
Contains implementations for using the repository layer through PostegreSQL
for entities of the booking application.
Provides facades for managing transactions in the booking application.
-
Uses of ClientRepository in io.github.marcopaglio.booking.repository.mongo
Modifier and TypeClassDescriptionclass
Implementation of repository layer through MongoDB for Client entities of the booking application. -
Uses of ClientRepository in io.github.marcopaglio.booking.repository.postgres
Modifier and TypeClassDescriptionclass
Implementation of repository layer through PostgreSQL for Client entities of the booking application. -
Uses of ClientRepository in io.github.marcopaglio.booking.transaction.manager
Modifier and TypeMethodDescriptionprotected <R> R
TransactionManager.executeInTransaction
(ClientReservationTransactionCode<R> code, TransactionHandler<?> handler, ClientRepository clientRepository, ReservationRepository reservationRepository) Executes code that involves bothClientRepository
's andReservationRepository
's methods in a single transaction managed by aTransactionHandler
.protected <R> R
TransactionManager.executeInTransaction
(ClientTransactionCode<R> code, TransactionHandler<?> handler, ClientRepository clientRepository) Executes code that involves theClientRepository
's method(s) in a single transaction managed by aTransactionHandler
.