Class ExtensionQuery.SortClause
- java.lang.Object
-
- org.xwiki.extension.repository.search.ExtensionQuery.SortClause
-
- Enclosing class:
- ExtensionQuery
public static class ExtensionQuery.SortClause extends Object
The sort criteria.- Version:
- $Id: 5af22c7e170f583a271af41a812636819409b36c $
-
-
Constructor Summary
Constructors Constructor Description SortClause(String field, ExtensionQuery.ORDER order)
-
-
-
Constructor Detail
-
SortClause
public SortClause(String field, ExtensionQuery.ORDER order)
- Parameters:
field
- the name of the fieldorder
- the order in which extensions should be sorted
-
-
Method Detail
-
getField
public String getField()
- Returns:
- the name of the field
-
getOrder
public ExtensionQuery.ORDER getOrder()
- Returns:
- the order in which extensions should be sorted.
-
-