- AbstractBaseAssembler<A,D> - Class in org.seedstack.business.api.interfaces.assembler
-
This assembler is intended to be extended by the base assemblers not directly by the users.
- AbstractBaseAssembler() - Constructor for class org.seedstack.business.api.interfaces.assembler.AbstractBaseAssembler
-
- AbstractView<Item> - Class in org.seedstack.business.api.interfaces.view
-
Abstract Class with base building blocs for concrete Views.
- AbstractView(VirtualList<Item>, long, long) - Constructor for class org.seedstack.business.api.interfaces.view.AbstractView
-
This constructor take a list of items that can potentially be huge.
- AbstractView(Result<Item>, long, long) - Constructor for class org.seedstack.business.api.interfaces.view.AbstractView
-
This constructor directly takes a result.
- AbstractView(List<Item>, long, long) - Constructor for class org.seedstack.business.api.interfaces.view.AbstractView
-
Constructor.
- AbstractView(List<Item>, long, long, long, long) - Constructor for class org.seedstack.business.api.interfaces.view.AbstractView
-
Constructor
- AGGREGATE_ROOT - Static variable in class org.seedstack.business.api.DomainSpecifications
-
The aggregate root specification.
- AggregateDeletedEvent - Class in org.seedstack.business.api.domain.events
-
Event fired when a method of a subtype of Repository annotated by @Delete is called.
- AggregateDeletedEvent(Method, Object[], Class<? extends AggregateRoot<?>>) - Constructor for class org.seedstack.business.api.domain.events.AggregateDeletedEvent
-
Constructor.
- AggregateNotFoundException - Exception in org.seedstack.business.api.interfaces.assembler.dsl
-
Indicates that a repository can't find an aggregate root.
- AggregateNotFoundException() - Constructor for exception org.seedstack.business.api.interfaces.assembler.dsl.AggregateNotFoundException
-
Constructor.
- AggregateNotFoundException(String) - Constructor for exception org.seedstack.business.api.interfaces.assembler.dsl.AggregateNotFoundException
-
Constructor with message.
- AggregatePersistedEvent - Class in org.seedstack.business.api.domain.events
-
Event fired when a method of a subtype of Repository annotated by @Persist is called.
- AggregatePersistedEvent(Method, Object[], Class<? extends AggregateRoot<?>>) - Constructor for class org.seedstack.business.api.domain.events.AggregatePersistedEvent
-
Constructor.
- AggregateReadEvent - Class in org.seedstack.business.api.domain.events
-
Event fired when a method of a subtype of Repository annotated by @Read is called.
- AggregateReadEvent(Method, Object[], Class<? extends AggregateRoot<?>>) - Constructor for class org.seedstack.business.api.domain.events.AggregateReadEvent
-
Constructor.
- AggregateRoot<ID> - Interface in org.seedstack.business.api.domain
-
This interface is the parent type for all implementations of AggregateRoot in the Business Framework.
- aggregateRootClass - Variable in class org.seedstack.business.api.domain.BaseRepository
-
- ancestorImplements(Class<?>) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
- ancestorMetaAnnotatedWith(Class<? extends Annotation>) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the candidate or an ancestor is annotated or meta annotated by the given annotation.
- and(Specification<Class<?>>...) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Logical AND between the specifications.
- assemble(AggregateRoot<?>) - Method in interface org.seedstack.business.api.interfaces.assembler.FluentAssembler
-
Assembles an aggregate root.
- assemble(List<? extends AggregateRoot<?>>) - Method in interface org.seedstack.business.api.interfaces.assembler.FluentAssembler
-
Assembles a list of aggregates.
- assembleDtoFromAggregate(A) - Method in interface org.seedstack.business.api.interfaces.assembler.Assembler
-
Creates a new DTO and assemble it from the aggregate.
- assembleDtoFromAggregate(D, A) - Method in interface org.seedstack.business.api.interfaces.assembler.Assembler
-
Updates an existing DTO with a source aggregate root.
- assembleDtoFromAggregate(A) - Method in class org.seedstack.business.api.interfaces.assembler.BaseAssembler
-
This method is used by developers or by the DSL to assemble a new DTO from the given aggregate.
- assembleDtoFromAggregate(D, A) - Method in class org.seedstack.business.api.interfaces.assembler.BaseAssembler
-
- assembleDtoFromAggregate(T) - Method in class org.seedstack.business.api.interfaces.assembler.BaseTupleAssembler
-
This method is used by developers or by
FluentAssembler
to assemble a new DTO from the given aggregate.
- assembleDtoFromAggregate(D, T) - Method in class org.seedstack.business.api.interfaces.assembler.BaseTupleAssembler
-
- AssembleDtoProvider - Interface in org.seedstack.business.api.interfaces.assembler.dsl
-
- AssembleDtosProvider - Interface in org.seedstack.business.api.interfaces.assembler.dsl
-
- AssembleDtosWithQualifierProvider - Interface in org.seedstack.business.api.interfaces.assembler.dsl
-
- AssembleDtoWithQualifierProvider - Interface in org.seedstack.business.api.interfaces.assembler.dsl
-
- ASSEMBLER - Static variable in class org.seedstack.business.api.DomainSpecifications
-
The assembler specification.
- Assembler<A,D> - Interface in org.seedstack.business.api.interfaces.assembler
-
This interface represents the Assembler pattern.
- AssemblerErrorCodes - Enum in org.seedstack.business.api.interfaces.assembler
-
- AssemblerTypes - Enum in org.seedstack.business.api.interfaces.assembler
-
AssemblerTypes regroups all the default assemblers provided by the framework.
- assembleTuple(Tuple) - Method in interface org.seedstack.business.api.interfaces.assembler.FluentAssembler
-
Assembles a tuple of aggregates.
- assembleTuple(List<? extends Tuple>) - Method in interface org.seedstack.business.api.interfaces.assembler.FluentAssembler
-
Assembles a list of tuple of aggregates.
- BaseAggregateEvent - Class in org.seedstack.business.api.domain.events
-
This event is fired each time method from a subtype of Repository annotated with @Read, or
@Delete, or @Persist is called.
- BaseAggregateEvent(Method, Object[], Class<? extends AggregateRoot<?>>) - Constructor for class org.seedstack.business.api.domain.events.BaseAggregateEvent
-
Constructor.
- BaseAggregateEvent.Context - Class in org.seedstack.business.api.domain.events
-
Interception context with the method called and its arguments.
- BaseAggregateRoot<ID> - Class in org.seedstack.business.api.domain
-
This abstract class is the base class of all AggregateRoot in Seed Business Framework.
- BaseAggregateRoot() - Constructor for class org.seedstack.business.api.domain.BaseAggregateRoot
-
- BaseAssembler<A extends AggregateRoot<?>,D> - Class in org.seedstack.business.api.interfaces.assembler
-
This class is the class to be extended by the users in order to create an Assembler.
- BaseAssembler() - Constructor for class org.seedstack.business.api.interfaces.assembler.BaseAssembler
-
Default needed constructor.
- BaseClassSpecifications - Class in org.seedstack.business.api
-
- BaseClassSpecifications() - Constructor for class org.seedstack.business.api.BaseClassSpecifications
-
- BaseEntity<ID> - Class in org.seedstack.business.api.domain
-
This abstract class is the base class for all Entities in Seed Business Framework.
- BaseEntity() - Constructor for class org.seedstack.business.api.domain.BaseEntity
-
- BaseFactory<DO extends DomainObject & Producible> - Class in org.seedstack.business.api.domain
-
This class has to be extended to create a domain factory implementation.
- BaseFactory() - Constructor for class org.seedstack.business.api.domain.BaseFactory
-
- BaseRepository<AGGREGATE extends AggregateRoot<KEY>,KEY> - Class in org.seedstack.business.api.domain
-
This class serves as inheritance base for all repositories.
- BaseRepository() - Constructor for class org.seedstack.business.api.domain.BaseRepository
-
Constructs a base repository.
- BaseRepository(Class<AGGREGATE>, Class<KEY>) - Constructor for class org.seedstack.business.api.domain.BaseRepository
-
Constructs a base repository settings explicitly the aggregate root class and the key class.
- BaseTupleAssembler<T extends org.javatuples.Tuple,D> - Class in org.seedstack.business.api.interfaces.assembler
-
This class is used by developers as bases for Tuple based assemblers.
- BaseTupleAssembler() - Constructor for class org.seedstack.business.api.interfaces.assembler.BaseTupleAssembler
-
Default needed constructor.
- BaseValueObject - Class in org.seedstack.business.api.domain
-
This class is the inheritance base for ValueObject implementations.
- BaseValueObject() - Constructor for class org.seedstack.business.api.domain.BaseValueObject
-
- BusinessElement - Annotation Type in org.seedstack.business.api
-
Marks all business annotations or types.
- ChunkedView<T> - Class in org.seedstack.business.api.interfaces.view
-
A chunked view is an arbitrary portion of result organized in
arbitrary chunk.
- ChunkedView(Result<T>, long, long) - Constructor for class org.seedstack.business.api.interfaces.view.ChunkedView
-
Constructor.
- ChunkedView(List<T>, long, long) - Constructor for class org.seedstack.business.api.interfaces.view.ChunkedView
-
Constructor.
- classAnnotatedWith(Class<? extends Annotation>) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
- classConstructorIsPublic() - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
- classHasOnlyPackageViewSetters() - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the candidate has only setters with the visibility package.
- classHasSetters() - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the candidate has at least one setter.
- classHasSuperInterfaces() - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the candidate has interface.
- CLASSIC_ASSEMBLER - Static variable in class org.seedstack.business.api.DomainSpecifications
-
The assembler specification matching only the classic assembler, i.e. non-default assemblers.
- classInherits(Class<?>) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the candidate inherits from the given class.
- classIs(Class<?>) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
- classIsAbstract() - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the class is abstract.
- classIsAnnotation() - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the class is an annotation
- classIsIn(Collection<Class<?>>) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
- classIsInterface() - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the candidate is an interface.
- classIsNot(Class<?>) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the candidate equals to the given class.
- classMetaAnnotatedWith(Class<? extends Annotation>) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the candidate is annotated or meta annotated by the given annotation.
- classModifierIs(int) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
- classOfTuple(List<?>) - Static method in class org.seedstack.business.api.Tuples
-
- classOfTuple(Object...) - Static method in class org.seedstack.business.api.Tuples
-
Finds for a list of object the associated tuple class, eg. a Pair for a list of two object and a Triplet for a list of three.
- compareTo(BaseValueObject) - Method in class org.seedstack.business.api.domain.BaseValueObject
-
- create(Object...) - Method in interface org.seedstack.business.api.domain.Factory
-
creates a domain object.
- Create - Annotation Type in org.seedstack.business.api.domain.stereotypes
-
This annotation indicates a creation.
- create(List<?>) - Static method in class org.seedstack.business.api.Tuples
-
Transforms a list of object into a tuple.
- create(Object, Object...) - Static method in class org.seedstack.business.api.Tuples
-
Transforms an array of object into a tuple.
- createTupleFromList(Object...) - Static method in class org.seedstack.business.api.Tuples
-
- createTupleFromList(List<Object>) - Static method in class org.seedstack.business.api.Tuples
-
- DEFAULT_ASSEMBLER - Static variable in class org.seedstack.business.api.DomainSpecifications
-
The assembler specification matching only the default assemblers.
- DEFAULT_REPOSITORY - Static variable in class org.seedstack.business.api.DomainSpecifications
-
- delete(KEY) - Method in class org.seedstack.business.api.domain.BaseRepository
-
- delete(AGGREGATE) - Method in class org.seedstack.business.api.domain.BaseRepository
-
- delete(K) - Method in interface org.seedstack.business.api.domain.Repository
-
Deletes an aggregate from the persistence by its key.
- delete(A) - Method in interface org.seedstack.business.api.domain.Repository
-
Deletes an aggregate instance from the persistence.
- Delete - Annotation Type in org.seedstack.business.api.domain.stereotypes
-
This annotation indicates a delete operation.
- descendantOf(Class<?>) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
- doAssembleDtoFromAggregate(D, A) - Method in class org.seedstack.business.api.interfaces.assembler.BaseAssembler
-
This method has to be overridden by users to actually assemble the DTO from the aggregate.
- doAssembleDtoFromAggregate(D, T) - Method in class org.seedstack.business.api.interfaces.assembler.BaseTupleAssembler
-
This method has to be overridden by users to actually assembling the DTO from the aggregate.
- doDelete(KEY) - Method in class org.seedstack.business.api.domain.BaseRepository
-
Delegates the delete mechanism to the infrastructure.
- doDelete(AGGREGATE) - Method in class org.seedstack.business.api.domain.BaseRepository
-
Delegates the delete mechanism to the infrastructure.
- doLoad(KEY) - Method in class org.seedstack.business.api.domain.BaseRepository
-
Delegates the load mechanism to the infrastructure.
- DomainAggregateRoot - Annotation Type in org.seedstack.business.api.domain
-
This annotation tells the Framework that the current class is candidate to be
an aggregate root.
- DomainElement - Annotation Type in org.seedstack.business.api.domain
-
DomainElement marks all domain annotations or types
- DomainEntity - Annotation Type in org.seedstack.business.api.domain
-
This annotation tells the Business Framework that the current class is candidate to be an entity from DDD approach.
- DomainErrorCodes - Enum in org.seedstack.business.api.domain
-
- DomainEvent - Class in org.seedstack.business.api.domain.events
-
BaseEvent is the abstract class to extend to create an event.
- DomainEvent() - Constructor for class org.seedstack.business.api.domain.events.DomainEvent
-
- DomainFactory - Annotation Type in org.seedstack.business.api.domain
-
- DomainObject - Interface in org.seedstack.business.api.domain
-
DomainObject is an interface implemented by all domain object
- DomainPolicy - Annotation Type in org.seedstack.business.api.domain
-
This annotation is a marker for a domain policy interface.
- DomainRepository - Annotation Type in org.seedstack.business.api.domain
-
This annotation marks its annotated interface as a domain repository for the framework.
- DomainSpecifications - Class in org.seedstack.business.api
-
This class provides all the specifications use by the business plugins.
- DomainValueObject - Annotation Type in org.seedstack.business.api.domain
-
This annotation marks its annotated interface as a domain value object for the framework.
- doMergeAggregateWithDto(A, D) - Method in class org.seedstack.business.api.interfaces.assembler.BaseAssembler
-
This method has to be overridden by users to actually merge an aggregate with the DTO.
- doMergeAggregateWithDto(T, D) - Method in class org.seedstack.business.api.interfaces.assembler.BaseTupleAssembler
-
This method has to be overridden by users to actually merge an aggregate with the DTO.
- doPersist(AGGREGATE) - Method in class org.seedstack.business.api.domain.BaseRepository
-
Delegates the persist mechanism to the infrastructure.
- doSave(AGGREGATE) - Method in class org.seedstack.business.api.domain.BaseRepository
-
Delegates the save mechanism to the infrastructure.
- DTO_OF - Static variable in class org.seedstack.business.api.DomainSpecifications
-
The specification for the dtos which require an default assembler to be bound.
- dtoClass - Variable in class org.seedstack.business.api.interfaces.assembler.AbstractBaseAssembler
-
- DtoOf - Annotation Type in org.seedstack.business.api.interfaces.assembler
-
This annotation is used to indicate to the default assembler
the aggregate classes into which this dto should assemble.
- Factory<DO extends DomainObject & Producible> - Interface in org.seedstack.business.api.domain
-
- FACTORY - Static variable in class org.seedstack.business.api.DomainSpecifications
-
The domain factory specification.
- fieldDeepAnnotatedWith(Class<? extends Annotation>) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Checks if the candidate has one field annotated or meta annotated by the given annotation.
- find(Range, Criteria) - Method in interface org.seedstack.business.api.interfaces.finder.RangeFinder
-
Find items according a range and a criteria.
- FINDER - Static variable in class org.seedstack.business.api.DomainSpecifications
-
The finder service specification.
- Finder - Annotation Type in org.seedstack.business.api.interfaces.finder
-
This annotation is the interface marker for a Finder in SEED.
- fire(E) - Method in interface org.seedstack.business.api.EventService
-
Fires an event.
- FluentAssembler - Interface in org.seedstack.business.api.interfaces.assembler
-
FluentAssembler provides the entry point for the assembler DSL.
- fromFactory() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeAggregatesWithRepoProvider
-
Create the aggregates from their factory.
- fromFactory() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeAggregateWithRepositoryProvider
-
Create the aggregate from its factory.
- fromFactory() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeTuplesWithRepositoryProvider
-
Create the aggregate root tuples from their factory.
- fromFactory() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeTupleWithRepositoryProvider
-
Create the aggregate root tuple from their factory.
- fromRepository() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeAggregatesWithRepoProvider
-
Loads the aggregates from their repository.
- fromRepository() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeAggregateWithRepositoryProvider
-
Loads the aggregate from its repository.
- fromRepository() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeTuplesWithRepositoryProvider
-
Loads the aggregate root tuples from their repository.
- fromRepository() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeTupleWithRepositoryProvider
-
Loads the aggregate root tuple from their repository.
- or(Specification<Class<?>>...) - Static method in class org.seedstack.business.api.BaseClassSpecifications
-
Logical OR between the specifications.
- orFail() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeAggregatesWithRepoThenFactProvider
-
Returns the aggregate roots or throws an AggregateNotFoundException
if one of the aggregate roots cannot be loaded from their repository.
- orFail() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeAggregateWithRepositoryThenFactoryProvider
-
Returns the aggregate root or throws an AggregateNotFoundException
if the aggregate root cannot be loaded from the repository.
- orFail() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeTuplesWithRepositoryThenFactoryProvider
-
Returns the aggregate root tuples or throws an AggregateNotFoundException
if the one of the aggregate roots cannot be loaded from their repository.
- orFail() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeTupleWithRepositoryThenFactoryProvider
-
Returns the aggregate root tuple or throws an AggregateNotFoundException
if the one of the aggregate roots cannot be loaded from their repository.
- orFromFactory() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeAggregatesWithRepoThenFactProvider
-
Returns the aggregate roots.
- orFromFactory() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeAggregateWithRepositoryThenFactoryProvider
-
Returns the aggregate root.
- orFromFactory() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeTuplesWithRepositoryThenFactoryProvider
-
Returns the aggregate root tuples.
- orFromFactory() - Method in interface org.seedstack.business.api.interfaces.assembler.dsl.MergeTupleWithRepositoryThenFactoryProvider
-
Returns the aggregate root tuple.
- org.seedstack.business.api - package org.seedstack.business.api
-
Provides general APIs of the Business Framework.
- org.seedstack.business.api.domain - package org.seedstack.business.api.domain
-
Provides classes for the domain layer.
- org.seedstack.business.api.domain.events - package org.seedstack.business.api.domain.events
-
Contains all the domain events provided by the framework.
- org.seedstack.business.api.domain.identity - package org.seedstack.business.api.domain.identity
-
Contains classes related to the entity identity creation.
- org.seedstack.business.api.domain.stereotypes - package org.seedstack.business.api.domain.stereotypes
-
Contains annotations representing intents.
- org.seedstack.business.api.interfaces - package org.seedstack.business.api.interfaces
-
Provides classes for the interface layer.
- org.seedstack.business.api.interfaces.assembler - package org.seedstack.business.api.interfaces.assembler
-
Contains all the classes related to the assembly pattern.
- org.seedstack.business.api.interfaces.assembler.dsl - package org.seedstack.business.api.interfaces.assembler.dsl
-
Provides classes specific to the assembler DSL.
- org.seedstack.business.api.interfaces.finder - package org.seedstack.business.api.interfaces.finder
-
Provides classes for CQRS-style queries.
- org.seedstack.business.api.interfaces.view - package org.seedstack.business.api.interfaces.view
-
Provides classes for representing view concepts like chunk or page.
- org.seedstack.business.spi - package org.seedstack.business.spi
-
Provides all the classes available to extend the API.
- VALUE_OBJECT - Static variable in class org.seedstack.business.api.DomainSpecifications
-
The domain value objects specification.
- ValueObject - Interface in org.seedstack.business.api.domain
-
A value object, as described in the DDD book.
- valueOf(String) - Static method in enum org.seedstack.business.api.domain.DomainErrorCodes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.seedstack.business.api.domain.events.EventErrorCodes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.seedstack.business.api.domain.identity.IdentityErrorCodes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.seedstack.business.api.interfaces.assembler.AssemblerErrorCodes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.seedstack.business.api.interfaces.assembler.AssemblerTypes
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.seedstack.business.api.domain.DomainErrorCodes
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.seedstack.business.api.domain.events.EventErrorCodes
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.seedstack.business.api.domain.identity.IdentityErrorCodes
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.seedstack.business.api.interfaces.assembler.AssemblerErrorCodes
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.seedstack.business.api.interfaces.assembler.AssemblerTypes
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- View<Item> - Interface in org.seedstack.business.api.interfaces.view
-
View is a viewpoint of an already Result list.