Uses of Interface
org.fuin.ddd4j.core.AggregateRootId
-
Uses of AggregateRootId in org.fuin.ddd4j.core
Classes in org.fuin.ddd4j.core with type parameters of type AggregateRootIdModifier and TypeClassDescriptionclassAbstractAggregateRoot<ID extends AggregateRootId>Base class for aggregate roots.classAbstractEntity<ROOT_ID extends AggregateRootId,ROOT extends AbstractAggregateRoot<ROOT_ID>, ID extends EntityId> Base class for entities.interfaceAggregateRoot<ID extends AggregateRootId>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.interfaceRepository<ID extends AggregateRootId,T extends AggregateRoot<ID>> Repository that supports CRUD operations for an aggregate.Classes in org.fuin.ddd4j.core that implement AggregateRootIdMethods in org.fuin.ddd4j.core with parameters of type AggregateRootIdModifier and TypeMethodDescriptionAggregateCache.get(@NotNull AggregateRootId aggregateId, Integer version) Tries to read the aggregate with the given identifier from the cache.final AGGREGATEAggregateNoCache.get(AggregateRootId aggregateId, Integer version) voidAggregateCache.put(@NotNull AggregateRootId aggregateId, AGGREGATE aggregate) Puts an aggregate with the given identifier in the cache.voidAggregateNoCache.put(AggregateRootId aggregateId, AGGREGATE aggregate) voidAggregateCache.remove(@NotNull AggregateRootId aggregateId) Removes the aggregate with the given identifier from the cache.final voidAggregateNoCache.remove(AggregateRootId aggregateId) Constructors in org.fuin.ddd4j.core with parameters of type AggregateRootIdModifierConstructorDescriptionAbstractAggregateException(@NotEmpty String message, @NotNull EntityType type, @NotNull AggregateRootId id) Constructor with strongly typed data.AbstractVersionedAggregateException(@NotEmpty String message, @NotNull EntityType type, @NotNull AggregateRootId id, int version) Constructor with strongly typed data.AggregateAlreadyExistsException(@NotNull EntityType type, @NotNull AggregateRootId id, int version) Constructor with typed data.AggregateDeletedException(@NotNull EntityType type, @NotNull AggregateRootId id) Constructor with all data.AggregateNotFoundException(@NotNull EntityType type, @NotNull AggregateRootId id) Constructor with all data.AggregateVersionConflictException(@NotNull EntityType type, @NotNull AggregateRootId id, int expected, int actual) Constructor with all data.AggregateVersionNotFoundException(@NotNull EntityType type, @NotNull AggregateRootId id, int version) Constructor with all data.