Package | Description |
---|---|
org.springframework.data.rest.core.config |
Modifier and Type | Method and Description |
---|---|
<T,ID,R extends Repository<T,?>> |
EntityLookupRegistrar.forRepository(Class<R> type,
Converter<T,ID> identifierMapping,
EntityLookupRegistrar.LookupRegistrar.Lookup<R,ID> lookup)
Registers an
EntityLookup for the given repository type, identifier mapping and lookup operation. |
<T,ID,R extends Repository<T,?>> |
EntityLookupRegistrar.forValueRepository(Class<R> type,
Converter<T,ID> identifierMapping,
EntityLookupRegistrar.LookupRegistrar.Lookup<R,ID> lookup)
Registers an
EntityLookup for the given repository type, identifier mapping and lookup operation and
registers the domain type managed by the given repository as lookup type. |
EntityLookupRegistrar |
RepositoryRestConfiguration.withEntityLookup()
Returns the
EntityLookupRegistrar to create custom EntityLookup instances registered in the
configuration. |
EntityLookupRegistrar |
EntityLookupRegistrar.LookupRegistrar.withLookup(EntityLookupRegistrar.LookupRegistrar.Lookup<R,ID> lookup)
Registers the given
EntityLookupRegistrar.LookupRegistrar.Lookup to obtain entity instances. |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.