Index

A B C D E F G H I J K L M O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractAggregateException - Exception in org.fuin.ddd4j.core
Base class for aggregate related exceptions.
AbstractAggregateException(String, String, String) - Constructor for exception org.fuin.ddd4j.core.AbstractAggregateException
Constructor with string data.
AbstractAggregateException(String, EntityType, AggregateRootId) - Constructor for exception org.fuin.ddd4j.core.AbstractAggregateException
Constructor with strongly typed data.
AbstractAggregateRoot<ID extends AggregateRootId> - Class in org.fuin.ddd4j.core
Base class for aggregate roots.
AbstractAggregateRoot() - Constructor for class org.fuin.ddd4j.core.AbstractAggregateRoot
Default constructor.
AbstractEntity<ROOT_ID extends AggregateRootId,ROOT extends AbstractAggregateRoot<ROOT_ID>,ID extends EntityId> - Class in org.fuin.ddd4j.core
Base class for entities.
AbstractEntity(ROOT) - Constructor for class org.fuin.ddd4j.core.AbstractEntity
Constructor with root aggregate.
AbstractVersionedAggregateException - Exception in org.fuin.ddd4j.core
Base class for version related aggregate exceptions.
AbstractVersionedAggregateException(String, String, String, int) - Constructor for exception org.fuin.ddd4j.core.AbstractVersionedAggregateException
Constructor with string data.
AbstractVersionedAggregateException(String, EntityType, AggregateRootId, int) - Constructor for exception org.fuin.ddd4j.core.AbstractVersionedAggregateException
Constructor with strongly typed data.
add(T) - Method in interface org.fuin.ddd4j.core.Repository
Adds a new aggregate to the repository without any metadata.
add(T, String, Object) - Method in interface org.fuin.ddd4j.core.Repository
Adds a new aggregate to the repository with some metadata.
AggregateAlreadyExistsException - Exception in org.fuin.ddd4j.core
An aggregate already existed when trying to create it.
AggregateAlreadyExistsException(String, String, int) - Constructor for exception org.fuin.ddd4j.core.AggregateAlreadyExistsException
Constructor with string data.
AggregateAlreadyExistsException(EntityType, AggregateRootId, int) - Constructor for exception org.fuin.ddd4j.core.AggregateAlreadyExistsException
Constructor with typed data.
AggregateCache<AGGREGATE> - Interface in org.fuin.ddd4j.core
Cache for aggregates of the same type.
AggregateDeletedException - Exception in org.fuin.ddd4j.core
Signals that an aggregate of a given type and identifier was deleted from the repository.
AggregateDeletedException(String, String) - Constructor for exception org.fuin.ddd4j.core.AggregateDeletedException
Constructor with string data.
AggregateDeletedException(EntityType, AggregateRootId) - Constructor for exception org.fuin.ddd4j.core.AggregateDeletedException
Constructor with all data.
AggregateNoCache<AGGREGATE> - Class in org.fuin.ddd4j.core
Never caches anything.
AggregateNoCache() - Constructor for class org.fuin.ddd4j.core.AggregateNoCache
 
