Package | Description |
---|---|
org.springframework.data.rest.core.config |
Modifier and Type | Method and Description |
---|---|
<T,ID extends Serializable,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 extends Serializable,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 |
EntityLookupRegistrar.LookupRegistrar.withLookup(EntityLookupRegistrar.LookupRegistrar.Lookup<R,ID> lookup)
Registers the given
EntityLookupRegistrar.LookupRegistrar.Lookup to obtain entity instances. |
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.