Class SortingParser.SortImpl
java.lang.Object
ch.tocco.nice2.model.base.spi.sorting.SortingParser.SortImpl
- All Implemented Interfaces:
Sorting
- Enclosing class:
SortingParser
-
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
public boolean isAscending()Description copied from interface:Sorting
Impl note: unfortunately we don't have access to ch.tocco.nice2.persist.query.Ordering.Direction here.- Specified by:
isAscending
in interfaceSorting
- Returns:
- True if ascending-sorted, false if descending-sorted.
-
getOrderItem
- Specified by:
getOrderItem
in interfaceSorting
- Returns:
- The order-item. Can be a field or a path through relations going to a field.
-