AggregateNotFoundException - Exception in org.fuin.ddd4j.core
Signals that an aggregate of a given type and identifier was not found in the repository.
AggregateNotFoundException(String, String) - Constructor for exception org.fuin.ddd4j.core.AggregateNotFoundException
Constructor with string data.
AggregateNotFoundException(EntityType, AggregateRootId) - Constructor for exception org.fuin.ddd4j.core.AggregateNotFoundException
Constructor with all data.
AggregateRoot<ID extends AggregateRootId> - Interface in org.fuin.ddd4j.core
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.core
Identifies an aggregate within all aggregates of the same type.
AggregateRootUuid - Class in org.fuin.ddd4j.core
UUID based aggregate root identifier.
AggregateRootUuid(EntityType) - Constructor for class org.fuin.ddd4j.core.AggregateRootUuid
Constructor with entity type.
AggregateRootUuid(EntityType, UUID) - Constructor for class org.fuin.ddd4j.core.AggregateRootUuid
Constructor with UUID.
AggregateVersion - Class in org.fuin.ddd4j.core
Version of an aggregate.
AggregateVersion(Integer) - Constructor for class org.fuin.ddd4j.core.AggregateVersion
Constructor with value.
AggregateVersionConflictException - Exception in org.fuin.ddd4j.core
Signals a conflict between an expected and an actual version for an aggregate.
AggregateVersionConflictException(String, String, int, int) - Constructor for exception org.fuin.ddd4j.core.AggregateVersionConflictException
Constructor with string.
AggregateVersionConflictException(EntityType, AggregateRootId, int, int) - Constructor for exception org.fuin.ddd4j.core.AggregateVersionConflictException
Constructor with all data.
AggregateVersionNotFoundException - Exception in org.fuin.ddd4j.core
Signals that the requested version for an aggregate does not exist.
AggregateVersionNotFoundException(String, String, int) - Constructor for exception org.fuin.ddd4j.core.AggregateVersionNotFoundException
Constructor with string arguments.
AggregateVersionNotFoundException(EntityType, AggregateRootId, int) - Constructor for exception org.fuin.ddd4j.core.AggregateVersionNotFoundException
Constructor with all data.
apply(DomainEvent<?>) - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
Applies the given new event.
apply(DomainEvent<?>) - Method in class org.fuin.ddd4j.core.AbstractEntity
Applies the given new event.
ApplyEvent - Annotation Interface in org.fuin.ddd4j.core
Identifies a method in an aggregate or an entity that applies a given domain event.
asBaseType() - Method in class org.fuin.ddd4j.core.AggregateRootUuid
 
asBaseType() - Method in class org.fuin.ddd4j.core.AggregateVersion
 
asBaseType() - Method in class org.fuin.ddd4j.core.EntityIdPath
 
asBaseType() - Method in class org.fuin.ddd4j.core.EventId
 
asBaseType() - Method in class org.fuin.ddd4j.core.EventType
 
asBaseType() - Method in class org.fuin.ddd4j.core.IntegerEntityId
 
asBaseType() - Method in class org.fuin.ddd4j.core.StringBasedEntityType
 
asString() - Method in class org.fuin.ddd4j.core.AggregateRootUuid
 
asString() - Method in interface org.fuin.ddd4j.core.EntityId
Returns the entity identifier as string.
asString() - Method in interface org.fuin.ddd4j.core.EntityType
Returns the entity type name as string.
asString() - Method in class org.fuin.ddd4j.core.EventId
 
asString() - Method in class org.fuin.ddd4j.core.IntegerEntityId
 
asTypedString() - Method in class org.fuin.ddd4j.core.AggregateRootUuid
 
asTypedString() - Method in interface org.fuin.ddd4j.core.EntityId
Returns the entity identifier as string with type and identifier.
asTypedString() - Method in class org.fuin.ddd4j.core.IntegerEntityId
 

B

BusinessKey - Interface in org.fuin.ddd4j.core
Human-readable business (natural) key often used in documents or shown in the user interface.

C

calculateChecksum(Collection<EventType>) - Static method in class org.fuin.ddd4j.core.Ddd4JUtils
Creates an Adler32 checksum based on event type names.
ChildEntityLocator - Annotation Interface in org.fuin.ddd4j.core
Method that is able to return a child entity by its identifier.
compareTo(AggregateRootUuid) - Method in class org.fuin.ddd4j.core.AggregateRootUuid
 
compareTo(IntegerEntityId) - Method in class org.fuin.ddd4j.core.IntegerEntityId
 
containsType(String) - Method in interface org.fuin.ddd4j.core.EntityIdFactory
Verifies if the given type string is a valid one.
containsType(String) - Method in class org.fuin.ddd4j.core.JandexEntityIdFactory
 
create() - Method in interface org.fuin.ddd4j.core.Repository
Factory method to create a new aggregate.
createEntityId(String, String) - Method in interface org.fuin.ddd4j.core.EntityIdFactory
Creates an entity id by type and string identifier.
createEntityId(String, String) - Method in class org.fuin.ddd4j.core.JandexEntityIdFactory
 
createKey(String) - Method in interface org.fuin.ddd4j.core.EncryptedDataService
Creates a new key for the given identifier.

D

