Package org.cyclos.server.utils
Class SortSpecifier
- java.lang.Object
-
- org.cyclos.server.utils.SortSpecifier
-
public class SortSpecifier extends Object
Specifies a sort property and direction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SortSpecifierasc(com.querydsl.core.types.Path<?> path)Sorts by the given path in ascending orderstatic SortSpecifierasc(Property<?,?> property)Sorts by the given property in ascending orderstatic SortSpecifierdesc(com.querydsl.core.types.Path<?> path)Sorts by the given path in descending orderstatic SortSpecifierdesc(Property<?,?> property)Sorts by the given property in descending orderStringgetProperty()booleanisAscending()StringtoString()
-
-
-
Method Detail
-
asc
public static SortSpecifier asc(com.querydsl.core.types.Path<?> path)
Sorts by the given path in ascending order
-
asc
public static SortSpecifier asc(Property<?,?> property)
Sorts by the given property in ascending order
-
desc
public static SortSpecifier desc(com.querydsl.core.types.Path<?> path)
Sorts by the given path in descending order
-
desc
public static SortSpecifier desc(Property<?,?> property)
Sorts by the given property in descending order
-
getProperty
public String getProperty()
-
isAscending
public boolean isAscending()
-
-