Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAggregateRoot<ID extends AggregateRootId> - Class in org.fuin.ddd4j.ddd
-
Base class for aggregate roots.
- AbstractAggregateRoot() - Constructor for class org.fuin.ddd4j.ddd.AbstractAggregateRoot
-
Default constructor.
- AbstractDomainEvent<ID extends EntityId> - Class in org.fuin.ddd4j.ddd
-
Base class for domain events.
- AbstractDomainEvent() - Constructor for class org.fuin.ddd4j.ddd.AbstractDomainEvent
-
Protected default constructor for deserialization.
- AbstractDomainEvent(EntityIdPath) - Constructor for class org.fuin.ddd4j.ddd.AbstractDomainEvent
-
Constructor with entity identifier path.
- AbstractDomainEvent(EntityIdPath, Event) - Constructor for class org.fuin.ddd4j.ddd.AbstractDomainEvent
-
Constructor with entity identifier path and event this one responds to.
- AbstractDomainEvent(EntityIdPath, EventId, EventId) - Constructor for class org.fuin.ddd4j.ddd.AbstractDomainEvent
-
Constructor with entity identifier path, correlation and causation identifiers.
- AbstractDomainEvent.Builder<ID extends EntityId,
TYPE extends AbstractDomainEvent<ID>, BUILDER extends AbstractDomainEvent.Builder<ID, TYPE, BUILDER>> - Class in org.fuin.ddd4j.ddd -
Base class for event builders.
- AbstractEntity<ROOT_ID extends AggregateRootId,
ROOT extends AbstractAggregateRoot<ROOT_ID>, ID extends EntityId> - Class in org.fuin.ddd4j.ddd -
Base class for entities.
- AbstractEntity(ROOT) - Constructor for class org.fuin.ddd4j.ddd.AbstractEntity
-
Constructor with root aggregate.
- AbstractEvent - Class in org.fuin.ddd4j.ddd
-
Base class for events.
- AbstractEvent() - Constructor for class org.fuin.ddd4j.ddd.AbstractEvent
-
Default constructor.
- AbstractEvent(Event) - Constructor for class org.fuin.ddd4j.ddd.AbstractEvent
-
Constructor with event this one responds to.
- AbstractEvent(EventId, EventId) - Constructor for class org.fuin.ddd4j.ddd.AbstractEvent
-
Constructor with optional data.
- AbstractEvent.Builder<TYPE extends AbstractEvent,
BUILDER extends AbstractEvent.Builder<TYPE, BUILDER>> - Class in org.fuin.ddd4j.ddd -
Base class for event builders.
- adaptFromJson(String) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
- adaptToJson(EntityId) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
- add(AGGREGATE) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
- add(AGGREGATE, String, Object) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
- add(T) - Method in interface org.fuin.ddd4j.ddd.Repository
-
Adds a new aggregate to the repository without any meta data.
- add(T, String, Object) - Method in interface org.fuin.ddd4j.ddd.Repository
-
Adds a new aggregate to the repository with some meta data.
- AggregateAlreadyExistsException - Exception in org.fuin.ddd4j.ddd
-
An aggregate already exists when trying to create it.
- AggregateAlreadyExistsException(EntityType, AggregateRootId, int) - Constructor for exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
-
Constructor with all data.
- AggregateAlreadyExistsException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
- AggregateCache<AGGREGATE> - Interface in org.fuin.ddd4j.ddd
-
Cache for aggregates of the same type.
- AggregateDeletedException - Exception in org.fuin.ddd4j.ddd
-
Signals that an aggregate of a given type and identifier was deleted from the repository.
- AggregateDeletedException(EntityType, AggregateRootId) - Constructor for exception org.fuin.ddd4j.ddd.AggregateDeletedException
-
Constructor with all data.
- AggregateDeletedException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
- AggregateNoCache<AGGREGATE> - Class in org.fuin.ddd4j.ddd
-
Never caches anything.
- AggregateNoCache() - Constructor for class org.fuin.ddd4j.ddd.AggregateNoCache
- AggregateNotFoundException - Exception in org.fuin.ddd4j.ddd
-
Signals that an aggregate of a given type and identifier was not found in the repository.
- AggregateNotFoundException(EntityType, AggregateRootId) - Constructor for exception org.fuin.ddd4j.ddd.AggregateNotFoundException
-
Constructor with all data.
- AggregateNotFoundException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
- AggregateRoot<ID extends AggregateRootId> - Interface in org.fuin.ddd4j.ddd
-
Dedicated entity of a group of entities (The group is called "Aggregate") that guarantees the consistency of changes being made within the group by forbidding external objects from holding direct references to its members.
- AggregateRootId - Interface in org.fuin.ddd4j.ddd
-
Identifies an aggregate within all aggregates of the same type.
- AggregateRootUuid - Class in org.fuin.ddd4j.ddd
-
UUID based aggregate root identifier.
- AggregateRootUuid(EntityType) - Constructor for class org.fuin.ddd4j.ddd.AggregateRootUuid
-
Constructor with entity type.
- AggregateRootUuid(EntityType, UUID) - Constructor for class org.fuin.ddd4j.ddd.AggregateRootUuid
-
Constructor with UUID.
- AggregateRootUuidVO - Annotation Interface in org.fuin.ddd4j.codegen
-
UUID based aggregate root identifier value object.
- AggregateStreamId - Class in org.fuin.ddd4j.esrepo
-
Unique name of an aggregate stream.
- AggregateStreamId(EntityType, String, AggregateRootId) - Constructor for class org.fuin.ddd4j.esrepo.AggregateStreamId
-
Constructor with type and id.
- aggregateVersion(AggregateVersion) - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent.Builder
-
Sets the aggregate version.
- AggregateVersion - Class in org.fuin.ddd4j.ddd
-
Version of an aggregate.
- AggregateVersion(Integer) - Constructor for class org.fuin.ddd4j.ddd.AggregateVersion
-
Constructor with value.
- AggregateVersionConflictException - Exception in org.fuin.ddd4j.ddd
-
Signals a conflict between an expected and an actual version for an aggregate.
- AggregateVersionConflictException(EntityType, AggregateRootId, int, int) - Constructor for exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
-
Constructor with all data.
- AggregateVersionConflictException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
- AggregateVersionConverter - Class in org.fuin.ddd4j.ddd
-
Converts an aggregate version into an integer and back (JAXB and JPA).
- AggregateVersionConverter() - Constructor for class org.fuin.ddd4j.ddd.AggregateVersionConverter
- AggregateVersionNotFoundException - Exception in org.fuin.ddd4j.ddd
-
Signals that the requested version for an aggregate does not exist.
- AggregateVersionNotFoundException(EntityType, AggregateRootId, int) - Constructor for exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
-
Constructor with all data.
- AggregateVersionNotFoundException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
- apply(DomainEvent<?>) - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
-
Applies the given new event.
- apply(DomainEvent<?>) - Method in class org.fuin.ddd4j.ddd.AbstractEntity
-
Applies the given new event.
- ApplyEvent - Annotation Interface in org.fuin.ddd4j.ddd
-
Identifies a method in an aggregate or an entity that applies a given domain event.
- asBaseType() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
- asBaseType() - Method in class org.fuin.ddd4j.ddd.AggregateVersion
- asBaseType() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
- asBaseType() - Method in class org.fuin.ddd4j.ddd.EventId
- asBaseType() - Method in class org.fuin.ddd4j.ddd.EventType
- asBaseType() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
- asBaseType() - Method in class org.fuin.ddd4j.ddd.StringBasedEntityType
- asString() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
- asString() - Method in interface org.fuin.ddd4j.ddd.EntityId
-
Returns the entity identifier as string.
- asString() - Method in interface org.fuin.ddd4j.ddd.EntityType
-
Returns the entity type name as string.
- asString() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
- asString() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
- asTypedString() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
- asTypedString() - Method in interface org.fuin.ddd4j.ddd.EntityId
-
Returns the entity identifier as string with type and identifier.
- asTypedString() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
B
- Builder(TYPE) - Constructor for class org.fuin.ddd4j.ddd.AbstractDomainEvent.Builder
-
Constructor with event.
- Builder(TYPE) - Constructor for class org.fuin.ddd4j.ddd.AbstractEvent.Builder
-
Constructor with event.
- BusinessKey - Interface in org.fuin.ddd4j.ddd
-
Human readable business (natural) key often used in documents or shown in the user interface.
C
- causationId(EventId) - Method in class org.fuin.ddd4j.ddd.AbstractEvent.Builder
-
Sets the event that caused this one.
- causingEvent(Event) - Method in class org.fuin.ddd4j.ddd.AbstractEvent.Builder
-
Takes the id of the event as causation id and copies the correlation id.
- ChildEntityLocator - Annotation Interface in org.fuin.ddd4j.ddd
-
Method that is able to return a child entity by it's identifier.
- compareTo(AggregateRootUuid) - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
- compareTo(IntegerEntityId) - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
- conflictsResolved(List<DomainEvent<?>>, List<DomainEvent<?>>) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
-
Checks if the uncommitted changes conflicts with unseen changes from the event store and tries to solve the problem.
- containsType(String) - Method in interface org.fuin.ddd4j.ddd.EntityIdFactory
-
Verifies if the given type string is a valid one.
- correlationId(EventId) - Method in class org.fuin.ddd4j.ddd.AbstractEvent.Builder
-
Sets the event this one correlates to.
- create() - Method in interface org.fuin.ddd4j.ddd.Repository
-
Factory method to create a new aggregate.
- createEntityId(String, String) - Method in interface org.fuin.ddd4j.ddd.EntityIdFactory
-
Creates an entity id by type and string identifier.
- createKey(String) - Method in interface org.fuin.ddd4j.ddd.EncryptedDataService
-
Creates a new key for the given identifier.
D
- Data() - Constructor for class org.fuin.ddd4j.ddd.AggregateAlreadyExistsException.Data
-
Constructor only for marshalling/unmarshalling.
- Data() - Constructor for class org.fuin.ddd4j.ddd.AggregateDeletedException.Data
-
Constructor only for marshalling/unmarshalling.
- Data() - Constructor for class org.fuin.ddd4j.ddd.AggregateNotFoundException.Data
-
Constructor only for marshalling/unmarshalling.
- Data() - Constructor for class org.fuin.ddd4j.ddd.AggregateVersionConflictException.Data
-
Constructor only for marshalling/unmarshalling.
- Data() - Constructor for class org.fuin.ddd4j.ddd.AggregateVersionNotFoundException.Data
-
Constructor only for marshalling/unmarshalling.
- Data() - Constructor for class org.fuin.ddd4j.ddd.DecryptionFailedException.Data
-
Constructor only for marshalling/unmarshalling.
- Data() - Constructor for class org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException.Data
-
Constructor only for marshalling/unmarshalling.
- Data() - Constructor for class org.fuin.ddd4j.ddd.DuplicateEntityException.Data
-
Constructor only for marshalling/unmarshalling.
- Data() - Constructor for class org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException.Data
-
Constructor only for marshalling/unmarshalling.
- Data() - Constructor for class org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException.Data
-
Constructor only for marshalling/unmarshalling.
- Data() - Constructor for class org.fuin.ddd4j.ddd.EntityNotFoundException.Data
-
Constructor only for marshalling/unmarshalling.
- Ddd4JUtils - Class in org.fuin.ddd4j.ddd
-
Utility methods and constants.
- decrypt(EncryptedData) - Method in interface org.fuin.ddd4j.ddd.EncryptedDataService
-
Decrypts the data using the information provided by the parameter.
- DecryptionFailedException - Exception in org.fuin.ddd4j.ddd
-
Signals that decrypting the data failed.
- DecryptionFailedException(Exception) - Constructor for exception org.fuin.ddd4j.ddd.DecryptionFailedException
-
Constructor with causing exception.
- DecryptionFailedException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
- delegate() - Method in class org.fuin.ddd4j.ddd.AbstractEvent.Builder
-
Returns the delegate.
- delete(ID, int) - Method in interface org.fuin.ddd4j.ddd.Repository
-
Deletes an aggregate from the repository.
- delete(ID, int) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
- description() - Element in annotation interface org.fuin.ddd4j.codegen.AggregateRootUuidVO
-
Description of the type.
- description() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Description of the type.
- description() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Description of the type.
- DomainEvent<ID extends EntityId> - Interface in org.fuin.ddd4j.ddd
-
Domain event published by an entity.
- DomainEventExpectedEntityIdPath - Annotation Interface in org.fuin.ddd4j.ddd
-
The entity identifier path of a domain event should contain a defined order and type of entries.
- DomainEventExpectedEntityIdPathValidator - Class in org.fuin.ddd4j.ddd
-
Validates that the path has a defined order and type.
- DomainEventExpectedEntityIdPathValidator() - Constructor for class org.fuin.ddd4j.ddd.DomainEventExpectedEntityIdPathValidator
- DuplicateEncryptionKeyIdException - Exception in org.fuin.ddd4j.ddd
-
Signals that the encryption key identifier already exists and cannot be created a second time.
- DuplicateEncryptionKeyIdException(String) - Constructor for exception org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException
-
Constructor with all data.
- DuplicateEncryptionKeyIdException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
- DuplicateEntityException - Exception in org.fuin.ddd4j.ddd
-
Signals that an entity already existed in it's parent.
- DuplicateEntityException(EntityIdPath) - Constructor for exception org.fuin.ddd4j.ddd.DuplicateEntityException
-
Constructor with entity identifier path.
- DuplicateEntityException(EntityIdPath, EntityId) - Constructor for exception org.fuin.ddd4j.ddd.DuplicateEntityException
-
Constructor with all data.
- DuplicateEntityException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
E
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.AggregateDeletedException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.DecryptionFailedException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.DuplicateEntityException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.ddd.EntityNotFoundException
-
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
- encrypt(String, String, String, byte[]) - Method in interface org.fuin.ddd4j.ddd.EncryptedDataService
-
Encrypts some data using a dedicated key.
- EncryptedData - Class in org.fuin.ddd4j.ddd
-
Container for encrypted data.
- EncryptedData() - Constructor for class org.fuin.ddd4j.ddd.EncryptedData
-
Default constructor for deserialization (JAX-B/JSON-B).
- EncryptedData(String, String, String, String, byte[]) - Constructor for class org.fuin.ddd4j.ddd.EncryptedData
-
Constructor with all mandatory data.
- EncryptedDataService - Interface in org.fuin.ddd4j.ddd
-
Service for encrypting/decrypting
EncryptedDataand handling versioned secret keys. - EncryptionKeyIdUnknownException - Exception in org.fuin.ddd4j.ddd
-
Signals that the encryption key identifier is unknown.
- EncryptionKeyIdUnknownException(String) - Constructor for exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
-
Constructor with all data.
- EncryptionKeyIdUnknownException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
- EncryptionKeyVersionUnknownException - Exception in org.fuin.ddd4j.ddd
-
Signals that the requested version of the encryption key is unknown.
- EncryptionKeyVersionUnknownException(String) - Constructor for exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
-
Constructor with all data.
- EncryptionKeyVersionUnknownException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
- ensureBuildableAbstractDomainEvent() - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent.Builder
-
Ensures that everything is setup for building the object or throws a runtime exception otherwise.
- ensureBuildableAbstractEvent() - Method in class org.fuin.ddd4j.ddd.AbstractEvent.Builder
-
Ensures that everything is setup for building the object or throws a runtime exception otherwise.
- ensureNotNull(String, Object) - Method in class org.fuin.ddd4j.ddd.AbstractEvent.Builder
-
Ensures that a filed is set or throws a runtime exception otherwise.
- Entity<ID extends EntityId> - Interface in org.fuin.ddd4j.ddd
-
An object that is not defined by its attributes, but rather by a thread of continuity and its identity.
- EntityId - Interface in org.fuin.ddd4j.ddd
-
Identifies an entity within all entities of the same type.
- EntityIdConverter - Class in org.fuin.ddd4j.ddd
-
JAXB and JSON converter for an entity identifier.
- EntityIdConverter(EntityIdFactory) - Constructor for class org.fuin.ddd4j.ddd.EntityIdConverter
-
Constructor with factory.
- EntityIdFactory - Interface in org.fuin.ddd4j.ddd
-
Factory to create entity identifier.
- entityIdPath(AggregateRootId) - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent.Builder
-
Convenience method to set the entity identifier path if the path has only the aggregate root identifer.
- entityIdPath(EntityIdPath) - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent.Builder
-
Sets the identifier path from aggregate root to the entity that emitted the event.
- EntityIdPath - Class in org.fuin.ddd4j.ddd
-
An ordered list of entity identifiers.
- EntityIdPath(List<EntityId>) - Constructor for class org.fuin.ddd4j.ddd.EntityIdPath
-
Constructor with ID list.
- EntityIdPath(EntityId...) - Constructor for class org.fuin.ddd4j.ddd.EntityIdPath
-
Constructor with ID array.
- EntityIdPathConverter - Class in org.fuin.ddd4j.ddd
-
JAXB and JPA converter for an entity identifier path.
- EntityIdPathConverter(EntityIdFactory) - Constructor for class org.fuin.ddd4j.ddd.EntityIdPathConverter
-
Constructor with factory.
- EntityNotFoundException - Exception in org.fuin.ddd4j.ddd
-
Signals that an entity was not found.
- EntityNotFoundException(EntityIdPath) - Constructor for exception org.fuin.ddd4j.ddd.EntityNotFoundException
-
Constructor with entity identifier path.
- EntityNotFoundException(EntityIdPath, EntityId) - Constructor for exception org.fuin.ddd4j.ddd.EntityNotFoundException
-
Constructor with all data.
- EntityNotFoundException.Data - Class in org.fuin.ddd4j.ddd
-
Specific exception data.
- entityType() - Element in annotation interface org.fuin.ddd4j.codegen.AggregateRootUuidVO
-
Unique identifier of the aggregate root type.
- entityType() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Unique identifier of the entity type.
- EntityType - Interface in org.fuin.ddd4j.ddd
-
Identifies a type of entity within all entity types of the context.
- equals(Object) - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
- equals(Object) - Method in class org.fuin.ddd4j.ddd.AbstractEntity
- equals(Object) - Method in class org.fuin.ddd4j.ddd.AbstractEvent
- equals(Object) - Method in class org.fuin.ddd4j.ddd.AggregateAlreadyExistsException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.AggregateDeletedException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.AggregateNotFoundException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
- equals(Object) - Method in class org.fuin.ddd4j.ddd.AggregateVersionConflictException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.AggregateVersionNotFoundException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.DecryptionFailedException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.DuplicateEntityException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.EncryptedData
- equals(Object) - Method in class org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.EntityNotFoundException.Data
- equals(Object) - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
- equals(Object) - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
- Event - Interface in org.fuin.ddd4j.ddd
-
Something that happened in the system.
- eventId(EventId) - Method in class org.fuin.ddd4j.ddd.AbstractEvent.Builder
-
Sets the unique identifier of the event.
- EventId - Class in org.fuin.ddd4j.ddd
-
Universal unique event identifier.
- EventId() - Constructor for class org.fuin.ddd4j.ddd.EventId
-
Default constructor.
- EventId(UUID) - Constructor for class org.fuin.ddd4j.ddd.EventId
-
Constructor with UUID.
- EventIdConverter - Class in org.fuin.ddd4j.ddd
-
JAXB and JPA converter for an entity identifier.
- EventIdConverter() - Constructor for class org.fuin.ddd4j.ddd.EventIdConverter
- EventStoreRepository<ID extends AggregateRootId,
AGGREGATE extends AggregateRoot<ID>> - Class in org.fuin.ddd4j.esrepo -
Event store based repository.
- EventStoreRepository(EventStore) - Constructor for class org.fuin.ddd4j.esrepo.EventStoreRepository
-
Constructor with all mandatory data.
- EventType - Class in org.fuin.ddd4j.ddd
-
Identifies an event type within an aggregate type.
- EventType(String) - Constructor for class org.fuin.ddd4j.ddd.EventType
-
Constructor with unique name to use.
- example() - Element in annotation interface org.fuin.ddd4j.codegen.AggregateRootUuidVO
-
Example value of the type.
- example() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Example value of the type.
- ExpectedEntityIdPath - Annotation Interface in org.fuin.ddd4j.ddd
-
The entity identifier path should contain a defined order and type of entries.
- ExpectedEntityIdPathValidator - Class in org.fuin.ddd4j.ddd
-
Validates that the path has a defined order and type.
- ExpectedEntityIdPathValidator() - Constructor for class org.fuin.ddd4j.ddd.ExpectedEntityIdPathValidator
F
- findDeclaredAnnotatedMethod(Object, Class<? extends Annotation>, Class<?>...) - Method in class org.fuin.ddd4j.ddd.MethodExecutor
-
Finds a declared method on the instance or it's parents that has an annotation and optional parameters.
- first() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
-
Returns the first entity identifier in the path.
- fromVO(AggregateVersion) - Method in class org.fuin.ddd4j.ddd.AggregateVersionConverter
- fromVO(EntityId) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
-
Converts the value object into a String.
- fromVO(EntityIdPath) - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
- fromVO(EventId) - Method in class org.fuin.ddd4j.ddd.EventIdConverter
G
- get(AggregateRootId, Integer) - Method in interface org.fuin.ddd4j.ddd.AggregateCache
-
Tries to read the aggregate with the given identifier from the cache.
- get(AggregateRootId, Integer) - Method in class org.fuin.ddd4j.ddd.AggregateNoCache
- getActual() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
-
Returns the actual version.
- getAggregateCache() - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
-
Returns the aggregate cache.
- getAggregateClass() - Method in interface org.fuin.ddd4j.ddd.Repository
-
Returns the class of the aggregate in the repository.
- getAggregateId() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
-
Returns the unique identifier of the aggregate.
- getAggregateId() - Method in exception org.fuin.ddd4j.ddd.AggregateDeletedException
-
Returns the unique identifier of the aggregate.
- getAggregateId() - Method in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
-
Returns the unique identifier of the aggregate.
- getAggregateId() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
-
Returns the unique identifier of the aggregate.
- getAggregateId() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
-
Returns the unique identifier of the aggregate.
- getAggregateType() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
-
Returns the type of the aggregate.
- getAggregateType() - Method in exception org.fuin.ddd4j.ddd.AggregateDeletedException
-
Returns the type of the aggregate.
- getAggregateType() - Method in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
-
Returns the type of the aggregate.
- getAggregateType() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
-
Returns the type of the aggregate.
- getAggregateType() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
-
Returns the type of the aggregate.
- getAggregateType() - Method in interface org.fuin.ddd4j.ddd.Repository
-
Returns a unique name for the aggregate root type.
- getAggregateVersion() - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent
- getAggregateVersion() - Method in interface org.fuin.ddd4j.ddd.DomainEvent
-
Returns the version of the aggregate the entity belongs to.
- getAggregateVersionInteger() - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent
- getAggregateVersionInteger() - Method in interface org.fuin.ddd4j.ddd.DomainEvent
-
Returns the aggregate version as integer.
- getBaseType() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
- getBaseType() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
- getBaseTypeClass() - Method in class org.fuin.ddd4j.ddd.AggregateVersionConverter
- getBaseTypeClass() - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
- getBaseTypeClass() - Method in class org.fuin.ddd4j.ddd.EventIdConverter
- getCausationId() - Method in class org.fuin.ddd4j.ddd.AbstractEvent
- getCausationId() - Method in interface org.fuin.ddd4j.ddd.Event
-
Causation identifier.
- getContentType() - Method in class org.fuin.ddd4j.ddd.EncryptedData
-
Returns the content type like "application/json; encoding=UTF-8; version=1".
- getCorrelationId() - Method in class org.fuin.ddd4j.ddd.AbstractEvent
- getCorrelationId() - Method in interface org.fuin.ddd4j.ddd.Event
-
Correlation identifier.
- getData() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
-
Returns the exception specific data.
- getData() - Method in exception org.fuin.ddd4j.ddd.AggregateDeletedException
-
Returns the exception specific data.
- getData() - Method in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
-
Returns the exception specific data.
- getData() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
-
Returns the exception specific data.
- getData() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
-
Returns the exception specific data.
- getData() - Method in exception org.fuin.ddd4j.ddd.DecryptionFailedException
-
Returns the exception specific data.
- getData() - Method in exception org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException
-
Returns the exception specific data.
- getData() - Method in exception org.fuin.ddd4j.ddd.DuplicateEntityException
-
Returns the exception specific data.
- getData() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
-
Returns the exception specific data.
- getData() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
-
Returns the exception specific data.
- getData() - Method in exception org.fuin.ddd4j.ddd.EntityNotFoundException
-
Returns the exception specific data.
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.AggregateDeletedException
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.DecryptionFailedException
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.DuplicateEntityException
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
- getDataClass() - Method in exception org.fuin.ddd4j.ddd.EntityNotFoundException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.AggregateDeletedException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.DecryptionFailedException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.DuplicateEntityException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
- getDataElement() - Method in exception org.fuin.ddd4j.ddd.EntityNotFoundException
- getDataType() - Method in class org.fuin.ddd4j.ddd.EncryptedData
-
Returns the unique type of the data like "UserPersonalData".
- getDeclaredMethodsIncludingSuperClasses(Class<?>, Class<?>...) - Method in class org.fuin.ddd4j.ddd.MethodExecutor
-
Returns a list of declared methods from classes and super classes.
- getEncryptedData() - Method in class org.fuin.ddd4j.ddd.EncryptedData
-
Returns the encrypted data.
- getEntityId() - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent
- getEntityId() - Method in interface org.fuin.ddd4j.ddd.DomainEvent
-
Returns the identifier of the entity that caused this event.
- getEntityId() - Method in exception org.fuin.ddd4j.ddd.DuplicateEntityException
-
Returns the unique identifier of the entity.
- getEntityId() - Method in exception org.fuin.ddd4j.ddd.EntityNotFoundException
-
Returns the unique identifier of the entity.
- getEntityIdPath() - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent
- getEntityIdPath() - Method in interface org.fuin.ddd4j.ddd.DomainEvent
-
Returns the path to the originator of the event.
- getEventId() - Method in class org.fuin.ddd4j.ddd.AbstractEvent
- getEventId() - Method in interface org.fuin.ddd4j.ddd.Event
-
Returns the identifier of the event.
- getEventStore() - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
-
Returns the underlying event store.
- getEventTimestamp() - Method in class org.fuin.ddd4j.ddd.AbstractEvent
- getEventTimestamp() - Method in interface org.fuin.ddd4j.ddd.Event
-
Date, time and time zone the event was created.
- getEventType() - Method in interface org.fuin.ddd4j.ddd.Event
-
Returns the type of the event (What happened).
- getExpected() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
-
Returns the expected version.
- getId() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
-
Returns the unique aggregate root identifier.
- getId() - Method in interface org.fuin.ddd4j.ddd.Entity
-
Returns the unique entity identifier.
- getIdParamName() - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
-
Returns the parameter name for the unique identifier.
- getIgnoredEvents() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
-
Returns a list of old / ignored events.
- getKeyId() - Method in exception org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException
-
Returns the IV version that caused the problem.
- getKeyId() - Method in class org.fuin.ddd4j.ddd.EncryptedData
-
Returns the unique identifier of the private key used.
- getKeyId() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
-
Returns the IV version that caused the problem.
- getKeyVersion() - Method in class org.fuin.ddd4j.ddd.EncryptedData
-
Returns the version of the private key used.
- getKeyVersion() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
-
Returns the IV version that caused the problem.
- getKeyVersion(String) - Method in interface org.fuin.ddd4j.ddd.EncryptedDataService
-
Returns the current version of the given identifier.
- getMaxTryCount() - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
-
Returns the number of tries that should be done to resolve a version conflict.
- getName() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
- getNextApplyVersion() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
- getNextApplyVersion() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
-
Returns the next version useful when creating an event for being applied:
apply(new MyEvent( ... - getNextVersion() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
- getNextVersion() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
-
Returns the next version of the aggregate.
- getParameters() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
- getParentIdPath() - Method in exception org.fuin.ddd4j.ddd.DuplicateEntityException
-
Returns the path from root to parent.
- getParentIdPath() - Method in exception org.fuin.ddd4j.ddd.EntityNotFoundException
-
Returns the path from root to parent.
- getReadPageSize() - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
-
Returns the number of events to read in a slice.
- getRoot() - Method in class org.fuin.ddd4j.ddd.AbstractEntity
-
Returns the aggregate root the entity belongs to.
- getRootId() - Method in class org.fuin.ddd4j.ddd.AbstractEntity
-
Returns the identifier of the aggregate root the entity belongs to.
- getShortId() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
- getShortId() - Method in exception org.fuin.ddd4j.ddd.AggregateDeletedException
- getShortId() - Method in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
- getShortId() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
- getShortId() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
- getShortId() - Method in exception org.fuin.ddd4j.ddd.DecryptionFailedException
- getShortId() - Method in exception org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException
- getShortId() - Method in exception org.fuin.ddd4j.ddd.DuplicateEntityException
- getShortId() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
- getShortId() - Method in exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
- getShortId() - Method in exception org.fuin.ddd4j.ddd.EntityNotFoundException
- getSingleParamValue() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
- getType() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
- getType() - Method in interface org.fuin.ddd4j.ddd.Entity
-
Returns the unique type.
- getType() - Method in interface org.fuin.ddd4j.ddd.EntityId
-
Returns the type represented by this identifier.
- getType() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
- getUncommittedChanges() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
- getUncommittedChanges() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
-
Returns a list of uncommitted changes.
- getValueObjectClass() - Method in class org.fuin.ddd4j.ddd.AggregateVersionConverter
- getValueObjectClass() - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
- getValueObjectClass() - Method in class org.fuin.ddd4j.ddd.EventIdConverter
- getVersion() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
- getVersion() - Method in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
-
Returns the actual version.
- getVersion() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
-
Returns the current version of the aggregate.
- getVersion() - Method in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
-
Returns the actual version.
- groups() - Element in annotation interface org.fuin.ddd4j.ddd.DomainEventExpectedEntityIdPath
- groups() - Element in annotation interface org.fuin.ddd4j.ddd.ExpectedEntityIdPath
H
- hashCode() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
- hashCode() - Method in class org.fuin.ddd4j.ddd.AbstractEntity
- hashCode() - Method in class org.fuin.ddd4j.ddd.AbstractEvent
- hashCode() - Method in class org.fuin.ddd4j.ddd.AggregateAlreadyExistsException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.AggregateDeletedException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.AggregateNotFoundException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
- hashCode() - Method in class org.fuin.ddd4j.ddd.AggregateVersionConflictException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.AggregateVersionNotFoundException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.DecryptionFailedException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.DuplicateEntityException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.EncryptedData
- hashCode() - Method in class org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.EntityNotFoundException.Data
- hashCode() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
- hashCode() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
- hasUncommitedChanges() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
- hasUncommitedChanges() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
-
Returns the information if the aggregate has uncommited changes.
I
- initialize(Class<? extends EntityId>[]) - Method in class org.fuin.ddd4j.ddd.ExpectedEntityIdPathValidator
-
Initializer used by other validators in this package.
- initialize(DomainEventExpectedEntityIdPath) - Method in class org.fuin.ddd4j.ddd.DomainEventExpectedEntityIdPathValidator
- initialize(ExpectedEntityIdPath) - Method in class org.fuin.ddd4j.ddd.ExpectedEntityIdPathValidator
- IntegerEntityId - Class in org.fuin.ddd4j.ddd
-
Integer based entity identifier.
- IntegerEntityId(EntityType, Integer) - Constructor for class org.fuin.ddd4j.ddd.IntegerEntityId
-
Constructor with Integer.
- IntegerEntityIdVO - Annotation Interface in org.fuin.ddd4j.codegen
-
Integer based entity identifier value object.
- invoke(Method, Object, Object...) - Method in class org.fuin.ddd4j.ddd.MethodExecutor
-
Invokes a method with any number of arguments.
- invokeDeclaredAnnotatedMethod(Object, Class<? extends Annotation>, Class<?>[], Object[]) - Method in class org.fuin.ddd4j.ddd.MethodExecutor
-
Finds a declared method that has an annotation and optional parameters.
- isProjection() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
- isValid(Integer) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
-
Returns the information if a given integer is a valid version.
- isValid(Integer) - Method in class org.fuin.ddd4j.ddd.AggregateVersionConverter
- isValid(String) - Static method in class org.fuin.ddd4j.ddd.AggregateRootUuid
-
Verifies that a given string can be converted into the type.
- isValid(String) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
-
Returns the information if a given string is a valid version.
- isValid(String) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
-
Verifies that the given value can be converted into a value object using the factory.
- isValid(String) - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
- isValid(String, String) - Method in interface org.fuin.ddd4j.ddd.EntityIdFactory
-
Determines if an identifier of the given type is valid.
- isValid(UUID) - Method in class org.fuin.ddd4j.ddd.EventIdConverter
- isValid(DomainEvent<?>, ConstraintValidatorContext) - Method in class org.fuin.ddd4j.ddd.DomainEventExpectedEntityIdPathValidator
- isValid(EntityIdPath, ConstraintValidatorContext) - Method in class org.fuin.ddd4j.ddd.ExpectedEntityIdPathValidator
- iterator() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
-
Creates a NEW list of the entity identifiers contained in the entity id path and returns an iterator on it.
J
- jaxb() - Element in annotation interface org.fuin.ddd4j.codegen.AggregateRootUuidVO
-
Generate a JAXB adapter.
- jaxb() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Generate a JAXB adapter.
- jaxb() - Element in annotation interface org.fuin.ddd4j.codegen.SimpleValueObject
-
Generate a JAXB adapter.
- jaxb() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Generate a JAXB adapter.
- JAXB_CLASSES - Static variable in class org.fuin.ddd4j.ddd.Ddd4JUtils
-
Classes used for JAX-B serialization.
- jpa() - Element in annotation interface org.fuin.ddd4j.codegen.AggregateRootUuidVO
-
Generate a JPA converter.
- jpa() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Generate a JPA converter.
- jpa() - Element in annotation interface org.fuin.ddd4j.codegen.SimpleValueObject
-
Generate a JPA converter.
- jpa() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Generate a JPA converter.
- jsonb() - Element in annotation interface org.fuin.ddd4j.codegen.AggregateRootUuidVO
-
Generate a JSONB adapter.
- jsonb() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Generate a JSONB adapter.
- jsonb() - Element in annotation interface org.fuin.ddd4j.codegen.SimpleValueObject
-
Generate a JSONB adapter.
- jsonb() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Generate a JSONB adapter.
K
- keyExists(String) - Method in interface org.fuin.ddd4j.ddd.EncryptedDataService
-
Determines if a key for the given identifier exists.
L
- last() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
-
Returns the last entity identifier in the path.
- loadFromHistory(List<DomainEvent<?>>) - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
-
Loads the aggregate with historic events.
- loadFromHistory(DomainEvent<?>...) - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
-
Loads the aggregate with historic events.
- loadFromHistory(List<DomainEvent<?>>) - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
- loadFromHistory(DomainEvent<?>...) - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
M
- markChangesAsCommitted() - Method in class org.fuin.ddd4j.ddd.AbstractAggregateRoot
- markChangesAsCommitted() - Method in interface org.fuin.ddd4j.ddd.AggregateRoot
-
Clears the internal change list and sets the new version number.
- marshal(EntityId) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
- maxLength() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Sets the maximum length of the type (>=0).
- maxValue() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Sets the maximum value of the type.
- message() - Element in annotation interface org.fuin.ddd4j.ddd.DomainEventExpectedEntityIdPath
- message() - Element in annotation interface org.fuin.ddd4j.ddd.ExpectedEntityIdPath
- MethodExecutor - Class in org.fuin.ddd4j.ddd
-
Lightweight utility class to execute a method using reflection.
- MethodExecutor() - Constructor for class org.fuin.ddd4j.ddd.MethodExecutor
- minLength() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Sets the minimum length of the type (>=0).
- minValue() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Sets the minimum value of the type.
N
- name() - Element in annotation interface org.fuin.ddd4j.codegen.AggregateRootUuidVO
-
Unique name of the type to generate.
- name() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Unique name of the type to generate.
- name() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Unique name of the type to generate.
O
- openapi() - Element in annotation interface org.fuin.ddd4j.codegen.AggregateRootUuidVO
-
Generate a Eclipse Microprofile OpenAPI annotations.
- openapi() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Generate a Eclipse Microprofile OpenAPI annotations.
- openapi() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Generate a Eclipse Microprofile OpenAPI annotations.
- org.fuin.ddd4j - module org.fuin.ddd4j
- org.fuin.ddd4j.codegen - package org.fuin.ddd4j.codegen
-
Copyright (C) 2015 Michael Schnell.
- org.fuin.ddd4j.ddd - package org.fuin.ddd4j.ddd
- org.fuin.ddd4j.esrepo - package org.fuin.ddd4j.esrepo
-
Copyright (C) 2015 Michael Schnell.
P
- parent() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
-
Returns the parent path without the last entry.
- PATH_SEPARATOR - Static variable in class org.fuin.ddd4j.ddd.EntityIdPath
-
Divides the entity identifiers in the path.
- pattern() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
A pattern that describes the content of the type.
- payload() - Element in annotation interface org.fuin.ddd4j.ddd.DomainEventExpectedEntityIdPath
- payload() - Element in annotation interface org.fuin.ddd4j.ddd.ExpectedEntityIdPath
- pkg() - Element in annotation interface org.fuin.ddd4j.codegen.AggregateRootUuidVO
-
Name of the package for the type to generate.
- pkg() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Name of the package for the type to generate.
- pkg() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Name of the package for the type to generate.
- put(AggregateRootId, AGGREGATE) - Method in interface org.fuin.ddd4j.ddd.AggregateCache
-
Puts an aggregate with the given identifier in the cache.
- put(AggregateRootId, AGGREGATE) - Method in class org.fuin.ddd4j.ddd.AggregateNoCache
R
- read(ID) - Method in interface org.fuin.ddd4j.ddd.Repository
-
Reads the latest version of an aggregate.
- read(ID) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
- read(ID, int) - Method in interface org.fuin.ddd4j.ddd.Repository
-
Reads a given version of an aggregate.
- read(ID, int) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
- remove(AggregateRootId) - Method in interface org.fuin.ddd4j.ddd.AggregateCache
-
Removes the aggregate with the given identifier from the cache.
- remove(AggregateRootId) - Method in class org.fuin.ddd4j.ddd.AggregateNoCache
- Repository<ID extends AggregateRootId,
T extends AggregateRoot<ID>> - Interface in org.fuin.ddd4j.ddd -
Repository that supports CRUD operations for an aggregate.
- requireArgValid(String, String) - Static method in class org.fuin.ddd4j.ddd.AggregateRootUuid
-
Verifies if the argument is valid and throws an exception if this is not the case.
- requireArgValid(String, String) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
-
Verifies if the argument is valid and throws an exception if this is not the case.
- requireArgValid(String, String) - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
-
Verifies if the argument is valid and throws an exception if this is not the case.
- requireArgValid(String, Integer) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
-
Verifies if the argument is valid and throws an exception if this is not the case.
- requireArgValid(String, String) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
-
Verifies if the argument is valid and throws an exception if this is not the case.
- resetAbstractDomainEvent(TYPE) - Method in class org.fuin.ddd4j.ddd.AbstractDomainEvent.Builder
-
Sets the internal instance to a new one.
- resetAbstractEvent(TYPE) - Method in class org.fuin.ddd4j.ddd.AbstractEvent.Builder
-
Sets the internal instance to a new one.
- rest() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
-
Returns the path without the first entry.
- rotateKey(String) - Method in interface org.fuin.ddd4j.ddd.EncryptedDataService
-
Rotates the existing key by creating a new one as the next version.
S
- same(Class<?>[], Class<?>[]) - Method in class org.fuin.ddd4j.ddd.MethodExecutor
-
Verifies if both arrays have the same length and types.
- serialVersionUID() - Element in annotation interface org.fuin.ddd4j.codegen.AggregateRootUuidVO
-
Serial version UID to use.
- serialVersionUID() - Element in annotation interface org.fuin.ddd4j.codegen.IntegerEntityIdVO
-
Serial version UID to use.
- serialVersionUID() - Element in annotation interface org.fuin.ddd4j.codegen.StringVO
-
Serial version UID to use.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.AggregateAlreadyExistsException
-
Unique short identifier of this exception.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.AggregateDeletedException
-
Unique short identifier of this exception.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.AggregateNotFoundException
-
Unique short identifier of this exception.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.AggregateVersionConflictException
-
Unique short identifier of this exception.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.AggregateVersionNotFoundException
-
Unique short identifier of this exception.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.DecryptionFailedException
-
Unique short identifier of this exception.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException
-
Unique short identifier of this exception.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.DuplicateEntityException
-
Unique short identifier of this exception.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException
-
Unique short identifier of this exception.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException
-
Unique short identifier of this exception.
- SHORT_ID - Static variable in exception org.fuin.ddd4j.ddd.EntityNotFoundException
-
Unique short identifier of this exception.
- SHORT_ID_PREFIX - Static variable in class org.fuin.ddd4j.ddd.Ddd4JUtils
-
Prefix for unique short identifiers.
- SimpleValueObject - Annotation Interface in org.fuin.ddd4j.codegen
-
Value object that has only a single attribute of type
String,Integer,LongorUUID. - size() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
-
Returns the number of elements in the path.
- StringBasedEntityType - Class in org.fuin.ddd4j.ddd
-
Entity type based on a string with a maximum length of 255 characters.
- StringBasedEntityType(String) - Constructor for class org.fuin.ddd4j.ddd.StringBasedEntityType
-
Constructor with unique name to use.
- StringVO - Annotation Interface in org.fuin.ddd4j.codegen
-
Value object based on a single string.
T
- TechnicalId - Interface in org.fuin.ddd4j.ddd
-
Technical identifier that is only used internally and never shown to a user.
- timestamp(ZonedDateTime) - Method in class org.fuin.ddd4j.ddd.AbstractEvent.Builder
-
Sets the date/Time the event was created.
- toException() - Method in class org.fuin.ddd4j.ddd.AggregateAlreadyExistsException.Data
- toException() - Method in class org.fuin.ddd4j.ddd.AggregateDeletedException.Data
- toException() - Method in class org.fuin.ddd4j.ddd.AggregateNotFoundException.Data
- toException() - Method in class org.fuin.ddd4j.ddd.AggregateVersionConflictException.Data
- toException() - Method in class org.fuin.ddd4j.ddd.AggregateVersionNotFoundException.Data
- toException() - Method in class org.fuin.ddd4j.ddd.DecryptionFailedException.Data
- toException() - Method in class org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException.Data
- toException() - Method in class org.fuin.ddd4j.ddd.DuplicateEntityException.Data
- toException() - Method in class org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException.Data
- toException() - Method in class org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException.Data
- toException() - Method in class org.fuin.ddd4j.ddd.EntityNotFoundException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.AggregateAlreadyExistsException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.AggregateDeletedException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.AggregateNotFoundException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.AggregateRootUuid
- toString() - Method in class org.fuin.ddd4j.ddd.AggregateVersionConflictException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.AggregateVersionNotFoundException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.DecryptionFailedException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.DuplicateEncryptionKeyIdException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.DuplicateEntityException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.EncryptedData
- toString() - Method in class org.fuin.ddd4j.ddd.EncryptionKeyIdUnknownException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.EncryptionKeyVersionUnknownException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.EntityIdPath
- toString() - Method in class org.fuin.ddd4j.ddd.EntityNotFoundException.Data
- toString() - Method in class org.fuin.ddd4j.ddd.EventId
- toString() - Method in class org.fuin.ddd4j.ddd.EventType
- toString() - Method in class org.fuin.ddd4j.ddd.IntegerEntityId
- toString() - Method in class org.fuin.ddd4j.ddd.StringBasedEntityType
- toString() - Method in class org.fuin.ddd4j.esrepo.AggregateStreamId
- toVO(Integer) - Method in class org.fuin.ddd4j.ddd.AggregateVersionConverter
- toVO(String) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
-
Converts a string into an entity identifier.
- toVO(String) - Method in class org.fuin.ddd4j.ddd.EntityIdPathConverter
- toVO(UUID) - Method in class org.fuin.ddd4j.ddd.EventIdConverter
U
- unmarshal(String) - Method in class org.fuin.ddd4j.ddd.EntityIdConverter
- update(AGGREGATE) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
- update(AGGREGATE, String, Object) - Method in class org.fuin.ddd4j.esrepo.EventStoreRepository
- update(T) - Method in interface org.fuin.ddd4j.ddd.Repository
-
Saves the changes on an aggregate in the repository without any meta data.
- update(T, String, Object) - Method in interface org.fuin.ddd4j.ddd.Repository
-
Saves the changes on an aggregate in the repository including some meta data.
V
- value() - Element in annotation interface org.fuin.ddd4j.ddd.DomainEventExpectedEntityIdPath
-
Expected ID types.
- value() - Element in annotation interface org.fuin.ddd4j.ddd.ExpectedEntityIdPath
-
Expected identifier types.
- valueOf(Integer) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
-
Parses a version identifier.
- valueOf(String) - Static method in class org.fuin.ddd4j.ddd.AggregateVersion
-
Parses a version identifier.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form