Uses of Class
tech.jhipster.service.filter.Filter
Packages that use Filter
Package
Description
Utilities for JPA criteria classes, used for filtering data on the back-end.
-
Uses of Filter in tech.jhipster.service
Methods in tech.jhipster.service with parameters of type FilterModifier and TypeMethodDescription<X> voidConditionBuilder.buildFilterConditionForField(Filter<X> field, org.springframework.data.relational.core.sql.Column column) Method that takes in a filter field and a column to construct a compounded SQL Condition.protected <OTHER,X> org.springframework.data.jpa.domain.Specification<ENTITY> QueryService.buildReferringEntitySpecification(Filter<X> filter, jakarta.persistence.metamodel.SetAttribute<ENTITY, OTHER> reference, jakarta.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, jakarta.persistence.metamodel.SingularAttribute<? super ENTITY, OTHER> reference, jakarta.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 <OTHER,MISC, X>
org.springframework.data.jpa.domain.Specification<ENTITY>QueryService.buildReferringEntitySpecification(Filter<X> filter, Function<jakarta.persistence.criteria.Root<ENTITY>, jakarta.persistence.criteria.SetJoin<MISC, OTHER>> functionToEntity, Function<jakarta.persistence.criteria.SetJoin<MISC, OTHER>, jakarta.persistence.criteria.Expression<X>> entityToColumn) Helper function to return a specification for filtering on one-to-many or many-to-many reference.Usage:protected <X> org.springframework.data.jpa.domain.Specification<ENTITY>QueryService.buildSpecification(Filter<X> filter, jakarta.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.protected <X> org.springframework.data.jpa.domain.Specification<ENTITY>QueryService.buildSpecification(Filter<X> filter, Function<jakarta.persistence.criteria.Root<ENTITY>, jakarta.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. -
Uses of Filter in tech.jhipster.service.filter
Subclasses of Filter in tech.jhipster.service.filterModifier and TypeClassDescriptionclassFilter class forBigDecimaltype attributes.classClass for filtering attributes withBooleantype.classFilter class forDoubletype attributes.classFilter class forDurationtype attributes.classFilter class forFloattype attributes.classFilter class forInstanttype attributes.classFilter class forIntegertype attributes.classFilter class forLocalDatetype attributes.classFilter 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.classFilter class forShorttype attributes.classClass for filtering attributes withStringtype.classFilter class forUUIDtype attributes.classFilter class forZonedDateTimetype attributes.Methods in tech.jhipster.service.filter that return FilterModifier and TypeMethodDescriptionFilter.copy()copy.Filter.setEquals(FIELD_TYPE equals) Setter for the fieldequals.Filter.setIn(List<FIELD_TYPE> in) Setter for the fieldin.Filter.setNotEquals(FIELD_TYPE notEquals) Setter for the fieldnotEquals.Filter.setNotIn(List<FIELD_TYPE> notIn) Setter for the fieldnotIn.Filter.setSpecified(Boolean specified) Setter for the fieldspecified.Constructors in tech.jhipster.service.filter with parameters of type Filter