Class ExchangeSpecifications

java.lang.Object
com.bluebell.greenhouse.radicle.specifications.exchange.ExchangeSpecifications

public final class ExchangeSpecifications extends Object
Specification definitions for Exchange search filters.
Version:
2.0.4
Author:
Stephen Prizio
  • Method Details

    • hasCountry

      public static org.springframework.data.jpa.domain.Specification<Exchange> hasCountry(Country country)
      Filters by Country.
      Parameters:
      country - Country
      Returns:
      Specification
    • hasCurrency

      public static org.springframework.data.jpa.domain.Specification<Exchange> hasCurrency(Currency currency)
      Filters by Currency.
      Parameters:
      currency - Currency
      Returns:
      Specification
    • matchesQuery

      public static org.springframework.data.jpa.domain.Specification<Exchange> matchesQuery(String query)
      Filters by a free-text query across the exchange's searchable attributes.
      Parameters:
      query - free-text query
      Returns:
      Specification