Uses of Class
io.github.jhipster.service.filter.Filter
-
Packages that use Filter Package Description io.github.jhipster.service io.github.jhipster.service.filter Utilities for JPA criteria classes, used for filtering data on the back-end. -
-
Uses of Filter in io.github.jhipster.service
Methods in io.github.jhipster.service with parameters of type Filter Modifier and Type Method Description 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. -
Uses of Filter in io.github.jhipster.service.filter
Subclasses of Filter in io.github.jhipster.service.filter Modifier and Type Class Description classBigDecimalFilterFilter class forBigDecimaltype attributes.classBooleanFilterClass for filtering attributes withBooleantype.classDoubleFilterFilter class forDoubletype attributes.classDurationFilterFilter class forDurationtype attributes.classFloatFilterFilter class forFloattype attributes.classInstantFilterFilter class forInstanttype attributes.classIntegerFilterFilter class forIntegertype attributes.classLocalDateFilterFilter class forLocalDatetype attributes.classLongFilterFilter class forLongtype attributes.classRangeFilter<FIELD_TYPE extends Comparable<? super FIELD_TYPE>>Filter class for Comparable types, where less than / greater than / etc relations could be interpreted.classShortFilterFilter class forShorttype attributes.classStringFilterClass for filtering attributes withStringtype.classUUIDFilterFilter class forUUIDtype attributes.classZonedDateTimeFilterFilter class forZonedDateTimetype attributes.Methods in io.github.jhipster.service.filter that return Filter Modifier and Type Method Description Filter<FIELD_TYPE>Filter. copy()copy.Filter<FIELD_TYPE>Filter. setEquals(FIELD_TYPE equals)Setter for the fieldequals.Filter<FIELD_TYPE>Filter. setIn(List<FIELD_TYPE> in)Setter for the fieldin.Filter<FIELD_TYPE>Filter. setNotEquals(FIELD_TYPE notEquals)Setter for the fieldnotEquals.Filter<FIELD_TYPE>Filter. setNotIn(List<FIELD_TYPE> notIn)Setter for the fieldnotIn.Filter<FIELD_TYPE>Filter. setSpecified(Boolean specified)Setter for the fieldspecified.Constructors in io.github.jhipster.service.filter with parameters of type Filter Constructor Description Filter(Filter<FIELD_TYPE> filter)Constructor for Filter.
-