protected <OTHER,MISC,X> org.springframework.data.jpa.domain.Specification<ENTITY> |
QueryService.buildReferringEntitySpecification(Filter<X> filter,
Function<javax.persistence.criteria.Root<ENTITY>,javax.persistence.criteria.SetJoin<MISC,OTHER>> functionToEntity,
Function<javax.persistence.criteria.SetJoin<MISC,OTHER>,javax.persistence.criteria.Expression<X>> entityToColumn) |
Helper function to return a specification for filtering on one-to-many or many-to-many reference.Usage:
|
protected <OTHER,X> org.springframework.data.jpa.domain.Specification<ENTITY> |
QueryService.buildReferringEntitySpecification(Filter<X> filter,
javax.persistence.metamodel.SetAttribute<ENTITY,OTHER> reference,
javax.persistence.metamodel.SingularAttribute<OTHER,X> valueField) |
Helper function to return a specification for filtering on one-to-many or many-to-many reference.
|
protected <OTHER,X> org.springframework.data.jpa.domain.Specification<ENTITY> |
QueryService.buildReferringEntitySpecification(Filter<X> filter,
javax.persistence.metamodel.SingularAttribute<? super ENTITY,OTHER> reference,
javax.persistence.metamodel.SingularAttribute<? super OTHER,X> valueField) |
Helper function to return a specification for filtering on one-to-one or many-to-one reference.
|
protected <X> org.springframework.data.jpa.domain.Specification<ENTITY> |
QueryService.buildSpecification(Filter<X> filter,
Function<javax.persistence.criteria.Root<ENTITY>,javax.persistence.criteria.Expression<X>> metaclassFunction) |
Helper function to return a specification for filtering on a single field, where equality, and null/non-null
conditions are supported.
|
protected <X> org.springframework.data.jpa.domain.Specification<ENTITY> |
QueryService.buildSpecification(Filter<X> filter,
javax.persistence.metamodel.SingularAttribute<? super ENTITY,X> field) |
Helper function to return a specification for filtering on a single field, where equality, and null/non-null
conditions are supported.
|