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 TypeMethodDescriptioncreateOrderBy(GenericQuery query, boolean asc) Creates the order by search criterion that contains information about field and direction of ordering search result.
-
Method Details
-
createOrderBy
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
-