Ddd4JUtils - Class in org.fuin.ddd4j.core
Utility methods and constants.
decrypt(EncryptedData) - Method in interface org.fuin.ddd4j.core.EncryptedDataService
Decrypts the data using the information provided by the parameter.
DecryptionFailedException - Exception in org.fuin.ddd4j.core
Signals that decrypting the data failed.
DecryptionFailedException(Exception) - Constructor for exception org.fuin.ddd4j.core.DecryptionFailedException
Constructor with causing exception.
DecryptionFailedException(String) - Constructor for exception org.fuin.ddd4j.core.DecryptionFailedException
Constructor with message.
delete(ID, int) - Method in interface org.fuin.ddd4j.core.Repository
Deletes an aggregate from the repository.
DomainEvent<ID extends EntityId> - Interface in org.fuin.ddd4j.core
Domain event published by an entity.
DomainEventExpectedEntityIdPath - Annotation Interface in org.fuin.ddd4j.core
The entity identifier path of a domain event should contain a defined order and type of entries.
DomainEventExpectedEntityIdPathValidator - Class in org.fuin.ddd4j.core
Validates that the path has a defined order and type.
DomainEventExpectedEntityIdPathValidator() - Constructor for class org.fuin.ddd4j.core.DomainEventExpectedEntityIdPathValidator
 
DuplicateEncryptionKeyIdException - Exception in org.fuin.ddd4j.core
Signals that the encryption key identifier already exists and cannot be created a second time.
DuplicateEncryptionKeyIdException(String) - Constructor for exception org.fuin.ddd4j.core.DuplicateEncryptionKeyIdException
Constructor with all data.
DuplicateEntityException - Exception in org.fuin.ddd4j.core
Signals that an entity already existed in its parent.
DuplicateEntityException(String, String) - Constructor for exception org.fuin.ddd4j.core.DuplicateEntityException
Constructor with string data.
DuplicateEntityException(EntityIdPath) - Constructor for exception org.fuin.ddd4j.core.DuplicateEntityException
Constructor with entity identifier path.
DuplicateEntityException(EntityIdPath, EntityId) - Constructor for exception org.fuin.ddd4j.core.DuplicateEntityException
Constructor with all data.

E

ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.AggregateAlreadyExistsException
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.AggregateDeletedException
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.AggregateNotFoundException
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.AggregateVersionConflictException
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.AggregateVersionNotFoundException
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.DecryptionFailedException
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.DuplicateEncryptionKeyIdException
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.DuplicateEntityException
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.EncryptionKeyIdUnknownException
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.EncryptionKeyVersionUnknownException
Unique name of the element to use for XML and JSON marshalling/unmarshalling.
ELEMENT_NAME - Static variable in exception org.fuin.ddd4j.core.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.core.EncryptedDataService
Encrypts some data using a dedicated key.
EncryptedData - Interface in org.fuin.ddd4j.core
Container for encrypted data.
EncryptedDataService - Interface in org.fuin.ddd4j.core
Service for encrypting/decrypting EncryptedData and handling versioned secret keys.
EncryptionKeyIdUnknownException - Exception in org.fuin.ddd4j.core
Signals that the encryption key identifier is unknown.
EncryptionKeyIdUnknownException(String) - Constructor for exception org.fuin.ddd4j.core.EncryptionKeyIdUnknownException
Constructor with all data.
EncryptionKeyVersionUnknownException - Exception in org.fuin.ddd4j.core
Signals that the requested version of the encryption key is unknown.
EncryptionKeyVersionUnknownException(String) - Constructor for exception org.fuin.ddd4j.core.EncryptionKeyVersionUnknownException
Constructor with all data.
Entity<ID extends EntityId> - Interface in org.fuin.ddd4j.core
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.core
Identifies an entity within all entities of the same type.
EntityIdFactory - Interface in org.fuin.ddd4j.core
Factory to create entity identifier.
EntityIdPath - Class in org.fuin.ddd4j.core
An ordered list of entity identifiers.
EntityIdPath(List<EntityId>) - Constructor for class org.fuin.ddd4j.core.EntityIdPath
Constructor with ID list.
EntityIdPath(EntityId...) - Constructor for class org.fuin.ddd4j.core.EntityIdPath
Constructor with ID array.
EntityNotFoundException - Exception in org.fuin.ddd4j.core
Signals that an entity was not found.
EntityNotFoundException(EntityIdPath) - Constructor for exception org.fuin.ddd4j.core.EntityNotFoundException
Constructor with entity identifier path.
EntityNotFoundException(String, String) - Constructor for exception org.fuin.ddd4j.core.EntityNotFoundException
Constructor with string data.
EntityNotFoundException(EntityIdPath, EntityId) - Constructor for exception org.fuin.ddd4j.core.EntityNotFoundException
Constructor with all data.
EntityType - Interface in org.fuin.ddd4j.core
Identifies a type of entity within all entity types of the context.
equals(Object) - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
 
