Class SpringDataJpaLazyDataModel.FilterMetaSpecification<T>

java.lang.Object
org.joinfaces.primefaces.SpringDataJpaLazyDataModel.FilterMetaSpecification<T>
All Implemented Interfaces:
Serializable, org.springframework.data.jpa.domain.Specification<T>
Enclosing class:
SpringDataJpaLazyDataModel<T,ID,R extends org.springframework.data.jpa.repository.JpaRepository<T,ID> & org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>>

public static class SpringDataJpaLazyDataModel.FilterMetaSpecification<T> extends Object implements org.springframework.data.jpa.domain.Specification<T>
See Also:
  • Constructor Details

    • FilterMetaSpecification

      public FilterMetaSpecification(org.primefaces.model.FilterMeta filterMeta)
  • Method Details

    • toPredicate

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

      protected <P> Path<P> getPath(Root<T> root, String key)
    • convertToDate

      protected static Date convertToDate(Temporal temporal)
    • convertToDate

      protected static Date convertToDate(LocalDate localDate)
    • convertToDate

      protected static Date convertToDate(LocalDateTime localDateTime)
    • convertToDate

      protected static Date convertToDate(ZonedDateTime zonedDateTime)
    • convertToDate

      protected static Date convertToDate(Instant instant)