Package com.adobe.granite.haf.api
Interface OrderByDetails
-
public interface OrderByDetailsAn interface providing the ordering details for paginated requests. Ordering consists of a field to order by, as well as the direction to ordering should be applied.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetField()The name of the field the results should be ordered on.SortOrdergetSortOrder()The direction the ordering should be applied.
-
-
-
Method Detail
-
getField
java.lang.String getField()
The name of the field the results should be ordered on.- Returns:
- The field name.
-
getSortOrder
SortOrder getSortOrder()
The direction the ordering should be applied.- Returns:
- The direction.
-
-