Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ApiError - Record Class in com.dmasone.identity.ecommerceapp.web
-
Stable error shape returned by REST endpoints for validation and domain failures.
- ApiError(String, String) - Constructor for record class com.dmasone.identity.ecommerceapp.web.ApiError
-
Creates an instance of a
ApiErrorrecord class. - apiErrorResponseCustomizer() - Method in class com.dmasone.identity.ecommerceapp.config.OpenApiConfiguration
-
Adds the shared error body to documented error responses from module controllers without making business modules depend on the app web DTO.
- applicationClock() - Method in class com.dmasone.identity.ecommerceapp.config.ApplicationConfiguration
- ApplicationConfiguration - Class in com.dmasone.identity.ecommerceapp.config
-
Cross-module application beans that should be owned by the bootstrap module, not by any individual business module.
- ApplicationConfiguration() - Constructor for class com.dmasone.identity.ecommerceapp.config.ApplicationConfiguration
- apply(Product) - Method in class com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaEntity
- authorize(OrderPlacedEvent) - Method in class com.dmasone.identity.payment.application.PaymentService
- authorize(OrderPlacedEvent) - Method in class com.dmasone.identity.payment.application.SimulatedPaymentGateway
- AUTHORIZED - Enum constant in enum class com.dmasone.identity.payment.domain.PaymentStatus
- availableQuantity() - Method in record class com.dmasone.identity.catalog.application.ProductView
-
Returns the value of the
availableQuantityrecord component. - availableQuantity() - Method in class com.dmasone.identity.catalog.domain.Product
- availableQuantity() - Method in record class com.dmasone.identity.catalog.interfaces.rest.ProductResponse
-
Returns the value of the
availableQuantityrecord component.
C
- code() - Method in record class com.dmasone.identity.ecommerceapp.web.ApiError
-
Returns the value of the
coderecord component. - code() - Method in exception class com.dmasone.identity.sharedkernel.domain.DomainException
- com.dmasone.identity.catalog.application - package com.dmasone.identity.catalog.application
-
Catalog use cases and read models.
- com.dmasone.identity.catalog.domain - package com.dmasone.identity.catalog.domain
-
Catalog domain model and stock rules.
- com.dmasone.identity.catalog.infrastructure - package com.dmasone.identity.catalog.infrastructure
-
Catalog infrastructure adapters.
- com.dmasone.identity.catalog.infrastructure.persistence - package com.dmasone.identity.catalog.infrastructure.persistence
-
Catalog persistence implementation.
- com.dmasone.identity.catalog.interfaces.rest - package com.dmasone.identity.catalog.interfaces.rest
-
Catalog HTTP API.
- com.dmasone.identity.ecommerceapp - package com.dmasone.identity.ecommerceapp
-
Application bootstrap for the modular monolith.
- com.dmasone.identity.ecommerceapp.config - package com.dmasone.identity.ecommerceapp.config
-
Runtime configuration for the executable application.
- com.dmasone.identity.ecommerceapp.events - package com.dmasone.identity.ecommerceapp.events
-
Spring event adapters for domain events.
- com.dmasone.identity.ecommerceapp.web - package com.dmasone.identity.ecommerceapp.web
-
Application-wide web concerns.
- com.dmasone.identity.orders.application - package com.dmasone.identity.orders.application
-
Order application services and use-case models.
- com.dmasone.identity.orders.application.events - package com.dmasone.identity.orders.application.events
-
Order event contracts published by the orders module.
- com.dmasone.identity.orders.domain - package com.dmasone.identity.orders.domain
-
Order domain model and order-specific business exceptions.
- com.dmasone.identity.orders.infrastructure - package com.dmasone.identity.orders.infrastructure
-
Order infrastructure adapters.
- com.dmasone.identity.orders.infrastructure.persistence - package com.dmasone.identity.orders.infrastructure.persistence
-
Order persistence implementation.
- com.dmasone.identity.orders.interfaces.rest - package com.dmasone.identity.orders.interfaces.rest
-
Order HTTP API.
- com.dmasone.identity.payment.application - package com.dmasone.identity.payment.application
-
Payment use cases and event handling.
- com.dmasone.identity.payment.domain - package com.dmasone.identity.payment.domain
-
Payment domain model and payment-specific exceptions.
- com.dmasone.identity.payment.infrastructure - package com.dmasone.identity.payment.infrastructure
-
Payment infrastructure adapters.
- com.dmasone.identity.payment.infrastructure.persistence - package com.dmasone.identity.payment.infrastructure.persistence
-
Payment persistence implementation.
- com.dmasone.identity.payment.interfaces.rest - package com.dmasone.identity.payment.interfaces.rest
-
Payment HTTP API.
- com.dmasone.identity.sharedkernel.domain - package com.dmasone.identity.sharedkernel.domain
-
Shared domain abstractions used across modules.
- contact() - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties
-
Returns the value of the
contactrecord component. - Contact(String, String) - Constructor for record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties.Contact
-
Creates an instance of a
Contactrecord class. - create(UUID, UUID, Long, int, PaymentStatus, Instant) - Static method in class com.dmasone.identity.payment.domain.PaymentAttempt
- createdAt() - Method in record class com.dmasone.identity.orders.application.OrderResponse
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in class com.dmasone.identity.orders.domain.CustomerOrder
- createdAt() - Method in record class com.dmasone.identity.orders.interfaces.rest.OrderDto
-
Returns the value of the
createdAtrecord component. - CustomerOrder - Class in com.dmasone.identity.orders.domain
-
Order aggregate for the placement use case.
D
- DECLINED - Enum constant in enum class com.dmasone.identity.payment.domain.PaymentStatus
- description() - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties
-
Returns the value of the
descriptionrecord component. - DomainEvent - Interface in com.dmasone.identity.sharedkernel.domain
-
Marker contract for events that describe something already decided by a module.
- DomainException - Exception Class in com.dmasone.identity.sharedkernel.domain
-
Base exception for business rule failures that should be translated into a structured API error response.
- DomainException(String, String) - Constructor for exception class com.dmasone.identity.sharedkernel.domain.DomainException
E
- EcommerceApplication - Class in com.dmasone.identity.ecommerceapp
-
Single executable entry point for the modular monolith.
- EcommerceApplication() - Constructor for class com.dmasone.identity.ecommerceapp.EcommerceApplication
- ecommerceOpenApi(OpenApiProperties) - Method in class com.dmasone.identity.ecommerceapp.config.OpenApiConfiguration
- equals(Object) - Method in record class com.dmasone.identity.catalog.application.ProductView
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.catalog.interfaces.rest.ProductResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties.Contact
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.ecommerceapp.web.ApiError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.orders.application.events.OrderPlacedEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.orders.application.OrderResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.orders.application.PlaceOrderCommand
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.orders.application.PlaceOrderResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.orders.interfaces.rest.OrderDto
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.orders.interfaces.rest.PlaceOrderRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.payment.application.PaymentResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.dmasone.identity.payment.interfaces.rest.PaymentDto
-
Indicates whether some other object is "equal to" this one.
- eventId() - Method in record class com.dmasone.identity.orders.application.events.OrderPlacedEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in interface com.dmasone.identity.sharedkernel.domain.DomainEvent
-
Stable event identifier useful for logging, tracing, and future idempotency concerns.
- EventPublisher - Interface in com.dmasone.identity.sharedkernel.domain
-
Small publishing port used by application services to emit domain events without coupling those services to Spring's concrete event infrastructure.
F
- findAll() - Method in class com.dmasone.identity.catalog.application.ProductQueryService
- findAllProductViews() - Method in interface com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaRepository
- findById(Long) - Method in class com.dmasone.identity.catalog.application.ProductQueryService
- findById(UUID) - Method in class com.dmasone.identity.orders.application.OrderQueryService
- findById(UUID) - Method in interface com.dmasone.identity.orders.domain.OrderRepository
- findById(UUID) - Method in class com.dmasone.identity.orders.infrastructure.persistence.JpaOrderRepository
- findByIdempotencyKey(String) - Method in interface com.dmasone.identity.orders.domain.OrderRepository
- findByIdempotencyKey(String) - Method in class com.dmasone.identity.orders.infrastructure.persistence.JpaOrderRepository
- findByIdForUpdate(Long) - Method in interface com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaRepository
- findByOrderId(UUID) - Method in class com.dmasone.identity.payment.application.PaymentService
- findByOrderId(UUID) - Method in interface com.dmasone.identity.payment.domain.PaymentRepository
- findByOrderId(UUID) - Method in class com.dmasone.identity.payment.infrastructure.persistence.JpaPaymentRepository
- findByOrderId(UUID) - Method in class com.dmasone.identity.payment.interfaces.rest.PaymentController
- findOrder(UUID) - Method in class com.dmasone.identity.orders.interfaces.rest.OrderController
- findProductViewById(Long) - Method in interface com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaRepository
- from(CustomerOrder) - Static method in record class com.dmasone.identity.orders.application.OrderResponse
- from(CustomerOrder) - Static method in class com.dmasone.identity.orders.infrastructure.persistence.OrderJpaEntity
- from(PaymentAttempt) - Static method in record class com.dmasone.identity.payment.application.PaymentResult
- from(PaymentAttempt) - Static method in class com.dmasone.identity.payment.infrastructure.persistence.PaymentJpaEntity
G
- getAvailableQuantity() - Method in class com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaEntity
- getId() - Method in class com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaEntity
- getName() - Method in class com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaEntity
- getPrice() - Method in class com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaEntity
- getSku() - Method in class com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaEntity
H
- handleBadRequest(Exception) - Method in class com.dmasone.identity.ecommerceapp.web.RestExceptionHandler
- handleDomainException(DomainException) - Method in class com.dmasone.identity.ecommerceapp.web.RestExceptionHandler
- handleNotFound(NoResourceFoundException) - Method in class com.dmasone.identity.ecommerceapp.web.RestExceptionHandler
- handleValidationException(MethodArgumentNotValidException) - Method in class com.dmasone.identity.ecommerceapp.web.RestExceptionHandler
- hashCode() - Method in record class com.dmasone.identity.catalog.application.ProductView
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.catalog.interfaces.rest.ProductResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties.Contact
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.ecommerceapp.web.ApiError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.orders.application.events.OrderPlacedEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.orders.application.OrderResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.orders.application.PlaceOrderCommand
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.orders.application.PlaceOrderResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.orders.interfaces.rest.OrderDto
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.orders.interfaces.rest.PlaceOrderRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.payment.application.PaymentResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.dmasone.identity.payment.interfaces.rest.PaymentDto
-
Returns a hash code value for this object.
I
- id() - Method in record class com.dmasone.identity.catalog.application.ProductView
-
Returns the value of the
idrecord component. - id() - Method in class com.dmasone.identity.catalog.domain.Product
- id() - Method in record class com.dmasone.identity.catalog.interfaces.rest.ProductResponse
-
Returns the value of the
idrecord component. - id() - Method in record class com.dmasone.identity.orders.application.OrderResponse
-
Returns the value of the
idrecord component. - id() - Method in class com.dmasone.identity.orders.domain.CustomerOrder
- id() - Method in record class com.dmasone.identity.orders.interfaces.rest.OrderDto
-
Returns the value of the
idrecord component. - id() - Method in record class com.dmasone.identity.payment.application.PaymentResult
-
Returns the value of the
idrecord component. - id() - Method in class com.dmasone.identity.payment.domain.PaymentAttempt
- id() - Method in record class com.dmasone.identity.payment.interfaces.rest.PaymentDto
-
Returns the value of the
idrecord component. - idempotencyKey() - Method in record class com.dmasone.identity.orders.application.PlaceOrderCommand
-
Returns the value of the
idempotencyKeyrecord component. - idempotencyKey() - Method in class com.dmasone.identity.orders.domain.CustomerOrder
- IdempotencyKeyConflictException - Exception Class in com.dmasone.identity.orders.domain
-
Raised when a client reuses an idempotency key for a different order request.
- IdempotencyKeyConflictException(String) - Constructor for exception class com.dmasone.identity.orders.domain.IdempotencyKeyConflictException
- InsufficientStockException - Exception Class in com.dmasone.identity.catalog.domain
-
Raised when a product exists but cannot satisfy the requested reservation.
- InsufficientStockException(Long) - Constructor for exception class com.dmasone.identity.catalog.domain.InsufficientStockException
- InvalidOrderException - Exception Class in com.dmasone.identity.orders.domain
-
Raised when an order command violates placement rules before persistence or downstream module interaction happens.
- InvalidOrderException(String) - Constructor for exception class com.dmasone.identity.orders.domain.InvalidOrderException
- InvalidStockReservationException - Exception Class in com.dmasone.identity.catalog.domain
-
Raised when catalog stock is asked to reserve a non-positive quantity.
- InvalidStockReservationException(int) - Constructor for exception class com.dmasone.identity.catalog.domain.InvalidStockReservationException
J
- JpaOrderRepository - Class in com.dmasone.identity.orders.infrastructure.persistence
-
Adapter that translates between the order repository port and Spring Data JPA.
- JpaOrderRepository(SpringDataOrderJpaRepository) - Constructor for class com.dmasone.identity.orders.infrastructure.persistence.JpaOrderRepository
- JpaPaymentRepository - Class in com.dmasone.identity.payment.infrastructure.persistence
-
Adapter between the payment repository port and JPA.
- JpaPaymentRepository(SpringDataPaymentJpaRepository) - Constructor for class com.dmasone.identity.payment.infrastructure.persistence.JpaPaymentRepository
M
- main(String[]) - Static method in class com.dmasone.identity.ecommerceapp.EcommerceApplication
- message() - Method in record class com.dmasone.identity.ecommerceapp.web.ApiError
-
Returns the value of the
messagerecord component.
N
- name() - Method in record class com.dmasone.identity.catalog.application.ProductView
-
Returns the value of the
namerecord component. - name() - Method in class com.dmasone.identity.catalog.domain.Product
- name() - Method in record class com.dmasone.identity.catalog.interfaces.rest.ProductResponse
-
Returns the value of the
namerecord component. - name() - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties.Contact
-
Returns the value of the
namerecord component.
O
- occurredAt() - Method in record class com.dmasone.identity.orders.application.events.OrderPlacedEvent
-
Returns the value of the
occurredAtrecord component. - occurredAt() - Method in interface com.dmasone.identity.sharedkernel.domain.DomainEvent
-
Time at which the event fact was created.
- onOrderPlaced(OrderPlacedEvent) - Method in class com.dmasone.identity.payment.application.OrderPlacedPaymentListener
- OpenApiConfiguration - Class in com.dmasone.identity.ecommerceapp.config
-
Creates the OpenAPI model from metadata loaded through
openapi.yaml. - OpenApiConfiguration() - Constructor for class com.dmasone.identity.ecommerceapp.config.OpenApiConfiguration
- OpenApiProperties - Record Class in com.dmasone.identity.ecommerceapp.config
-
OpenAPI metadata loaded from
openapi.yaml. - OpenApiProperties(String, String, String, OpenApiProperties.Contact) - Constructor for record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties
-
Creates an instance of a
OpenApiPropertiesrecord class. - OpenApiProperties.Contact - Record Class in com.dmasone.identity.ecommerceapp.config
- order() - Method in record class com.dmasone.identity.orders.application.PlaceOrderResult
-
Returns the value of the
orderrecord component. - OrderController - Class in com.dmasone.identity.orders.interfaces.rest
-
Order API exposing placement and lookup workflows.
- OrderController(PlaceOrderService, OrderQueryService, OrderRestMapper) - Constructor for class com.dmasone.identity.orders.interfaces.rest.OrderController
- OrderDto - Record Class in com.dmasone.identity.orders.interfaces.rest
-
HTTP representation of an order.
- OrderDto(UUID, Long, int, OrderStatus, Instant) - Constructor for record class com.dmasone.identity.orders.interfaces.rest.OrderDto
-
Creates an instance of a
OrderDtorecord class. - orderId() - Method in record class com.dmasone.identity.orders.application.events.OrderPlacedEvent
-
Returns the value of the
orderIdrecord component. - orderId() - Method in record class com.dmasone.identity.payment.application.PaymentResult
-
Returns the value of the
orderIdrecord component. - orderId() - Method in class com.dmasone.identity.payment.domain.PaymentAttempt
- orderId() - Method in record class com.dmasone.identity.payment.interfaces.rest.PaymentDto
-
Returns the value of the
orderIdrecord component. - OrderJpaEntity - Class in com.dmasone.identity.orders.infrastructure.persistence
-
Database mapping for orders.
- OrderJpaEntity() - Constructor for class com.dmasone.identity.orders.infrastructure.persistence.OrderJpaEntity
- OrderNotFoundException - Exception Class in com.dmasone.identity.orders.domain
-
Raised when an API caller asks for an order id that the orders module does not own.
- OrderNotFoundException(UUID) - Constructor for exception class com.dmasone.identity.orders.domain.OrderNotFoundException
- OrderPlacedEvent - Record Class in com.dmasone.identity.orders.application.events
-
Integration event published after the orders module successfully places an order.
- OrderPlacedEvent(UUID, Long, int) - Constructor for record class com.dmasone.identity.orders.application.events.OrderPlacedEvent
- OrderPlacedEvent(UUID, Instant, UUID, Long, int) - Constructor for record class com.dmasone.identity.orders.application.events.OrderPlacedEvent
-
Creates an instance of a
OrderPlacedEventrecord class. - OrderPlacedPaymentListener - Class in com.dmasone.identity.payment.application
-
Event listener that starts payment processing after an order transaction has committed.
- OrderPlacedPaymentListener(PaymentService) - Constructor for class com.dmasone.identity.payment.application.OrderPlacedPaymentListener
- OrderQueryService - Class in com.dmasone.identity.orders.application
-
Query facade for order retrieval.
- OrderQueryService(OrderRepository) - Constructor for class com.dmasone.identity.orders.application.OrderQueryService
- OrderRepository - Interface in com.dmasone.identity.orders.domain
-
Persistence port for the order aggregate.
- OrderResponse - Record Class in com.dmasone.identity.orders.application
-
API-facing order projection returned by order commands and queries.
- OrderResponse(UUID, Long, int, OrderStatus, Instant) - Constructor for record class com.dmasone.identity.orders.application.OrderResponse
-
Creates an instance of a
OrderResponserecord class. - OrderRestMapper - Interface in com.dmasone.identity.orders.interfaces.rest
-
MapStruct mapper generated at compile time for the order REST boundary.
- OrderRestMapperImpl - Class in com.dmasone.identity.orders.interfaces.rest
- OrderRestMapperImpl() - Constructor for class com.dmasone.identity.orders.interfaces.rest.OrderRestMapperImpl
- OrderStatus - Enum Class in com.dmasone.identity.orders.domain
-
Lifecycle state owned by the orders module.
P
- PaymentAttempt - Class in com.dmasone.identity.payment.domain
-
Payment module record of an authorization attempt for an order.
- PaymentController - Class in com.dmasone.identity.payment.interfaces.rest
-
Optional read endpoint for payment results, useful in tests and demos to show that the event listener reacted to order placement.
- PaymentController(PaymentService, PaymentRestMapper) - Constructor for class com.dmasone.identity.payment.interfaces.rest.PaymentController
- PaymentDto - Record Class in com.dmasone.identity.payment.interfaces.rest
-
HTTP representation of a payment attempt result.
- PaymentDto(UUID, UUID, PaymentStatus, Instant) - Constructor for record class com.dmasone.identity.payment.interfaces.rest.PaymentDto
-
Creates an instance of a
PaymentDtorecord class. - PaymentJpaEntity - Class in com.dmasone.identity.payment.infrastructure.persistence
-
Persistence mapping for payment attempts.
- PaymentJpaEntity() - Constructor for class com.dmasone.identity.payment.infrastructure.persistence.PaymentJpaEntity
- PaymentNotFoundException - Exception Class in com.dmasone.identity.payment.domain
-
Raised when payment state has not yet been recorded for an order.
- PaymentNotFoundException(UUID) - Constructor for exception class com.dmasone.identity.payment.domain.PaymentNotFoundException
- PaymentRepository - Interface in com.dmasone.identity.payment.domain
-
Persistence port for payment attempts.
- PaymentRestMapper - Interface in com.dmasone.identity.payment.interfaces.rest
-
MapStruct mapper generated at compile time for payment REST responses.
- PaymentRestMapperImpl - Class in com.dmasone.identity.payment.interfaces.rest
- PaymentRestMapperImpl() - Constructor for class com.dmasone.identity.payment.interfaces.rest.PaymentRestMapperImpl
- PaymentResult - Record Class in com.dmasone.identity.payment.application
-
Read model returned by payment application services and optional API endpoints.
- PaymentResult(UUID, UUID, PaymentStatus, Instant) - Constructor for record class com.dmasone.identity.payment.application.PaymentResult
-
Creates an instance of a
PaymentResultrecord class. - PaymentService - Class in com.dmasone.identity.payment.application
-
Payment use-case service.
- PaymentService(PaymentRepository, SimulatedPaymentGateway, Clock) - Constructor for class com.dmasone.identity.payment.application.PaymentService
- PaymentStatus - Enum Class in com.dmasone.identity.payment.domain
-
Result of the simulated payment authorization request.
- place(UUID, Long, int, Instant, String) - Static method in class com.dmasone.identity.orders.domain.CustomerOrder
- placed(CustomerOrder) - Static method in record class com.dmasone.identity.orders.application.PlaceOrderResult
- PLACED - Enum constant in enum class com.dmasone.identity.orders.domain.OrderStatus
- placeOrder(PlaceOrderCommand) - Method in class com.dmasone.identity.orders.application.PlaceOrderService
- placeOrder(String, PlaceOrderRequest) - Method in class com.dmasone.identity.orders.interfaces.rest.OrderController
- PlaceOrderCommand - Record Class in com.dmasone.identity.orders.application
-
Command object for the order placement use case.
- PlaceOrderCommand(Long, int, String) - Constructor for record class com.dmasone.identity.orders.application.PlaceOrderCommand
-
Creates an instance of a
PlaceOrderCommandrecord class. - PlaceOrderRequest - Record Class in com.dmasone.identity.orders.interfaces.rest
-
HTTP request model for order placement.
- PlaceOrderRequest(Long, Integer) - Constructor for record class com.dmasone.identity.orders.interfaces.rest.PlaceOrderRequest
-
Creates an instance of a
PlaceOrderRequestrecord class. - PlaceOrderResult - Record Class in com.dmasone.identity.orders.application
-
Result of the placement use case.
- PlaceOrderResult(OrderResponse, boolean) - Constructor for record class com.dmasone.identity.orders.application.PlaceOrderResult
-
Creates an instance of a
PlaceOrderResultrecord class. - PlaceOrderService - Class in com.dmasone.identity.orders.application
-
Primary order placement use case.
- PlaceOrderService(StockReservationService, OrderRepository, EventPublisher, Clock) - Constructor for class com.dmasone.identity.orders.application.PlaceOrderService
- price() - Method in record class com.dmasone.identity.catalog.application.ProductView
-
Returns the value of the
pricerecord component. - price() - Method in class com.dmasone.identity.catalog.domain.Product
- price() - Method in record class com.dmasone.identity.catalog.interfaces.rest.ProductResponse
-
Returns the value of the
pricerecord component. - product(Long) - Method in class com.dmasone.identity.catalog.interfaces.rest.ProductController
- Product - Class in com.dmasone.identity.catalog.domain
-
Catalog aggregate that owns stock reservation rules.
- ProductCommandService - Class in com.dmasone.identity.catalog.application
-
Write-side catalog service.
- ProductCommandService(ProductJpaRepository) - Constructor for class com.dmasone.identity.catalog.application.ProductCommandService
- ProductController - Class in com.dmasone.identity.catalog.interfaces.rest
-
Read-only product API.
- ProductController(ProductQueryService, ProductRestMapper) - Constructor for class com.dmasone.identity.catalog.interfaces.rest.ProductController
- productId() - Method in record class com.dmasone.identity.orders.application.events.OrderPlacedEvent
-
Returns the value of the
productIdrecord component. - productId() - Method in record class com.dmasone.identity.orders.application.OrderResponse
-
Returns the value of the
productIdrecord component. - productId() - Method in record class com.dmasone.identity.orders.application.PlaceOrderCommand
-
Returns the value of the
productIdrecord component. - productId() - Method in class com.dmasone.identity.orders.domain.CustomerOrder
- productId() - Method in record class com.dmasone.identity.orders.interfaces.rest.OrderDto
-
Returns the value of the
productIdrecord component. - productId() - Method in record class com.dmasone.identity.orders.interfaces.rest.PlaceOrderRequest
-
Returns the value of the
productIdrecord component. - productId() - Method in class com.dmasone.identity.payment.domain.PaymentAttempt
- ProductJpaEntity - Class in com.dmasone.identity.catalog.infrastructure.persistence
-
Persistence representation of catalog products.
- ProductJpaEntity() - Constructor for class com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaEntity
- ProductJpaEntity(Long, String, String, BigDecimal, int) - Constructor for class com.dmasone.identity.catalog.infrastructure.persistence.ProductJpaEntity
- ProductJpaRepository - Interface in com.dmasone.identity.catalog.infrastructure.persistence
-
Spring Data repository owned by catalog infrastructure.
- ProductMapper - Class in com.dmasone.identity.catalog.infrastructure.persistence
-
Translation layer between the JPA entity and the stock-owning domain model.
- ProductNotFoundException - Exception Class in com.dmasone.identity.catalog.domain
-
Raised by catalog application services when callers reference an unknown product id.
- ProductNotFoundException(Long) - Constructor for exception class com.dmasone.identity.catalog.domain.ProductNotFoundException
- ProductQueryService - Class in com.dmasone.identity.catalog.application
-
Query-side facade for catalog read operations.
- ProductQueryService(ProductJpaRepository) - Constructor for class com.dmasone.identity.catalog.application.ProductQueryService
- ProductResponse - Record Class in com.dmasone.identity.catalog.interfaces.rest
-
HTTP representation of a catalog product.
- ProductResponse(Long, String, String, BigDecimal, int) - Constructor for record class com.dmasone.identity.catalog.interfaces.rest.ProductResponse
-
Creates an instance of a
ProductResponserecord class. - ProductRestMapper - Interface in com.dmasone.identity.catalog.interfaces.rest
-
MapStruct mapper generated at compile time for catalog REST responses.
- ProductRestMapperImpl - Class in com.dmasone.identity.catalog.interfaces.rest
- ProductRestMapperImpl() - Constructor for class com.dmasone.identity.catalog.interfaces.rest.ProductRestMapperImpl
- products() - Method in class com.dmasone.identity.catalog.interfaces.rest.ProductController
- ProductView - Record Class in com.dmasone.identity.catalog.application
-
Read projection returned by catalog queries.
- ProductView(Long, String, String, BigDecimal, int) - Constructor for record class com.dmasone.identity.catalog.application.ProductView
-
Creates an instance of a
ProductViewrecord class. - publish(DomainEvent) - Method in class com.dmasone.identity.ecommerceapp.events.SpringDomainEventPublisher
- publish(DomainEvent) - Method in interface com.dmasone.identity.sharedkernel.domain.EventPublisher
-
Publish a domain event inside the current application process.
Q
- quantity() - Method in record class com.dmasone.identity.orders.application.events.OrderPlacedEvent
-
Returns the value of the
quantityrecord component. - quantity() - Method in record class com.dmasone.identity.orders.application.OrderResponse
-
Returns the value of the
quantityrecord component. - quantity() - Method in record class com.dmasone.identity.orders.application.PlaceOrderCommand
-
Returns the value of the
quantityrecord component. - quantity() - Method in class com.dmasone.identity.orders.domain.CustomerOrder
- quantity() - Method in record class com.dmasone.identity.orders.interfaces.rest.OrderDto
-
Returns the value of the
quantityrecord component. - quantity() - Method in record class com.dmasone.identity.orders.interfaces.rest.PlaceOrderRequest
-
Returns the value of the
quantityrecord component. - quantity() - Method in class com.dmasone.identity.payment.domain.PaymentAttempt
R
- replayed() - Method in record class com.dmasone.identity.orders.application.PlaceOrderResult
-
Returns the value of the
replayedrecord component. - replayed(CustomerOrder) - Static method in record class com.dmasone.identity.orders.application.PlaceOrderResult
- requestedAt() - Method in record class com.dmasone.identity.payment.application.PaymentResult
-
Returns the value of the
requestedAtrecord component. - requestedAt() - Method in class com.dmasone.identity.payment.domain.PaymentAttempt
- requestedAt() - Method in record class com.dmasone.identity.payment.interfaces.rest.PaymentDto
-
Returns the value of the
requestedAtrecord component. - reserve(int) - Method in class com.dmasone.identity.catalog.domain.Product
- reserveStock(Long, int) - Method in class com.dmasone.identity.catalog.application.ProductCommandService
- reserveStock(Long, int) - Method in interface com.dmasone.identity.catalog.application.StockReservationService
-
Reserve catalog stock for a product.
- RestExceptionHandler - Class in com.dmasone.identity.ecommerceapp.web
-
Central translation layer from application/domain failures to HTTP status codes.
- RestExceptionHandler() - Constructor for class com.dmasone.identity.ecommerceapp.web.RestExceptionHandler
- restore(Long, String, String, BigDecimal, int) - Static method in class com.dmasone.identity.catalog.domain.Product
- restore(UUID, Long, int, OrderStatus, Instant, String) - Static method in class com.dmasone.identity.orders.domain.CustomerOrder
S
- save(CustomerOrder) - Method in interface com.dmasone.identity.orders.domain.OrderRepository
- save(CustomerOrder) - Method in class com.dmasone.identity.orders.infrastructure.persistence.JpaOrderRepository
- save(PaymentAttempt) - Method in interface com.dmasone.identity.payment.domain.PaymentRepository
- save(PaymentAttempt) - Method in class com.dmasone.identity.payment.infrastructure.persistence.JpaPaymentRepository
- SimulatedPaymentGateway - Class in com.dmasone.identity.payment.application
-
Deterministic stand-in for an external payment provider.
- SimulatedPaymentGateway() - Constructor for class com.dmasone.identity.payment.application.SimulatedPaymentGateway
- sku() - Method in record class com.dmasone.identity.catalog.application.ProductView
-
Returns the value of the
skurecord component. - sku() - Method in class com.dmasone.identity.catalog.domain.Product
- sku() - Method in record class com.dmasone.identity.catalog.interfaces.rest.ProductResponse
-
Returns the value of the
skurecord component. - SpringDomainEventPublisher - Class in com.dmasone.identity.ecommerceapp.events
-
Adapter from the shared event publishing port to Spring's in-process event bus.
- SpringDomainEventPublisher(ApplicationEventPublisher) - Constructor for class com.dmasone.identity.ecommerceapp.events.SpringDomainEventPublisher
- status() - Method in record class com.dmasone.identity.orders.application.OrderResponse
-
Returns the value of the
statusrecord component. - status() - Method in class com.dmasone.identity.orders.domain.CustomerOrder
- status() - Method in record class com.dmasone.identity.orders.interfaces.rest.OrderDto
-
Returns the value of the
statusrecord component. - status() - Method in record class com.dmasone.identity.payment.application.PaymentResult
-
Returns the value of the
statusrecord component. - status() - Method in class com.dmasone.identity.payment.domain.PaymentAttempt
- status() - Method in record class com.dmasone.identity.payment.interfaces.rest.PaymentDto
-
Returns the value of the
statusrecord component. - StockReservationService - Interface in com.dmasone.identity.catalog.application
-
Public application service contract used by other modules to reserve stock.
T
- title() - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties
-
Returns the value of the
titlerecord component. - toCommand(PlaceOrderRequest, String) - Method in interface com.dmasone.identity.orders.interfaces.rest.OrderRestMapper
- toCommand(PlaceOrderRequest, String) - Method in class com.dmasone.identity.orders.interfaces.rest.OrderRestMapperImpl
- toDomain() - Method in class com.dmasone.identity.orders.infrastructure.persistence.OrderJpaEntity
- toDomain() - Method in class com.dmasone.identity.payment.infrastructure.persistence.PaymentJpaEntity
- toDomain(ProductJpaEntity) - Static method in class com.dmasone.identity.catalog.infrastructure.persistence.ProductMapper
- toDto(OrderResponse) - Method in interface com.dmasone.identity.orders.interfaces.rest.OrderRestMapper
- toDto(OrderResponse) - Method in class com.dmasone.identity.orders.interfaces.rest.OrderRestMapperImpl
- toDto(PaymentResult) - Method in interface com.dmasone.identity.payment.interfaces.rest.PaymentRestMapper
- toDto(PaymentResult) - Method in class com.dmasone.identity.payment.interfaces.rest.PaymentRestMapperImpl
- toResponse(ProductView) - Method in interface com.dmasone.identity.catalog.interfaces.rest.ProductRestMapper
- toResponse(ProductView) - Method in class com.dmasone.identity.catalog.interfaces.rest.ProductRestMapperImpl
- toResponses(List<ProductView>) - Method in interface com.dmasone.identity.catalog.interfaces.rest.ProductRestMapper
- toResponses(List<ProductView>) - Method in class com.dmasone.identity.catalog.interfaces.rest.ProductRestMapperImpl
- toString() - Method in record class com.dmasone.identity.catalog.application.ProductView
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.catalog.interfaces.rest.ProductResponse
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties.Contact
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.ecommerceapp.web.ApiError
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.orders.application.events.OrderPlacedEvent
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.orders.application.OrderResponse
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.orders.application.PlaceOrderCommand
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.orders.application.PlaceOrderResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.orders.interfaces.rest.OrderDto
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.orders.interfaces.rest.PlaceOrderRequest
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.payment.application.PaymentResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.dmasone.identity.payment.interfaces.rest.PaymentDto
-
Returns a string representation of this record class.
U
- url() - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties.Contact
-
Returns the value of the
urlrecord component.
V
- valueOf(String) - Static method in enum class com.dmasone.identity.orders.domain.OrderStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.dmasone.identity.payment.domain.PaymentStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.dmasone.identity.orders.domain.OrderStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.dmasone.identity.payment.domain.PaymentStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Method in record class com.dmasone.identity.ecommerceapp.config.OpenApiProperties
-
Returns the value of the
versionrecord component.
All Classes and Interfaces|All Packages|Serialized Form