All Classes and Interfaces
Class
Description
Entity representing an administrative user of the online shop system.
Data Transfer Object for creating or updating an
Admin.Spring Data JPA repository for
Admin entities.Service class providing business logic for working with
Admin entities.Mapper interface for converting between entity classes and their corresponding DTOs.
Entity representing a product category in the online shop.
Data Transfer Object for
Category entity.Spring Data JPA repository for
Category entities.Service class for managing
Category entities.Entity representing a customer's credit/debit card used for payments.
Data Transfer Object for creating or updating a credit card payment method.
Spring Data JPA repository for
CreditCard entities.Service class for managing
CreditCard entities.Entity representing a customer (registered user) of the online shop.
Data Transfer Object for creating, updating or returning customer information.
Spring Data JPA repository for
Customer entities.Service class for managing
Customer entities.Checked exception thrown when an attempt is made to create or process a review
without a valid author (customer).
Checked exception thrown when an attempt is made to create or update a product
without specifying a valid brand.
Checked exception thrown when an attempt is made to create or update a credit card
without providing a valid card number.
Checked exception thrown when an attempt is made to create or save a review
(or any other user-generated textual content) with an empty or missing text body.
Checked exception thrown when an attempt is made to process or temporarily store
a credit-card CVV (Card Verification Value) that is
null, empty, or consists only of whitespace.Checked exception thrown when an attempt is made to create or update a credit card
without providing a valid expiry date (month/year).
Checked exception thrown when an attempt is made to create or persist a user
(customer, admin, etc.) without specifying the date of the last activity.
Checked exception thrown when an attempt is made to create, update, or authenticate
a user with a
null, empty, or whitespace-only login.Checked exception thrown when an attempt is made to create or update an entity
that requires a non-empty name (full name, category name, product name, etc.)
Checked exception thrown when an attempt is made to perform an operation that requires
a valid
Product instance, but the provided product
is null.Checked exception thrown when an attempt is made to perform an operation that requires
a valid, non-null
ShoppingCart instance,
but the provided shopping cart is null.Main class for the GoldenLeaf Spring Boot application.
Checked exception thrown when an attempt is made to set or add an invalid number
of bonus points for a
Customer.Checked exception thrown when an attempt is made to set or update a customer's
email address with an invalid, malformed, or otherwise unacceptable value.
Checked exception thrown when an attempt is made to set or update a customer's
mobile phone number with an invalid, malformed, or otherwise unacceptable value.
Checked exception thrown when an attempt is made to set or update a product price
(or any monetary amount) with an invalid or unacceptable value.
Checked exception thrown when an attempt is made to set or update a quantity
(e.g., product stock, items in cart, order line quantity) with an invalid or
unacceptable value.
Checked exception thrown when an attempt is made to create or save a product review
with a rating that falls outside the allowed range (typically 1–5 stars).
Checked exception thrown when an operation requires a valid, non-null
Customer instance, but null is provided
or the customer reference is missing.Checked exception thrown when an operation requires a valid, non-null payment method
(typically a
CreditCard or other payment entity),
but null is supplied or the payment reference is missing.
Represents a product available for purchase in the system.
Data Transfer Object for creating, updating or returning product information.
Spring Data JPA repository for
Product entities.Service class for managing
Product entities.Data Transfer Object for creating or displaying product reviews.
Spring Data JPA repository for
Review entities.Service class for managing
Review entities.Application-wide security configuration.
Represents a shopping cart belonging to a
Customer.Data Transfer Object representing a customer's shopping cart.
Spring Data JPA repository for
ShoppingCart entities.Service class for managing
ShoppingCart entities.
Represents an item inside a shopping cart.
Data Transfer Object representing a single item in the shopping cart.
Spring Data JPA repository for
ShoppingItem entities (also known as CartItem).Service class for managing
ShoppingItem entities.Abstract base entity representing a user in the system.
Abstract base Data Transfer Object for all user types in the system.
Spring Data JPA repository for the
User entity hierarchy.Service class for managing
User entities.