equals(Object) - Method in class org.fuin.ddd4j.core.AbstractEntity
 
equals(Object) - Method in class org.fuin.ddd4j.core.AggregateRootUuid
 
equals(Object) - Method in class org.fuin.ddd4j.core.IntegerEntityId
 
Event - Interface in org.fuin.ddd4j.core
Something that happened in the system.
EventId - Class in org.fuin.ddd4j.core
Universal unique event identifier.
EventId() - Constructor for class org.fuin.ddd4j.core.EventId
Default constructor.
EventId(UUID) - Constructor for class org.fuin.ddd4j.core.EventId
Constructor with UUID.
EventType - Class in org.fuin.ddd4j.core
Identifies an event type within an aggregate type.
EventType(String) - Constructor for class org.fuin.ddd4j.core.EventType
Constructor with unique name to use.
ExceptionData<EX extends Exception> - Interface in org.fuin.ddd4j.core
Base for all classes that store data from an exception for marshalling and allowing to recreate it after unmarshalling.
ExpectedEntityIdPath - Annotation Interface in org.fuin.ddd4j.core
The entity identifier path should contain a defined order and type of entries.
ExpectedEntityIdPathValidator - Class in org.fuin.ddd4j.core
Validates that the path has a defined order and type.
ExpectedEntityIdPathValidator() - Constructor for class org.fuin.ddd4j.core.ExpectedEntityIdPathValidator
 
extractValue(Class<?>, String) - Static method in class org.fuin.ddd4j.core.HasEntityTypeConstantValidator
Returns a constant of type EntityType in a class.

F

findDeclaredAnnotatedMethod(Object, Class<? extends Annotation>, Class<?>...) - Method in class org.fuin.ddd4j.core.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.core.EntityIdPath
Returns the first entity identifier in the path.

G

get(AggregateRootId, Integer) - Method in interface org.fuin.ddd4j.core.AggregateCache
Tries to read the aggregate with the given identifier from the cache.
get(AggregateRootId, Integer) - Method in class org.fuin.ddd4j.core.AggregateNoCache
 
getActual() - Method in exception org.fuin.ddd4j.core.AggregateVersionConflictException
Returns the actual version.
getAggregateClass() - Method in interface org.fuin.ddd4j.core.Repository
Returns the class of the aggregate in the repository.
getAggregateType() - Method in interface org.fuin.ddd4j.core.Repository
Returns a unique name for the aggregate root type.
getAggregateVersion() - Method in interface org.fuin.ddd4j.core.DomainEvent
Returns the version of the aggregate the entity belongs to.
getAggregateVersionInteger() - Method in interface org.fuin.ddd4j.core.DomainEvent
Returns the aggregate version as integer.
getBaseType() - Method in class org.fuin.ddd4j.core.AggregateRootUuid
 
getBaseType() - Method in class org.fuin.ddd4j.core.IntegerEntityId
 
