Interface GenericSearchSortCriterion

All Known Implementing Classes:
AttributeSortCriterion

public interface GenericSearchSortCriterion
The interface GenericSearchSortCriterion. Contains method to create criterions for generic search.
  • Method Summary

    Modifier and Type
    Method
    Description
    createOrderBy(GenericQuery query, boolean asc)
    Creates the order by search criterion that contains information about field and direction of ordering search result.
  • Method Details

    • createOrderBy

      GenericSearchOrderBy createOrderBy(GenericQuery query, boolean asc)
      Creates the order by search criterion that contains information about field and direction of ordering search result.
      Parameters:
      query - the query to create order by criterion for
      asc - if set to true order by will be created as ascending
      Returns:
      the object that holds information about field and direction of ordering