public abstract class SpringJoinerRepositoryImpl<T> extends Object implements SpringJoinerRepository<T>
Instance of Joiner must be available in context. JoinerConfiguration can be used
| Constructor and Description |
|---|
SpringJoinerRepositoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<R,U extends T> |
find(JoinerQuery<U,R> request) |
<R,U extends T> |
findOne(JoinerQuery<U,R> request) |
<R,U extends T> |
findPage(JoinerQuery<U,R> request,
org.springframework.data.domain.Pageable pageable)
This "find" method support spring
Pageable and converts result to spring Page |
@Autowired protected Joiner delegate
public <R,U extends T> List<R> find(JoinerQuery<U,R> request)
find in interface JoinerRepository<T>public <R,U extends T> org.springframework.data.domain.Page<R> findPage(JoinerQuery<U,R> request, org.springframework.data.domain.Pageable pageable)
SpringJoinerRepositoryPageable and converts result to spring Page
PageableFeature is used
findPage in interface SpringJoinerRepository<T>R - return typerequest - query requestPageableFeaturepublic <R,U extends T> R findOne(JoinerQuery<U,R> request)
findOne in interface JoinerRepository<T>Copyright © 2018. All rights reserved.