getCausationId() - Method in interface org.fuin.ddd4j.core.Event
Causation identifier.
getContentType() - Method in interface org.fuin.ddd4j.core.EncryptedData
Returns the content type like "application/json; encoding=UTF-8; version=1".
getCorrelationId() - Method in interface org.fuin.ddd4j.core.Event
Correlation identifier.
getDataElement() - Method in interface org.fuin.ddd4j.core.ExceptionData
Returns the name of the data attribute.
getDataType() - Method in interface org.fuin.ddd4j.core.EncryptedData
Returns the unique type of the data like "UserPersonalData".
getDeclaredMethodsIncludingSuperClasses(Class<?>, Class<?>...) - Method in class org.fuin.ddd4j.core.MethodExecutor
Returns a list of declared methods from classes and super classes.
getEncryptedData() - Method in interface org.fuin.ddd4j.core.EncryptedData
Returns the encrypted data.
getEntityId() - Method in interface org.fuin.ddd4j.core.DomainEvent
Returns the identifier of the entity that caused this event.
getEntityId() - Method in exception org.fuin.ddd4j.core.DuplicateEntityException
Returns the unique identifier of the entity.
getEntityId() - Method in exception org.fuin.ddd4j.core.EntityNotFoundException
Returns the unique identifier of the entity.
getEntityIdPath() - Method in interface org.fuin.ddd4j.core.DomainEvent
Returns the path to the originator of the event.
getEventId() - Method in interface org.fuin.ddd4j.core.Event
Returns the identifier of the event.
getEventTimestamp() - Method in interface org.fuin.ddd4j.core.Event
Date, time and time zone the event was created.
getEventType() - Method in interface org.fuin.ddd4j.core.Event
Returns the type of the event (What happened).
getExpected() - Method in exception org.fuin.ddd4j.core.AggregateVersionConflictException
Returns the expected version.
getId() - Method in exception org.fuin.ddd4j.core.AbstractAggregateException
Returns the unique identifier of the aggregate.
getId() - Method in interface org.fuin.ddd4j.core.AggregateRoot
Returns the unique aggregate root identifier.
getId() - Method in interface org.fuin.ddd4j.core.Entity
Returns the unique entity identifier.
getIdClasses() - Method in class org.fuin.ddd4j.core.JandexEntityIdFactory
Returns a list of known EntityId classes.
getIgnoredEvents() - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
Returns a list of old / ignored events.
getKeyId() - Method in exception org.fuin.ddd4j.core.DuplicateEncryptionKeyIdException
Returns the key identifier that caused the problem.
getKeyId() - Method in interface org.fuin.ddd4j.core.EncryptedData
Returns the unique identifier of the private key used.
getKeyId() - Method in exception org.fuin.ddd4j.core.EncryptionKeyIdUnknownException
Returns the IV version that caused the problem.
getKeyVersion() - Method in interface org.fuin.ddd4j.core.EncryptedData
Returns the version of the private key used.
getKeyVersion() - Method in exception org.fuin.ddd4j.core.EncryptionKeyVersionUnknownException
Returns the IV version that caused the problem.
getKeyVersion(String) - Method in interface org.fuin.ddd4j.core.EncryptedDataService
Returns the current version of the given identifier.
getNextApplyVersion() - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
 
