Class SearchSpecification<T>

  • All Implemented Interfaces:
    Serializable, org.springframework.data.jpa.domain.Specification<T>

    public class SearchSpecification<T>
    extends Object
    implements org.springframework.data.jpa.domain.Specification<T>
    See Also:
    Serialized Form
    • Method Summary

      Modifier and Type Method Description
      javax.persistence.criteria.Predicate toPredicate​(javax.persistence.criteria.Root<T> root, javax.persistence.criteria.CriteriaQuery<?> query, javax.persistence.criteria.CriteriaBuilder criteriaBuilder)  
      • Methods inherited from interface org.springframework.data.jpa.domain.Specification

        and, or
    • Constructor Detail

      • SearchSpecification

        public SearchSpecification()
    • Method Detail

      • toPredicate

        public javax.persistence.criteria.Predicate toPredicate​(javax.persistence.criteria.Root<T> root,
                                                                javax.persistence.criteria.CriteriaQuery<?> query,
                                                                javax.persistence.criteria.CriteriaBuilder criteriaBuilder)
        Specified by:
        toPredicate in interface org.springframework.data.jpa.domain.Specification<T>