Uses of Enum
org.apache.cayenne.query.SortOrder
Package
Description
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
-
Uses of SortOrder in org.apache.cayenne.query
Modifier and TypeMethodDescriptionOrdering.getSortOrder()
Returns sort order for this orderingstatic SortOrder
Returns the enum constant of this type with the specified name.static SortOrder[]
SortOrder.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionvoid
SelectQuery.addOrdering
(String sortPathSpec, SortOrder order) Deprecated.Adds ordering specification to this query orderings.Add an ordering on the given property.Add an ordering on the given property.void
Ordering.setSortOrder
(SortOrder order) Sets the sort order for this ordering.