Interface GenericSearchSortCriterion
-
- All Known Implementing Classes:
AttributeSortCriterion
public interface GenericSearchSortCriterionThe interface GenericSearchSortCriterion. Contains method to create criterions for generic search.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenericSearchOrderBycreateOrderBy(GenericQuery query, boolean asc)Creates the order by search criterion that contains information about field and direction of ordering search result.
-
-
-
Method Detail
-
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 forasc- if set to true order by will be created as ascending- Returns:
- the object that holds information about field and direction of ordering
-
-