Index
All Classes and Interfaces|All Packages|Serialized Form
D
- DomainEvent<T> - Class in org.machanism.macha.core.entities.events.domain
-
The
DomainEvent
class represents an event that occurs within the domain layer, encapsulating relevant information about the event, the affected entity, and the associated payload. - DomainEvent(UUID, String, IdentifiedObject, String, T, LocalDateTime) - Constructor for class org.machanism.macha.core.entities.events.domain.DomainEvent
-
Constructs a
DomainEvent
instance with the specified event details. - DomainEventListener<E> - Interface in org.machanism.macha.core.entities.events.domain
-
The
DomainEventListener
interface provides a contract for defining handlers that respond to domain events in an event-driven architecture. - DomainEventProcessingFailed - Exception Class in org.machanism.macha.core.entities.events.domain
-
The
DomainEventProcessingFailed
class is a runtime exception that indicates a failure occurred during the processing of a domain event. - DomainEventProcessingFailed(Exception) - Constructor for exception class org.machanism.macha.core.entities.events.domain.DomainEventProcessingFailed
-
Constructs a new
DomainEventProcessingFailed
exception with the specified cause.
G
- getEntityId() - Method in class org.machanism.macha.core.entities.events.domain.DomainEvent
-
Retrieves the unique identifier of the entity affected by the event.
- getEntityType() - Method in class org.machanism.macha.core.entities.events.domain.DomainEvent
-
Retrieves the type of the affected entity.
- getEventType() - Method in class org.machanism.macha.core.entities.events.domain.DomainEvent
-
Retrieves the type of the event.
- getId() - Method in class org.machanism.macha.core.entities.events.domain.DomainEvent
-
Retrieves the unique identifier for the event.
- getPayload() - Method in class org.machanism.macha.core.entities.events.domain.DomainEvent
-
Retrieves the payload containing data related to the event.
- getTimestamp() - Method in class org.machanism.macha.core.entities.events.domain.DomainEvent
-
Retrieves the timestamp marking when the event occurred.
H
- handleEvent(E) - Method in interface org.machanism.macha.core.entities.events.domain.DomainEventListener
-
Handles a domain event.
I
- IntegrationEvent<T> - Class in org.machanism.macha.core.entities.events.integration
-
The
IntegrationEvent
class represents an event intended for cross-system communication or integration workflows. - IntegrationEvent(UUID, String, IdentifiedObject, String, T, LocalDateTime) - Constructor for class org.machanism.macha.core.entities.events.integration.IntegrationEvent
-
Constructs a new
IntegrationEvent
with the specified details.
M
- MessagingService<T> - Interface in org.machanism.macha.core.entities.events.integration
-
The
MessagingService
interface defines the contract for publishingIntegrationEvent
instances to messaging platforms or systems.
O
- org.machanism.macha.core.entities.events.domain - package org.machanism.macha.core.entities.events.domain
- org.machanism.macha.core.entities.events.integration - package org.machanism.macha.core.entities.events.integration
P
- publish(IntegrationEvent<T>) - Method in interface org.machanism.macha.core.entities.events.integration.MessagingService
-
Publishes an
IntegrationEvent
to a messaging platform.
S
- setTimestamp(LocalDateTime) - Method in class org.machanism.macha.core.entities.events.domain.DomainEvent
-
Updates the timestamp for the event.
All Classes and Interfaces|All Packages|Serialized Form