All Classes and Interfaces
Class
Description
Contains the necessary structure of a generic entity.
This interface provides methods for operating on the booking application and notifies
the view(s) about changes.
This interface provides methods for operating on repositories of the booking application.
Implementation of BookingApp using Java Swing as GUI and MongoDB or PostgreSQL as DBMS.
A concrete implementation of the view for the booking application using Swing.
This interface provides methods for operating on a user interface for the booking application.
This entity represents the customer's model of the booking application.
Implementation of repository layer through MongoDB for Client entities of the booking application.
Implementation of repository layer through PostgreSQL for Client entities of the booking application.
Facade of repository layer for Client entities.
A factory of repositories for Client entities.
This interface provides code that involves both
ClientRepository
's
and ReservationRepository
's methods.This interface provides code that involves the
ClientRepository
's method(s).Facade of validator for client entities.
Thrown when there is a failure in querying the database.
The Generated annotation is used to mark source code that has been generated.
Thrown when you try to create or insert an already existing entity in the repository.
Thrown when you try to update or remove an entity that does not exist in the repository.
Facade of repository layer for using with MongoDB database.
Thrown when you try to insert an entity that violates not-null constraints in the repository.
This entity represents the reservation's model of the booking application.
Implementation of repository layer through MongoDB for Reservation entities of the booking application.
Implementation of repository layer through PostgreSQL for Reservation entities of the booking application.
Facade for repository layer for Reservation entities.
A factory of repositories for Reservation entities.
This interface provides code that involves the
ReservationRepository
's method(s).Facade of validator for reservation entities.
An implementation of validator for client entities that verifies if parameters are not null
or empty string neither they contain non-alphabetic characters, and fixes them if possible.
An implementation of validator for reservation entities that verifies if parameters are not
null neither date string contains non-valid characters, or are in a non-valid format
or out of range.
A concrete implementation of the presenter for the booking application using
a single view and delegating operations on repositories to a service layer.
Implements methods for operating on repositories of the booking application using transactions.
Thrown when a generic database transaction fails.
Provides methods for using transactions in the booking application.
A factory of transaction handlers.
Provides methods for managing transactions in the booking application.
An implementation of
TransactionHandler
for using MongoDB transactions
via ClientSession
.An implementation of
TransactionManager
for managing code executed
on MongoDB within transactions.An implementation of
TransactionHandler
for using PostgreSQL transactions
via EntityManager
.An implementation of
TransactionManager
for managing code executed
on PostgreSQL within transactions.Thrown when you try to insert an entity that violates uniqueness constraints in the repository.
Thrown when you try to update an entity that does not exist in the repository.