| Package | Description |
|---|---|
| com.mmnaseri.utils.spring.data.dsl.factory |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DataFunctions
This interface lets us tell the builder how the data functions should be configured
|
interface |
DataFunctionsAnd
This interface lets you add additional functions
|
interface |
DataStores
Lets us change the data store and the data store registry
|
interface |
DataStoresAnd
Lets us add another data store
|
interface |
FallbackKeyGenerator |
interface |
MappingContext
Lets us configure the type mapping
|
interface |
MappingContextAnd
Lets us register additional mappings
|
interface |
MetadataResolver
This interface allows us to set what resolver is used for resolving repository
metadata
|
interface |
OperationHandlers
Lets us define the operation handlers
|
interface |
OperationHandlersAnd
Lets us define an extra operation handler
|
interface |
Operators
This interface lets us define the operators that are used when extracting query descriptions
|
interface |
OperatorsAnd
This is a conjunction that let's us define an additional operator to register
|
interface |
QueryDescription
This interface lets us define the query description extractor
|
interface |
QueryDescriptionConfigurer
This interface creates a branch in the grammar that lets you either configure the
operators or the query description extractor.
|
interface |
ResultAdapters |
interface |
ResultAdaptersAnd
Lets us register an additional result adapter
|
interface |
Start
This interface is used as the starting point of the DSL grammar for creating a repository factory and
later mocking objects through that repository.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RepositoryFactoryBuilder
This class implements the DSL used to configure and build a repository factory object.
|
| Modifier and Type | Method and Description |
|---|---|
EventListener |
RepositoryFactoryBuilder.enableAuditing() |
EventListener |
RepositoryFactoryBuilder.enableAuditing(org.springframework.data.domain.AuditorAware auditorAware) |
EventListener |
FallbackKeyGenerator.withDefaultKeyGenerator(KeyGenerator<? extends Serializable> keyGenerator)
Sets up a default key generator that would be used as a fallback if no key generation scheme is specified for the
repository
|
EventListener |
RepositoryFactoryBuilder.withDefaultKeyGenerator(KeyGenerator<? extends Serializable> keyGenerator) |
EventListener |
RepositoryFactoryBuilder.withMappings(TypeMappingContext context) |
EventListener |
MappingContext.withMappings(TypeMappingContext context)
Tells the builder to use the provided context
|
Copyright © 2014–2016. All rights reserved.