Package | Description |
---|---|
org.seedstack.business.domain |
Provides classes, interfaces and annotations for building the domain layer.
|
org.seedstack.business.pagination.dsl |
Provides a fluent DSL to paginate domain objects.
|
org.seedstack.business.util.inmemory |
Provides in-memory implementations of some business concepts.
|
org.seedstack.crud.rest | |
org.seedstack.jpa |
Provides classes to use JPA with Seed and the Business Framework.
|
org.seedstack.jpa.spi | |
org.seedstack.mongodb.morphia |
Modifier and Type | Class and Description |
---|---|
class |
BaseRepository<A extends AggregateRoot<I>,I>
An helper base class that can be extended to create an implementation of a
repository interface which, in turn, must extend
Repository . |
Modifier and Type | Method and Description |
---|---|
<R extends Repository<A,I>,A extends AggregateRoot<I>,I> |
DomainRegistry.getRepository(Type repositoryType)
Get a
Repository from the domain. |
<R extends Repository<A,I>,A extends AggregateRoot<I>,I> |
DomainRegistry.getRepository(Type repositoryType,
Class<? extends Annotation> qualifier)
Get a
Repository from the domain. |
<R extends Repository<A,I>,A extends AggregateRoot<I>,I> |
DomainRegistry.getRepository(Type repositoryType,
String qualifier)
Get a
Repository from the domain. |
Modifier and Type | Method and Description |
---|---|
<A extends AggregateRoot<I>,I> |
DomainRegistry.getRepository(Class<A> aggregateRootClass,
Class<I> idClass)
Get the
Repository for an aggregate root. |
<A extends AggregateRoot<I>,I> |
DomainRegistry.getRepository(Class<A> aggregateRootClass,
Class<I> idClass,
Class<? extends Annotation> qualifier)
Get the
Repository for an aggregate root and a qualifier. |
<A extends AggregateRoot<I>,I> |
DomainRegistry.getRepository(Class<A> aggregateRootClass,
Class<I> idClass,
String qualifier)
Get the
Repository for an aggregate root and a qualifier. |
Modifier and Type | Method and Description |
---|---|
<A extends AggregateRoot<I>,I> |
Paginator.paginate(Repository<A,I> repository)
Initiate a pagination operation using the specified repository.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseInMemoryRepository<A extends AggregateRoot<I>,I>
An helper base class that can be extended to create an in-memory
implementation of a
Repository . |
class |
DefaultInMemoryRepository<A extends AggregateRoot<I>,I>
Default repository implementation for in-memory persistence.
|
Modifier and Type | Method and Description |
---|---|
Repository<A,I> |
Resource.getRepository()
Returns the repository where to find aggregates managed by the resource.
|
Repository<A,I> |
BaseResource.getRepository() |
Modifier and Type | Class and Description |
---|---|
class |
BaseJpaRepository<A extends AggregateRoot<I>,I>
This class can serve as a base class for the JPA repositories.
|
Modifier and Type | Method and Description |
---|---|
<A extends AggregateRoot<I>,I> |
JpaRepositoryFactory.createRepository(Class<A> aggregateRootClass,
Class<I> identifierClass) |
Modifier and Type | Class and Description |
---|---|
class |
BaseMorphiaRepository<A extends AggregateRoot<ID>,ID>
This class can serve as a base class for Morphia repositories.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.