|
Spring Data Jpa | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Specification | |
---|---|
org.springframework.data.jpa.domain | JPA specific support classes to implement domain classes. |
org.springframework.data.jpa.repository | Interfaces and annotations for JPA specific repositories. |
org.springframework.data.jpa.repository.support | JPA repository implementations. |
Uses of Specification in org.springframework.data.jpa.domain |
---|
Classes in org.springframework.data.jpa.domain that implement Specification | |
---|---|
class |
Specifications<T>
Helper class to easily combine Specification instances. |
Methods in org.springframework.data.jpa.domain with parameters of type Specification | ||
---|---|---|
Specifications<T> |
Specifications.and(Specification<T> other)
ANDs the given Specification to the current one. |
|
static
|
Specifications.not(Specification<T> spec)
Negates the given Specification . |
|
Specifications<T> |
Specifications.or(Specification<T> other)
ORs the given specification to the current one. |
|
static
|
Specifications.where(Specification<T> spec)
Simple static factory method to add some syntactic sugar around a Specification . |
Uses of Specification in org.springframework.data.jpa.repository |
---|
Methods in org.springframework.data.jpa.repository with parameters of type Specification | |
---|---|
List<T> |
JpaRepository.findAll(Specification<T> spec)
Returns all entities matching the given Specification . |
org.springframework.data.domain.Page<T> |
JpaRepository.findAll(Specification<T> spec,
org.springframework.data.domain.Pageable pageable)
Returns a Page of entities matching the given
Specification . |
T |
JpaRepository.findOne(Specification<T> spec)
Returns a single entity matching the given Specification . |
Uses of Specification in org.springframework.data.jpa.repository.support |
---|
Methods in org.springframework.data.jpa.repository.support with parameters of type Specification | |
---|---|
List<T> |
SimpleJpaRepository.findAll(Specification<T> spec)
|
org.springframework.data.domain.Page<T> |
SimpleJpaRepository.findAll(Specification<T> spec,
org.springframework.data.domain.Pageable pageable)
|
T |
SimpleJpaRepository.findOne(Specification<T> spec)
|
|
Spring Data Jpa | |||||||||
PREV NEXT | FRAMES NO FRAMES |