getNextApplyVersion() - Method in interface org.fuin.ddd4j.core.AggregateRoot
Returns the next version useful when creating an event for being applied:
apply(new MyEvent( ...
getNextVersion() - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
 
getNextVersion() - Method in interface org.fuin.ddd4j.core.AggregateRoot
Returns the next version of the aggregate.
getParentIdPath() - Method in exception org.fuin.ddd4j.core.DuplicateEntityException
Returns the path from root to parent.
getParentIdPath() - Method in exception org.fuin.ddd4j.core.EntityNotFoundException
Returns the path from root to parent.
getRoot() - Method in class org.fuin.ddd4j.core.AbstractEntity
Returns the aggregate root the entity belongs to.
getRootId() - Method in class org.fuin.ddd4j.core.AbstractEntity
Returns the identifier of the aggregate root the entity belongs to.
getShortId() - Method in exception org.fuin.ddd4j.core.AggregateAlreadyExistsException
 
getShortId() - Method in exception org.fuin.ddd4j.core.AggregateDeletedException
 
getShortId() - Method in exception org.fuin.ddd4j.core.AggregateNotFoundException
 
getShortId() - Method in exception org.fuin.ddd4j.core.AggregateVersionConflictException
 
getShortId() - Method in exception org.fuin.ddd4j.core.AggregateVersionNotFoundException
 
getShortId() - Method in exception org.fuin.ddd4j.core.DecryptionFailedException
 
getShortId() - Method in exception org.fuin.ddd4j.core.DuplicateEncryptionKeyIdException
 
getShortId() - Method in exception org.fuin.ddd4j.core.DuplicateEntityException
 
getShortId() - Method in exception org.fuin.ddd4j.core.EncryptionKeyIdUnknownException
 
getShortId() - Method in exception org.fuin.ddd4j.core.EncryptionKeyVersionUnknownException
 
getShortId() - Method in exception org.fuin.ddd4j.core.EntityNotFoundException
 
getType() - Method in exception org.fuin.ddd4j.core.AbstractAggregateException
Returns the type of the aggregate.
getType() - Method in class org.fuin.ddd4j.core.AggregateRootUuid
 
getType() - Method in interface org.fuin.ddd4j.core.Entity
Returns the unique type.
getType() - Method in interface org.fuin.ddd4j.core.EntityId
Returns the type represented by this identifier.
getType() - Method in class org.fuin.ddd4j.core.IntegerEntityId
 
getUncommittedChanges() - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
 
getUncommittedChanges() - Method in interface org.fuin.ddd4j.core.AggregateRoot
Returns a list of uncommitted changes.
getVersion() - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
 
getVersion() - Method in exception org.fuin.ddd4j.core.AbstractVersionedAggregateException
Returns the actual version.
getVersion() - Method in interface org.fuin.ddd4j.core.AggregateRoot
Returns the current version of the aggregate.
groups() - Element in annotation interface org.fuin.ddd4j.core.DomainEventExpectedEntityIdPath
 
groups() - Element in annotation interface org.fuin.ddd4j.core.ExpectedEntityIdPath
 
groups() - Element in annotation interface org.fuin.ddd4j.core.HasEntityTypeConstant
 

H

HasEntityTypeConstant - Annotation Interface in org.fuin.ddd4j.core
A class that has a public static constant of type EntityType.
HasEntityTypeConstantValidator - Class in org.fuin.ddd4j.core
Determines if the annotated class has a public static constant with the given name and EntityType type.
HasEntityTypeConstantValidator() - Constructor for class org.fuin.ddd4j.core.HasEntityTypeConstantValidator
 
hashCode() - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
 
hashCode() - Method in class org.fuin.ddd4j.core.AbstractEntity
 
hashCode() - Method in class org.fuin.ddd4j.core.AggregateRootUuid
 
hashCode() - Method in class org.fuin.ddd4j.core.IntegerEntityId
 
hasUncommitedChanges() - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
 
hasUncommitedChanges() - Method in interface org.fuin.ddd4j.core.AggregateRoot
Returns the information if the aggregate has uncommited changes.

I

initialize(Class<? extends EntityId>[]) - Method in class org.fuin.ddd4j.core.ExpectedEntityIdPathValidator
Initializer used by other validators in this package.
initialize(DomainEventExpectedEntityIdPath) - Method in class org.fuin.ddd4j.core.DomainEventExpectedEntityIdPathValidator
 
initialize(ExpectedEntityIdPath) - Method in class org.fuin.ddd4j.core.ExpectedEntityIdPathValidator
 
initialize(HasEntityTypeConstant) - Method in class org.fuin.ddd4j.core.HasEntityTypeConstantValidator
 
IntegerEntityId - Class in org.fuin.ddd4j.core
Integer based entity identifier.
IntegerEntityId(EntityType, Integer) - Constructor for class org.fuin.ddd4j.core.IntegerEntityId
Constructor with Integer.
invoke(Method, Object, Object...) - Method in class org.fuin.ddd4j.core.MethodExecutor
Invokes a method with any number of arguments.
invokeDeclaredAnnotatedMethod(Object, Class<? extends Annotation>, Class<?>[], Object[]) - Method in class org.fuin.ddd4j.core.MethodExecutor
Finds a declared method that has an annotation and optional parameters.
isValid(EntityIdFactory, String) - Static method in interface org.fuin.ddd4j.core.EntityId
Verifies that the given value can be converted into a value object using the factory.
isValid(EntityIdFactory, String) - Static method in class org.fuin.ddd4j.core.EntityIdPath
Check that a given string is a well-formed email address.
isValid(Integer) - Static method in class org.fuin.ddd4j.core.AggregateVersion
Returns the information if a given integer is a valid version.
isValid(Object, ConstraintValidatorContext) - Method in class org.fuin.ddd4j.core.HasEntityTypeConstantValidator
 
isValid(String) - Static method in class org.fuin.ddd4j.core.AggregateRootUuid
Verifies that a given string can be converted into the type.
isValid(String) - Static method in class org.fuin.ddd4j.core.AggregateVersion
Returns the information if a given string is a valid version.
isValid(String, String) - Method in interface org.fuin.ddd4j.core.EntityIdFactory
Determines if an identifier of the given type is valid.
isValid(String, String) - Method in class org.fuin.ddd4j.core.JandexEntityIdFactory
 
isValid(DomainEvent<?>, ConstraintValidatorContext) - Method in class org.fuin.ddd4j.core.DomainEventExpectedEntityIdPathValidator
 
isValid(EntityIdPath, ConstraintValidatorContext) - Method in class org.fuin.ddd4j.core.ExpectedEntityIdPathValidator
 
iterator() - Method in class org.fuin.ddd4j.core.EntityIdPath
Creates a NEW list of the entity identifiers contained in the entity id path and returns an iterator on it.

J

JandexEntityIdFactory - Class in org.fuin.ddd4j.core
Registry that is built up by scanning for classes that are annotated with: HasPublicStaticIsValidMethod HasPublicStaticValueOfMethod (with String parameter) HasEntityTypeConstant and implementing EntityId.
JandexEntityIdFactory() - Constructor for class org.fuin.ddd4j.core.JandexEntityIdFactory
Default constructor.
JandexEntityIdFactory(File...) - Constructor for class org.fuin.ddd4j.core.JandexEntityIdFactory
Constructor with classes directories.

K

keyExists(String) - Method in interface org.fuin.ddd4j.core.EncryptedDataService
Determines if a key for the given identifier exists.

L

last() - Method in class org.fuin.ddd4j.core.EntityIdPath
Returns the last entity identifier in the path.
loadFromHistory(List<DomainEvent<?>>) - Method in interface org.fuin.ddd4j.core.AggregateRoot
Loads the aggregate with historic events.
loadFromHistory(DomainEvent<?>...) - Method in interface org.fuin.ddd4j.core.AggregateRoot
Loads the aggregate with historic events.
loadFromHistory(List<DomainEvent<?>>) - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
 
loadFromHistory(DomainEvent<?>...) - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
 

M

markChangesAsCommitted() - Method in class org.fuin.ddd4j.core.AbstractAggregateRoot
 
markChangesAsCommitted() - Method in interface org.fuin.ddd4j.core.AggregateRoot
Clears the internal change list and sets the new version number.
message() - Element in annotation interface org.fuin.ddd4j.core.DomainEventExpectedEntityIdPath
 
message() - Element in annotation interface org.fuin.ddd4j.core.ExpectedEntityIdPath
 
message() - Element in annotation interface org.fuin.ddd4j.core.HasEntityTypeConstant
 
MethodExecutor - Class in org.fuin.ddd4j.core
Lightweight utility class to execute a method using reflection.
MethodExecutor() - Constructor for class org.fuin.ddd4j.core.MethodExecutor
 

O

org.fuin.ddd4j.core - module org.fuin.ddd4j.core
 
org.fuin.ddd4j.core - package org.fuin.ddd4j.core
 

P

parent() - Method in class org.fuin.ddd4j.core.EntityIdPath
Returns the parent path without the last entry.
PATH_SEPARATOR - Static variable in class org.fuin.ddd4j.core.EntityIdPath
Divides the entity identifiers in the path.
payload() - Element in annotation interface org.fuin.ddd4j.core.DomainEventExpectedEntityIdPath
 
payload() - Element in annotation interface org.fuin.ddd4j.core.ExpectedEntityIdPath
 
payload() - Element in annotation interface org.fuin.ddd4j.core.HasEntityTypeConstant
 
put(AggregateRootId, AGGREGATE) - Method in interface org.fuin.ddd4j.core.AggregateCache
Puts an aggregate with the given identifier in the cache.
put(AggregateRootId, AGGREGATE) - Method in class org.fuin.ddd4j.core.AggregateNoCache
 

R

read(ID) - Method in interface org.fuin.ddd4j.core.Repository
Reads the latest version of an aggregate.
read(ID, int) - Method in interface org.fuin.ddd4j.core.Repository
Reads a given version of an aggregate.
remove(AggregateRootId) - Method in interface org.fuin.ddd4j.core.AggregateCache
Removes the aggregate with the given identifier from the cache.
remove(AggregateRootId) - Method in class org.fuin.ddd4j.core.AggregateNoCache
 
Repository<ID extends AggregateRootId,T extends AggregateRoot<ID>> - Interface in org.fuin.ddd4j.core
Repository that supports CRUD operations for an aggregate.
requireArgValid(String, String) - Static method in class org.fuin.ddd4j.core.AggregateRootUuid
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.core.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.core.AggregateVersion
Verifies if the argument is valid and throws an exception if this is not the case.
requireArgValid(EntityIdFactory, String, String) - Static method in interface org.fuin.ddd4j.core.EntityId
Verifies if the argument is valid and throws an exception if this is not the case.
requireArgValid(EntityIdFactory, String, String) - Static method in class org.fuin.ddd4j.core.EntityIdPath
Checks if the argument is a valid email and throws an exception if this is not the case.
rest() - Method in class org.fuin.ddd4j.core.EntityIdPath
Returns the path without the first entry.
rotateKey(String) - Method in interface org.fuin.ddd4j.core.EncryptedDataService
Rotates the existing key by creating a new one as the next version.

S

same(Class<?>[], Class<?>[]) - Method in class org.fuin.ddd4j.core.MethodExecutor
Verifies if both arrays have the same length and types.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.AggregateAlreadyExistsException
Unique short identifier of this exception.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.AggregateDeletedException
Unique short identifier of this exception.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.AggregateNotFoundException
Unique short identifier of this exception.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.AggregateVersionConflictException
Unique short identifier of this exception.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.AggregateVersionNotFoundException
Unique short identifier of this exception.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.DecryptionFailedException
Unique short identifier of this exception.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.DuplicateEncryptionKeyIdException
Unique short identifier of this exception.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.DuplicateEntityException
Unique short identifier of this exception.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.EncryptionKeyIdUnknownException
Unique short identifier of this exception.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.EncryptionKeyVersionUnknownException
Unique short identifier of this exception.
SHORT_ID - Static variable in exception org.fuin.ddd4j.core.EntityNotFoundException
Unique short identifier of this exception.
SHORT_ID_PREFIX - Static variable in class org.fuin.ddd4j.core.Ddd4JUtils
Prefix for unique short identifiers.
size() - Method in class org.fuin.ddd4j.core.EntityIdPath
Returns the number of elements in the path.
StringBasedEntityType - Class in org.fuin.ddd4j.core
Entity type based on a string with a maximum length of 255 characters.
StringBasedEntityType(String) - Constructor for class org.fuin.ddd4j.core.StringBasedEntityType
Constructor with unique name to use.

T

toString() - Method in class org.fuin.ddd4j.core.AggregateRootUuid
 
toString() - Method in class org.fuin.ddd4j.core.EntityIdPath
 
toString() - Method in class org.fuin.ddd4j.core.EventId
 
toString() - Method in class org.fuin.ddd4j.core.EventType
 
toString() - Method in class org.fuin.ddd4j.core.IntegerEntityId
 
toString() - Method in class org.fuin.ddd4j.core.StringBasedEntityType
 
typeConstant(Class<?>) - Method in class org.fuin.ddd4j.core.JandexEntityIdFactory
 

U

update(T) - Method in interface org.fuin.ddd4j.core.Repository
Saves the changes on an aggregate in the repository without any metadata.
update(T, String, Object) - Method in interface org.fuin.ddd4j.core.Repository
Saves the changes on an aggregate in the repository including some metadata.

V

value() - Element in annotation interface org.fuin.ddd4j.core.DomainEventExpectedEntityIdPath
Expected ID types.
value() - Element in annotation interface org.fuin.ddd4j.core.ExpectedEntityIdPath
Expected identifier types.
value() - Element in annotation interface org.fuin.ddd4j.core.HasEntityTypeConstant
Returns the name of a public static constant of type EntityType in the annotated class.
valueOf(EntityIdFactory, String) - Static method in interface org.fuin.ddd4j.core.EntityId
Converts a string into an entity identifier.
valueOf(EntityIdFactory, String) - Static method in class org.fuin.ddd4j.core.EntityIdPath
Converts a given string into an instance of this class.
valueOf(Integer) - Static method in class org.fuin.ddd4j.core.AggregateVersion
Parses a version identifier.
valueOf(String) - Static method in class org.fuin.ddd4j.core.AggregateVersion
Parses a version identifier.
valueOf(String) - Static method in class org.fuin.ddd4j.core.EventId
Converts a string into an entity identifier.
A B C D E F G H I J K L M O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form