Interface Sorting
- All Known Implementing Classes:
SortingParser.SortImpl
public interface Sorting
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Impl note: unfortunately we don't have access to ch.tocco.nice2.persist.query.Ordering.Direction here.
-
Method Details
-
isAscending
boolean isAscending()Impl note: unfortunately we don't have access to ch.tocco.nice2.persist.query.Ordering.Direction here.- Returns:
- True if ascending-sorted, false if descending-sorted.
-
getOrderItem
String getOrderItem()- Returns:
- The order-item. Can be a field or a path through relations going to a field.
-