| Package | Description |
|---|---|
| io.github.jhipster.service | |
| io.github.jhipster.service.filter |
Utilities for JPA criteria classes, used for filtering data on the back-end.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.jpa.domain.Specification<ENTITY> |
QueryService.buildSpecification(StringFilter filter,
Function<javax.persistence.criteria.Root<ENTITY>,javax.persistence.criteria.Expression<String>> metaclassFunction)
Helper function to return a specification for filtering on a
String field, where equality, containment,
and null/non-null conditions are supported. |
protected org.springframework.data.jpa.domain.Specification<ENTITY> |
QueryService.buildStringSpecification(StringFilter filter,
javax.persistence.metamodel.SingularAttribute<? super ENTITY,String> field)
Helper function to return a specification for filtering on a
String field, where equality, containment,
and null/non-null conditions are supported. |
| Modifier and Type | Method and Description |
|---|---|
StringFilter |
StringFilter.setContains(String contains) |
Copyright © 2019 JHipster. All rights reserved.