Package no.acntech.kollectiveq
Class Sorting
-
- All Implemented Interfaces:
public final class Sorting
Sorting class for building sort criteria from a string.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Sorting.SortCriterion
public enum
Sorting.Direction
public class
Sorting.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static String
QUERY_PARAM
private final List<Sorting.SortCriterion>
criteria
public final static Sorting.Companion
Companion
-
Constructor Summary
Constructors Constructor Description Sorting(List<Sorting.SortCriterion> criteria)
-
Method Summary
Modifier and Type Method Description final List<Sorting.SortCriterion>
getCriteria()
final Unit
accept(SortingVisitor visitor)
final String
asString()
final String
toHttpQueryParameter()
-
-
Constructor Detail
-
Sorting
Sorting(List<Sorting.SortCriterion> criteria)
-
-
Method Detail
-
getCriteria
final List<Sorting.SortCriterion> getCriteria()
-
accept
final Unit accept(SortingVisitor visitor)
-
toHttpQueryParameter
final String toHttpQueryParameter()
-
-
-
-